Repository navigation
Expand file tree
/
Copy pathMMOR.NET.csproj
More file actions
66 lines (66 loc) · 3.13 KB
/
Copy pathMMOR.NET.csproj
File metadata and controls
66 lines (66 loc) · 3.13 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
65
66
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>$([System.IO.File]::ReadAllText($(MSBuildThisFileDirectory)/VERSION.txt).TrimEnd())</Version>
<TargetFrameworks>netstandard2.1;net8.0;net9.0;net10.0</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>
$(NoWarn);
1573; <!-- Missing parameter XML tag -->
1587; <!-- XML comment is not placed on a valid language element -->
1591; <!-- Missing XML comment -->
</NoWarn>
<WarningsAsErrors>
$(WarningAsErrors);
CS8785;
</WarningsAsErrors>
<RestoreUseLegacyDependencyResolver>true</RestoreUseLegacyDependencyResolver>
<SourceRoot>./src</SourceRoot>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<TextTemplateTransformAll>false</TextTemplateTransformAll>
</PropertyGroup>
<ItemGroup>
<Compile Remove="third_party/**"/>
<Content Remove="third_party/**"/>
<None Remove="third_party/**"/>
<Compile Remove="tests/**"/>
<Content Remove="tests/**"/>
<None Remove="tests/**"/>
<Compile Remove="**/*.meta"/>
<Content Remove="**/*.meta"/>
<None Remove="**/*.meta"/>
<PackageReference Include="Newtonsoft.Json" Version="13.0.*"/>
<PackageReference Include="System.Collections.Immutable" Version="[8.0.0,)"/>
<PackageReference Include="PolySharp" Version="1.16.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="T4.Build" Version="0.2.5" PrivateAssets="all"/>
<TextTemplateTransformFiles Include="src/**/*.tt"/>
</ItemGroup>
<ItemGroup Label="NetStandard-Polyfill" Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="Shim.System.Numerics" Version="6.0.0"/>
<ProjectReference Include="./third_party/Bcl.CollectionsMarshal/Bcl.CollectionsMarshal/Bcl.CollectionsMarshal.csproj" PrivateAssets="all"/>
<PackageReference Include="Bcl.CollectionsMarshal" Version="2.1.0.0" Condition="'$(ContinuousIntegrationBuild)'=='true'" PrivateAssets="all"/>
</ItemGroup>
<ItemGroup Label="Roslyn">
<Compile Remove="analyzers/**"/>
<Content Remove="analyzers/**"/>
<None Remove="analyzers/**"/>
<ProjectReference Include="./analyzers/Roslyn/MMOR.Roslyn.csproj" PrivateAssets="all"/>
<ProjectReference Include="./analyzers/SourceGen/MMOR.Roslyn.SourceGen.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
<PackageReference Include="MMOR.Roslyn" Version="*" Condition="'$(ContinuousIntegrationBuild)'=='true'" PrivateAssets="true"/>
</ItemGroup>
<ItemGroup Label="Benchmark">
<!-- Seems like BenchmarkDotNet breaks Artifacts Output -->
<Compile Remove="benchmarks/**"/>
<Content Remove="benchmarks/**"/>
<None Remove="benchmarks/**"/>
<Compile Remove="artifacts/**"/>
<Content Remove="artifacts/**"/>
<None Remove="artifacts/**"/>
</ItemGroup>
</Project>