[ci skip] chore: add meta services

This class library will contain attributes for future source generation.
This commit is contained in:
Oliver Booth 2023-04-06 16:58:32 +01:00
parent 0ca8253402
commit 172380c57d
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
4 changed files with 17 additions and 2 deletions

View File

@ -84,6 +84,7 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\tools\SourceGenerator\SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/> <ProjectReference Include="..\tools\SourceGenerator\SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
<ProjectReference Include="..\tools\X10D.MetaServices\X10D.MetaServices.csproj" PrivateAssets="all"/>
</ItemGroup> </ItemGroup>
<ItemGroup Condition="'$(GITHUB_ACTIONS)' != 'true'"> <ItemGroup Condition="'$(GITHUB_ACTIONS)' != 'true'">

View File

@ -47,8 +47,8 @@ internal sealed class EmojiRegexGenerator : ISourceGenerator
} }
var builder = new StringBuilder(); var builder = new StringBuilder();
builder.AppendLine("// This file was auto-generated by X10D.SourceGenerator"); builder.AppendLine("// This file was auto-generated by the X10D source generator");
builder.AppendLine("// Do not edit this file manually"); builder.AppendLine("// Do not edit this file manually!");
builder.AppendLine(); builder.AppendLine();
builder.AppendLine("using System.Text.RegularExpressions;"); builder.AppendLine("using System.Text.RegularExpressions;");

View File

@ -17,4 +17,8 @@
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
<ItemGroup>
<ProjectReference Include="..\X10D.MetaServices\X10D.MetaServices.csproj" PrivateAssets="all"/>
</ItemGroup>
</Project> </Project>

View File

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>11.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>