Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
61 lines (55 loc) · 2.8 KB
/
Copy pathDirectory.Build.props
File metadata and controls
61 lines (55 loc) · 2.8 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
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup Label="Package metadata">
<Version>5.0.0-rc.1</Version>
<Authors>Dominic Beger</Authors>
<Company>Dominic Beger Software Solutions</Company>
<Copyright>© Dominic Beger 2013-2026</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://www.nupdate.net</PackageProjectUrl>
<RepositoryUrl>https://github.com/dbforge/nUpdate</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>nupdate-icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IsPackable>false</IsPackable>
</PropertyGroup>
<!-- Test projects are recognised by name; they get the test stack and the Microsoft.Testing.Platform runner that global.json selects. -->
<PropertyGroup Label="Test projects" Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<IsTestProject>true</IsTestProject>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<OutputType>Exe</OutputType>
<TestingPlatformCaptureOutput>false</TestingPlatformCaptureOutput>
</PropertyGroup>
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
<PackageReference Include="xunit.v3.mtp-v2"/>
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage"/>
<PackageReference Include="Microsoft.Testing.Extensions.TrxReport"/>
<PackageReference Include="NSubstitute"/>
<PackageReference Include="Shouldly"/>
<PackageReference Include="TestableIO.System.IO.Abstractions.TestingHelpers"/>
<Using Include="NSubstitute"/>
<Using Include="NSubstitute.ExceptionExtensions"/>
<Using Include="Shouldly"/>
<Using Include="Xunit"/>
</ItemGroup>
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<None Include="$(MSBuildThisFileDirectory)assets/nupdate-icon.png" Pack="true" PackagePath="/" Visible="false"/>
<None Include="$(MSBuildThisFileDirectory)docs/nuget/README.md" Pack="true" PackagePath="/" Visible="false"/>
</ItemGroup>
</Project>