forked from mellinoe/ShaderGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
36 lines (33 loc) · 1.98 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
<Project>
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<RepositoryRootDirectory>$(MSBuildThisFileDirectory)</RepositoryRootDirectory>
<BinDir>$(RepositoryRootDirectory)bin</BinDir>
<OutputPath>$([System.IO.Path]::GetFullPath('$(RepositoryRootDirectory)bin\$(Configuration)'))\$(MSBuildProjectName)</OutputPath>
<BaseIntermediateOutputPath>$([System.IO.Path]::GetFullPath('$(RepositoryRootDirectory)bin\obj\$(MSBuildProjectName)'))\</BaseIntermediateOutputPath>
<PackageOutputPath>$(BinDir)\Packages\$(Configuration)</PackageOutputPath>
</PropertyGroup>
<PropertyGroup>
<!-- NuGet Package common properties. -->
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Copyright>Copyright 2017 (c) Eric Mellino. All rights reserved.</Copyright>
<Authors>Eric Mellino</Authors>
<ProjectUrl>https://github.com/mellinoe/ShaderGen</ProjectUrl>
<RepositoryUrl>https://github.com/mellinoe/ShaderGen</RepositoryUrl>
</PropertyGroup>
<!-- Workaround for NuGet bug, see https://github.com/AArnott/Nerdbank.GitVersioning/issues/113 -->
<PropertyGroup>
<NerdbankGitVersioningVersion>2.0.41</NerdbankGitVersioningVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="$(NerdbankGitVersioningVersion)" PrivateAssets="all" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' == 'true' ">
<Import Project="$(UserProfile)\.nuget\packages\nerdbank.gitversioning\$(NerdbankGitVersioningVersion)\buildCrossTargeting\Nerdbank.GitVersioning.targets"
Condition="Exists('$(UserProfile)\.nuget\packages\nerdbank.gitversioning\$(NerdbankGitVersioningVersion)\buildCrossTargeting\Nerdbank.GitVersioning.targets')" />
</ImportGroup>
<Target Name="FixUpVersion"
BeforeTargets="_GenerateRestoreProjectSpec"
DependsOnTargets="GetBuildVersion"
Condition=" '$(NerdbankGitVersioningTasksPath)' != '' " />
</Project>