File tree 3 files changed +10
-16
lines changed
3 files changed +10
-16
lines changed Original file line number Diff line number Diff line change 7
7
<Description Condition =" '$(Description)' == ''" >$(TargetFileName)</Description >
8
8
</PropertyGroup >
9
9
10
+ <!-- Disable package validation as source build filters out target frameworks. -->
11
+ <PropertyGroup Condition =" '$(DotNetBuildSourceOnly)' == 'true'" >
12
+ <EnablePackageValidation >false</EnablePackageValidation >
13
+ </PropertyGroup >
14
+
10
15
<ItemGroup Condition =" '$(IsPackable)' == 'true' " >
11
16
<None Include =" $(ThirdPartyNotice)" Pack =" true" PackagePath =" notices" Visible =" false" />
12
17
<None Include =" README.md" Pack =" true" PackagePath =" \" />
Original file line number Diff line number Diff line change 6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <!-- Remove all sln files globbed by arcade so far and add only MSBuild.sln to the build.
10
- Without this, arcade tries to build all three MSBuild solution at once, which leads to
11
- locked file errors. -->
9
+ <!-- Remove all sln files globbed by arcade so far and add only MSBuild.sln to the build.
10
+ Without this, arcade tries to build all three MSBuild solution at once, which leads to
11
+ locked file errors. -->
12
12
<ProjectToBuild Remove =" @(ProjectToBuild)" />
13
- <ProjectToBuild Include =" $(RepoRoot)MSBuild.sln" />
13
+ <ProjectToBuild Include =" $(RepoRoot)MSBuild.sln" Condition =" '$(DotNetBuildSourceOnly)' != 'true'" />
14
+ <ProjectToBuild Include =" $(RepoRoot)MSBuild.SourceBuild.slnf" Condition =" '$(DotNetBuildSourceOnly)' == 'true'" />
14
15
</ItemGroup >
15
16
16
17
</Project >
Original file line number Diff line number Diff line change 1
1
<!-- When altering this file, include @dotnet/product-construction as a reviewer. -->
2
-
3
2
<Project >
4
3
5
4
<PropertyGroup >
6
5
<GitHubRepositoryName >msbuild</GitHubRepositoryName >
7
6
<SourceBuildManagedOnly >true</SourceBuildManagedOnly >
8
7
</PropertyGroup >
9
8
10
- <Target Name =" ConfigureInnerBuildArgs" BeforeTargets =" GetSourceBuildCommandConfiguration"
11
- Condition =" '$(DotNetBuildSourceOnly)' == 'true'" >
12
- <PropertyGroup >
13
- <!-- Filter down projects aggressively in source-only modes. -->
14
- <InnerBuildArgs >$(InnerBuildArgs) /p:Projects="$(InnerSourceBuildRepoRoot)MSBuild.SourceBuild.slnf"</InnerBuildArgs >
15
-
16
- <!-- Disable package validation as source build filters out target frameworks. -->
17
- <InnerBuildArgs >$(InnerBuildArgs) /p:EnablePackageValidation=false</InnerBuildArgs >
18
- </PropertyGroup >
19
- </Target >
20
-
21
9
</Project >
You can’t perform that action at this time.
0 commit comments