This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Directory.Build.props
44 lines (35 loc) · 2.54 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
<Project>
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
</PropertyGroup>
<PropertyGroup>
<RepoRootPath>$([MSBuild]::NormalizePath($(MSBuildThisFileDirectory)))</RepoRootPath>
<AzureDevOpsArtifactsStagingDirectory>$([System.Environment]::GetEnvironmentVariable('BUILD_ARTIFACTSTAGINGDIRECTORY'))</AzureDevOpsArtifactsStagingDirectory>
<RepoArtifactsPath Condition="'$(AzureDevOpsArtifactsStagingDirectory)' != ''">$([MSBuild]::EnsureTrailingSlash('$(AzureDevOpsArtifactsStagingDirectory)'))</RepoArtifactsPath>
<RepoArtifactsPath Condition="'$(RepoArtifactsPath)' == ''">$(RepoRootPath)_artifacts\</RepoArtifactsPath>
<RepoBinPath>$(RepoRootPath)bin\</RepoBinPath>
<RepoObjPath>$(RepoRootPath)obj\</RepoObjPath>
<RepoSrcPath>$(RepoRootPath)src\</RepoSrcPath>
<RepoSrcEditorPath>$(RepoSrcPath)Editor\</RepoSrcEditorPath>
<RepoLocalNuGetFeedPath>$(RepoRootPath)build\nuget-feed\</RepoLocalNuGetFeedPath>
<RepoSrcRelativeProjectDirectory Condition="$(MSBuildProjectDirectory.Length) >= $(RepoSrcPath.Length)">$(MSBuildProjectDirectory.Substring($(RepoSrcPath.Length)))\</RepoSrcRelativeProjectDirectory>
</PropertyGroup>
<PropertyGroup>
<NuGetVersionRoslyn>3.4.0-beta4-19556-02</NuGetVersionRoslyn>
<NuGetVersionVSEditor Condition="$(NuGetVersionVSEditor) == ''">16.0.379-g4a55b0e4f2</NuGetVersionVSEditor>
</PropertyGroup>
<PropertyGroup>
<InMonoDevelopTree Condition="Exists('$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), MonoDevelop.props))')">true</InMonoDevelopTree>
<InMdAddinsTree Condition="Exists('$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), md-addins.sln))')">true</InMdAddinsTree>
<MonoDevelopDirectory Condition="$(InMonoDevelopTree) == 'true'">$(MSBuildThisFileDirectory)..\..\..\</MonoDevelopDirectory>
<MonoDevelopDirectory Condition="$(InMdAddinsTree) == 'true'">$(MSBuildThisFileDirectory)..\..\..\monodevelop\</MonoDevelopDirectory>
<UsePlatformEditorBinaries Condition="$(OS) == 'Windows_NT' AND $(InMonoDevelopTree) == 'true'">true</UsePlatformEditorBinaries>
</PropertyGroup>
<!-- Override Roslyn versions if in IDE build -->
<Import Condition="'$(MonoDevelopDirectory)' != ''" Project="$(MonoDevelopDirectory)main\msbuild\RoslynVersion.props"/>
<Import Project="$(RepoRootPath)build\Environment.props"/>
<Import Project="$(RepoRootPath)build\CI.props"/>
<Import
Condition="'$(MSBuildProjectExtension)' == '.csproj'"
Project="$(RepoRootPath)build\Project.props"/>
</Project>