-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
59 lines (52 loc) · 3.08 KB
/
Directory.Build.props
File metadata and controls
59 lines (52 loc) · 3.08 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
<Project>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'System' Or '$(MSBuildProjectName)' == 'Codify.System.Tests'">
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'System.Windows' Or '$(MSBuildProjectName)' == 'Codify.System.Windows.Tests'">
<TargetFramework>net10.0-windows10.0.17763.0</TargetFramework>
<SupportedOSPlatformVersion>10.0.17763.0</SupportedOSPlatformVersion>
<UseWPF>true</UseWPF>
</PropertyGroup>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>10.0-recommended</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Authors>Leon Zhou</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/soleon/Codify</PackageProjectUrl>
<RepositoryUrl>https://github.com/soleon/Codify</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'System' Or '$(MSBuildProjectName)' == 'System.Windows'">
<AssemblyName>Codify.$(MSBuildProjectName)</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<WarningsAsErrors>$(WarningsAsErrors);CS1570;CS1574;CS1584;CS1591;CS1711;CS1723</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Codify.System.Tests' Or '$(MSBuildProjectName)' == 'Codify.System.Windows.Tests'">
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<ItemGroup Condition="'$(MSBuildProjectName)' == 'System' Or '$(MSBuildProjectName)' == 'System.Windows'">
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup Condition="'$(MSBuildProjectName)' == 'Codify.System.Tests' Or '$(MSBuildProjectName)' == 'Codify.System.Windows.Tests'">
<PackageReference Include="coverlet.collector" Version="10.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.5.0" />
<PackageReference Include="xunit.v3" Version="3.2.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(MSBuildProjectName)' == 'Codify.System.Tests' Or '$(MSBuildProjectName)' == 'Codify.System.Windows.Tests'">
<Using Include="Xunit" />
</ItemGroup>
</Project>