forked from microsoft/VFSForGit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
39 lines (33 loc) · 1.51 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
<Project>
<!-- Import version props -->
<Import Project="Version.props" />
<!-- Common project properties -->
<PropertyGroup>
<RepoPath>$(MSBuildThisFileDirectory)</RepoPath>
<RepoSrcPath>$(RepoPath)</RepoSrcPath>
<RepoOutPath>$(RepoPath)..\out\</RepoOutPath>
<ProjectOutPath>$(RepoOutPath)$(MSBuildProjectName)\</ProjectOutPath>
<BuildPackagesPath>$(RepoPath)..\packages\</BuildPackagesPath>
<!--
Ensure `msbuild /t:restore` restores both PackageReference and
package.config styles of NuGet package references.
Native/C++ projects do not support the new PackageReference style,
but our .NET projects do.
-->
<RestorePackagesConfig>true</RestorePackagesConfig>
</PropertyGroup>
<!-- Managed project properties -->
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.csproj'">
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<PlatformTarget>x64</PlatformTarget>
<BaseOutputPath>$(ProjectOutPath)bin\</BaseOutputPath>
<BaseIntermediateOutputPath>$(ProjectOutPath)obj\</BaseIntermediateOutputPath>
</PropertyGroup>
<!-- Native project properties -->
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
<Platform>x64</Platform>
<OutDir>$(ProjectOutPath)bin\$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(ProjectOutPath)intermediate\$(Platform)\$(Configuration)\</IntDir>
<GeneratedIncludePath>$(IntDir)include\</GeneratedIncludePath>
</PropertyGroup>
</Project>