File tree 8 files changed +24
-1
lines changed
src/SourceBuild/content/repo-projects
Microsoft.DotNet.MSBuildSdkResolver.Tests
Microsoft.DotNet.TemplateLocator.Tests
8 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 101
101
102
102
<!-- Only pass these properites through when necessary to reduce command line noise. -->
103
103
<BuildArgs Condition =" '$(CrossBuild)' == 'true'" >$(BuildArgs) /p:CrossBuild=true</BuildArgs >
104
- <BuildArgs Condition =" '$(DotNetBuildTests)' == 'true'" >$(BuildArgs) /p:DotNetBuildTests=true</BuildArgs >
105
104
<BuildArgs Condition =" '$(NuGetConfigFile)' != ''" >$(BuildArgs) /p:RestoreConfigFile=$(NuGetConfigFile)</BuildArgs >
106
105
<BuildArgs Condition =" '$(DotNetBuildUseMonoRuntime)' == 'true'" >$(BuildArgs) /p:DotNetBuildUseMonoRuntime=$(DotNetBuildUseMonoRuntime)</BuildArgs >
107
106
<BuildArgs Condition =" '$(OfficialBuildId)' != ''" >$(BuildArgs) /p:OfficialBuildId=$(OfficialBuildId)</BuildArgs >
Original file line number Diff line number Diff line change 37
37
<BuildArgs >$(BuildArgs) /p:PortableBuild=$(PortableBuild)</BuildArgs >
38
38
<BuildArgs Condition =" '$(ShortStack)' != 'true' and '$(TargetOS)' != 'linux-musl'" >$(BuildArgs) /p:RuntimeOS=$(RuntimeOS)</BuildArgs >
39
39
<BuildArgs Condition =" '$(ShortStack)' != 'true' and '$(TargetOS)' != 'linux-musl'" >$(BuildArgs) /p:BaseOS=$(BaseOS)</BuildArgs >
40
+
41
+ <!-- Only pass when enabled to reduce command line noise. -->
42
+ <BuildArgs Condition =" '$(DotNetBuildTests)' == 'true' and '$(DotNetBuildTestsOptOut)' != 'true'" >$(BuildArgs) /p:DotNetBuildTests=true</BuildArgs >
40
43
</PropertyGroup >
41
44
42
45
<PropertyGroup >
Original file line number Diff line number Diff line change 30
30
<BuildArgs >$(BuildArgs) /p:EnablePackageValidation=false</BuildArgs >
31
31
32
32
<LogVerbosityOptOut >true</LogVerbosityOptOut >
33
+
34
+ <!-- Tests are failing to build: https://github.com/dotnet/aspnetcore/issues/60095 -->
35
+ <DotNetBuildTestsOptOut >true</DotNetBuildTestsOptOut >
33
36
</PropertyGroup >
34
37
35
38
<PropertyGroup Condition =" '$(DotNetBuildSourceOnly)' == 'true'" >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
+ <PropertyGroup >
4
+ <!-- Tests are failing to build: https://github.com/dotnet/efcore/issues/35547 -->
5
+ <DotNetBuildTestsOptOut >true</DotNetBuildTestsOptOut >
6
+ </PropertyGroup >
7
+
3
8
<ItemGroup >
4
9
<RepositoryReference Include =" arcade" />
5
10
<RepositoryReference Include =" runtime" />
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<LogVerbosityOptOut >true</LogVerbosityOptOut >
5
5
6
+ <!-- Tests are failing to build: https://github.com/dotnet/roslyn/issues/76960 -->
7
+ <DotNetBuildTestsOptOut >true</DotNetBuildTestsOptOut >
8
+
6
9
<!-- Roslyn's build.cmd adds -build automatically. On non-windows, use the default -->
7
10
<BuildActions Condition =" '$(BuildOS)' == 'windows'" >$(FlagParameterPrefix)restore</BuildActions >
8
11
<BuildActions Condition =" '$(BuildOS)' == 'windows'" >$(BuildActions) $(FlagParameterPrefix)pack</BuildActions >
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<DeterministicBuildOptOut >true</DeterministicBuildOptOut >
5
+
6
+ <!-- Tests are failing to build: https://github.com/microsoft/vstest/issues/14994 -->
7
+ <DotNetBuildTestsOptOut >true</DotNetBuildTestsOptOut >
5
8
</PropertyGroup >
6
9
7
10
<ItemGroup >
Original file line number Diff line number Diff line change 8
8
9
9
<PropertyGroup >
10
10
<TargetFramework >net472</TargetFramework >
11
+ <!-- For product build, the .NET Framework TFM only builds in the second build pass as it depends on assets from other
12
+ verticals that are built in the first build pass.
13
+ Disabling this project as references are not building in this case. -->
14
+ <ExcludeFromBuild Condition =" '$(DotNetBuild)' == 'true' and '$(DotNetBuildPass)' != '2'" >true</ExcludeFromBuild >
11
15
<StrongNameKeyId >MicrosoftAspNetCore</StrongNameKeyId >
12
16
13
17
<!-- By default test projects don't append TargetFramework to output path, but for multi-targeted tests
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<TargetFrameworks >net472;$(ToolsetTargetFramework)</TargetFrameworks >
4
4
<TargetFrameworks Condition =" '$([MSBuild]::IsOSPlatform(`Windows`))' == 'false' " >$(ToolsetTargetFramework)</TargetFrameworks >
5
+ <!-- For product build, the .NET Framework TFM only builds in the second build pass as it depends on assets from other
6
+ verticals that are built in the first build pass. -->
7
+ <TargetFrameworks Condition =" '$(DotNetBuild)' == 'true' and '$(DotNetBuildPass)' != '2'" >$(ToolsetTargetFramework)</TargetFrameworks >
5
8
<OutputType Condition =" '$(TargetFramework)' == '$(ToolsetTargetFramework)'" >Exe</OutputType >
6
9
<StrongNameKeyId >MicrosoftAspNetCore</StrongNameKeyId >
7
10
You can’t perform that action at this time.
0 commit comments