-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathReactor.Analyzers.csproj
More file actions
38 lines (32 loc) · 1.71 KB
/
Reactor.Analyzers.csproj
File metadata and controls
38 lines (32 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<IsRoslynComponent>true</IsRoslynComponent>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<AssemblyName>Reactor.Analyzers</AssemblyName>
<RootNamespace>Microsoft.UI.Reactor.Analyzers</RootNamespace>
<!-- Bundled into Microsoft.UI.Reactor.nupkg — does not ship as its own
package. See docs/specs/022-packaging-and-distribution.md §5. -->
<IsPackable>false</IsPackable>
<!-- Analyzers are platform-independent netstandard2.0 IL. Without this,
when Reactor.csproj is packed with `-p:Platform=x64` (or ARM64) the
inherited Platform cascades into this transitive build and the
output lands at bin\x64\Debug\netstandard2.0\ — but Reactor.csproj's
<None Include="...\bin\$(Configuration)\netstandard2.0\..."> for
packing the analyzer DLL has no $(Platform) segment and breaks pack
on a clean machine (no prior AnyCPU build to fall back to).
AppendPlatformToOutputPath=false pins us to bin\$(Configuration)\
regardless of inherited Platform. -->
<AppendPlatformToOutputPath>false</AppendPlatformToOutputPath>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.8.0" PrivateAssets="all" />
</ItemGroup>
</Project>