-
Notifications
You must be signed in to change notification settings - Fork 16
/
Directory.Build.props
55 lines (46 loc) · 2.71 KB
/
Directory.Build.props
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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<PackageOutputPath>$(MsBuildThisFileDirectory)build\packages\</PackageOutputPath>
<OutputPath>bin\$(Configuration)\</OutputPath>
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
<NoWarn>$(NoWarn)1591;</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Must be turned off or publishing from inside VS fails -->
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<!-- Enable central package version feature https://devblogs.microsoft.com/nuget/introducing-central-package-management/ -->
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<!-- This flag causes the generated nuget to take dependencies on all transitive packages and would therefor blow up our zip file (InstallPackages target in Build.cs) -->
<!--<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>-->
<!-- Package properties -->
<Year>$([System.DateTime]::Now.ToString('yyyy'))</Year>
<IncludeFrameworkReferencesInPackage>false</IncludeFrameworkReferencesInPackage>
<Authors>vvvv group</Authors>
<Owners>$(Authors)</Owners>
<Copyright>Copyright © $(Year) by $(Authors). All rights reserved.</Copyright>
<PackageProjectUrl>http://vvvv.org</PackageProjectUrl>
<Product>vvvv</Product>
<PackageIcon>nugeticon.png</PackageIcon>
<!-- Gets overwritten by Nerdbank.GitVersioning (if present). Otherwise it's a good default to avoid assembly manifest load issues. -->
<!-- We should be able to get rid of this once VL.StandardLibs has its own release cycle. -->
<Version>2024.6.4</Version>
</PropertyGroup>
<!-- Read the version information from our private repo (for now) -->
<PropertyGroup Condition="Exists('$(MsBuildThisFileDirectory)..\version.json')">
<GitRepoRoot>$(MSBuildThisFileDirectory)..\</GitRepoRoot>
<!-- https://github.com/dotnet/Nerdbank.GitVersioning/blob/master/doc/msbuild.md -->
<GitVersionBaseDirectory>$(MSBuildThisFileDirectory)..\</GitVersionBaseDirectory>
</PropertyGroup>
<ItemGroup Condition="Exists('$(MsBuildThisFileDirectory)..\version.json')">
<PackageReference Include="Nerdbank.GitVersioning">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<!-- Disable pdb files in Release builds -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugSymbols>false</DebugSymbols>
<DebugType>None</DebugType>
<AllowedReferenceRelatedFileExtensions>.xml</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
</Project>