forked from VsVim/VsVim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
53 lines (45 loc) · 2.79 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
<Project>
<Import Project="$(MSBuildThisFileDirectory)\Binaries\User.props" Condition="Exists('$(MSBuildThisFileDirectory)\Binaries\User.props')" />
<PropertyGroup>
<RepoPath>$(MSBuildThisFileDirectory)</RepoPath>
<DebugType>full</DebugType>
<BinariesPath>$(RepoPath)Binaries\</BinariesPath>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<OutputPath>$(BinariesPath)$(Configuration)\$(MSBuildProjectName)</OutputPath>
<BaseIntermediateOutputPath>$(BinariesPath)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<MicrosoftVsSdkBuildToolsVersion>17.0.5232</MicrosoftVsSdkBuildToolsVersion>
<!-- Standard Calculation of NuGet package location -->
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == ''">$(NUGET_PACKAGES)</NuGetPackageRoot> <!-- Respect environment variable if set -->
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == '' AND '$(OS)' == 'Windows_NT'">$(UserProfile)/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == '' AND '$(OS)' != 'Windows_NT'">$(HOME)/.nuget/packages/</NuGetPackageRoot>
<!--
VSTHRD010: this warning is extremely noisy and in practice has not found any issues
-->
<NoWarn>$(NoWarn);VSTHRD010</NoWarn>
</PropertyGroup>
<!--
When building WPF projects MSBuild will create a temporary project with an extension of
tmp_proj. In that case the SDK is unable to determine the target language and cannot pick
the correct import. Need to set it explicitly here.
See https://github.com/dotnet/project-system/issues/1467
-->
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.tmp_proj'">
<Language>C#</Language>
<LanguageTargets>$(MSBuildToolsPath)\Microsoft.CSharp.targets</LanguageTargets>
</PropertyGroup>
<PropertyGroup>
<ReferencePath>$(ReferencePath);$(MSBuildThisFileDirectory)References\Common</ReferencePath>
<ReferencePath>$(ReferencePath);$(MSBuildThisFileDirectory)References\Vs2019</ReferencePath>
<ReferencePath>$(ReferencePath);$(MSBuildThisFileDirectory)References\Vs2022</ReferencePath>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildThisFileDirectory)</SolutionDir>
<!-- This controls the places MSBuild will consult to resolve assembly references. This is
kept as minimal as possible to make our build reliable from machine to machine. Global
locations such as GAC, AssemblyFoldersEx, etc ... are deliberately removed from this
list as they will not be the same from machine to machine -->
<AssemblySearchPaths>
{TargetFrameworkDirectory};
{RawFileName};
$(ReferencePath);
</AssemblySearchPaths>
</PropertyGroup>
</Project>