Skip to content

Commit ae857c0

Browse files
committed
1) Remove [EventSourceAutoGenerate], we rely on just [EventSource] + no explicit ctors
2) Introduce a new global SourceGenerators - EventSourceGenerator (and move the existing impl from SPC.Generators to this new project) 3) Update slnx files (via the UpdateSolutionFiles task) 4) Migrate all classes with [EventSource] to use the SG. Except for the ones with EtwSelfDescribingEventFormat
1 parent 3948247 commit ae857c0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>netstandard2.0</TargetFramework>
4+
<NoWarn>$(NoWarn);CS3001</NoWarn>
5+
<IsRoslynComponent>true</IsRoslynComponent>
6+
</PropertyGroup>
7+
<PropertyGroup>
8+
<DefineConstants Condition="'$(DotNetFinalVersionKind)' != ''">$(DefineConstants);STABILIZE_PACKAGE_VERSION</DefineConstants>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<Compile Include="EventSourceGenerator.cs" />
13+
<Compile Include="EventSourceGenerator.Emitter.cs" />
14+
<Compile Include="EventSourceGenerator.Parser.cs" />
15+
<Compile Include="$(CoreLibSharedDir)\System\Runtime\CompilerServices\IsExternalInit.cs" Link="Common\System\Runtime\CompilerServices\IsExternalInit.cs" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" Version="$(MicrosoftCodeAnalysisVersion_LatestVS)" />
20+
</ItemGroup>
21+
22+
</Project>

0 commit comments

Comments
 (0)