Repository navigation
Expand file tree
/
Copy pathNotNot.GodotNet.SourceGen.csproj
More file actions
64 lines (54 loc) · 2.87 KB
/
Copy pathNotNot.GodotNet.SourceGen.csproj
File metadata and controls
64 lines (54 loc) · 2.87 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<Project Sdk="Microsoft.NET.Sdk">
<!--shared common .csproj settings-->
<Import Project="..\..\CommonSettings.targets" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<LangVersion>preview</LangVersion>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<Configurations>Debug;Release;DebugNuget</Configurations>
<InvariantGlobalization>true</InvariantGlobalization>
<!-- Analyzer/source-generator settings -->
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Deterministic>true</Deterministic>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- Ensure analyzer/generator deps are copied to bin for VS MEF resolution when referenced as ProjectReference -->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<Compile Remove="bin\**" />
<EmbeddedResource Remove="bin\**" />
<None Remove="bin\**" />
</ItemGroup>
<!-- Debug configuration -->
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<DebugType>embedded</DebugType>
</PropertyGroup>
<!--LOCAL DEV NOTES: To reference `.csproj`, not Nuget: Add ` OutputItemType="Analyzer" ReferenceOutputAssembly="false"` to the `ProjectReference`-->
<!-- Packing lives in NotNot.GodotNet.SourceGen.Package (the pack-only aggregator). This project ships NO nupkg;
it is consumed as an analyzer/generator ProjectReference and its dll (plus the hoisted System.Text.Json
run-time dependency dlls) is packed by the aggregator. MinVer (assembly versioning) is retained below.
Workspaces + System.Composition moved to NotNot.GodotNet.SourceGen.CodeFixes (they, and the RS1038 trigger,
belong to the Workspaces-dependent CodeFixProviders). -->
<!-- Generator/analyzer compile dependencies (aligned with VS 17.11.x). -->
<ItemGroup>
<!--required for sourcegen + analyzers-->
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="5.0.0-1.25277.114">
<PrivateAssets>all</PrivateAssets>
<!--required so that the .props file is included in the target project build-->
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<!-- Build tools: MinVer drives assembly versioning (the package version is owned by the aggregator's MinVerTagPrefix). -->
<ItemGroup>
<PackageReference Include="MinVer" Version="6.1.0-beta.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>