Skip to content

Commit 6463317

Browse files
[VMR] Codeflow 9ee9fa8-9ee9fa8
[[ commit created by automation ]]
1 parent 9ee9fa8 commit 6463317

File tree

13 files changed

+26
-18
lines changed

13 files changed

+26
-18
lines changed

CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,3 @@
108108
# dotnet-format
109109
/src/BuiltInTools/dotnet-format @dotnet/roslyn-ide
110110
/test/dotnet-format.UnitTests @dotnet/roslyn-ide
111-
112-
# Area: VMR & SourceBuild
113-
/eng/DotNetBuild.props @dotnet/source-build @dotnet/product-construction

Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262

6363
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
6464
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
65+
66+
<!-- https://github.com/dotnet/source-build/issues/4115. -->
67+
<PublishWindowsPdb>false</PublishWindowsPdb>
6568
</PropertyGroup>
6669

6770
<PropertyGroup Condition="'$(IsTestProject)' == 'true'">

Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
Condition="'$(RunTestsAsTool)' == 'true' And '$(CanRunTestAsTool)' == 'true'"/>
5555

5656
<!-- Update KnownFrameworkReferences to target the right version of the runtime -->
57-
<!-- We cannot use live shims when building tool packs in VMR - only package for current arch is available. -->
57+
<!-- Don't use live shims when building tool packs in .NET product build mode as only packages for the current arch are available. -->
5858
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'
5959
and $(MicrosoftNETCoreAppRefPackageVersion.StartsWith('$(_TargetFrameworkVersionWithoutV)'))
6060
and '$(MSBuildProjectName)' != 'sdk-tasks'

eng/Publishing.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<Artifact Update="$(ArtifactsShippingPackagesDir)dotnet-sdk-pgo-*" Visibility="External" />
3636
</ItemGroup>
3737

38-
<!-- temporarily remove the .Msi workload pack nugets in the SDK official build until we switch to the VMR, but keep the manifest .Msi packages -->
38+
<!-- Temporarily remove the .Msi workload pack nugets in non .NET product build mode (until the repo official build gets removed), but keep the manifest .Msi packages. -->
3939
<ItemGroup Condition="'$(DotNetBuild)' != 'true'">
4040
<MsiPackages Include="$(ArtifactsShippingPackagesDir)*.Msi.*.nupkg" />
4141
<MsiPackages Remove="$(ArtifactsShippingPackagesDir)*.Manifest-*.Msi.*.nupkg" />

eng/restore-toolset.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ function InitializeCustomSDKToolset {
99
}
1010

1111
# The following frameworks and tools are used only for testing.
12-
# Do not attempt to install them in source build.
13-
if ($productBuild -or $properties -like "*DotNetBuildRepo=true*") {
12+
# Do not attempt to install them in product build.
13+
if ($productBuild) {
1414
return
1515
}
1616

eng/restore-toolset.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ function InitializeCustomSDKToolset {
66
fi
77

88
# The following frameworks and tools are used only for testing.
9-
# Do not attempt to install them in source build.
10-
if [[ $product_build == true || $properties == *"DotNetBuildRepo=true"* ]]; then
9+
# Do not attempt to install them in product build.
10+
if [[ $product_build == true ]]; then
1111
return
1212
fi
1313

src/Layout/redist/redist.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
<ProjectReference Include="..\finalizer\finalizer.csproj" Condition="'$(OS)' == 'Windows_NT'" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" Private="false" />
7878
</ItemGroup>
7979

80-
<!-- In the VMR build we explicitly build workloads in build pass 2.
81-
In the SDK official build we build workloads as part of win-x64 -->
80+
<!-- In .NET product build mode, explicitly build workloads in build pass 2.
81+
In the SDK official build, build workloads as part of win-x64. -->
8282
<ItemGroup Condition="'$(OS)' == 'Windows_NT' and '$(SkipBuildingInstallers)' != 'true' and '$(DotNetBuild)' != 'true' and '$(BuildWorkloads)' == 'true'">
8383
<ProjectReference Include="$(RepoRoot)src\Workloads\VSInsertion\workloads.csproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" Private="false" />
8484
</ItemGroup>

src/Layout/redist/targets/GenerateBundledVersions.targets

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,28 @@
1515
Overwrite="true"
1616
Encoding="ASCII" />
1717

18+
<!-- The Version.Details file doesn't contain live information when building the
19+
.NET product inside the orchestrator. Therefore don't read from it in that mode. -->
1820
<GetDependencyInfo
1921
VersionDetailsXmlFile="$(RepositoryEngineeringDir)Version.Details.xml"
2022
DependencyName="Microsoft.NETCore.App.Ref"
21-
Condition="'$(DotNetBuild)' != 'true'">
23+
Condition="'$(DotNetBuildOrchestrator)' != 'true'">
2224
<Output TaskParameter="DependencyVersion" PropertyName="DepRuntimeVersion" />
2325
<Output TaskParameter="DependencyCommit" PropertyName="DepRuntimeCommit" />
2426
</GetDependencyInfo>
2527

2628
<GetDependencyInfo
2729
VersionDetailsXmlFile="$(RepositoryEngineeringDir)Version.Details.xml"
2830
DependencyName="Microsoft.AspNetCore.App.Ref"
29-
Condition="'$(DotNetBuild)' != 'true'">
31+
Condition="'$(DotNetBuildOrchestrator)' != 'true'">
3032
<Output TaskParameter="DependencyVersion" PropertyName="DepAspNetCoreVersion" />
3133
<Output TaskParameter="DependencyCommit" PropertyName="DepAspNetCoreCommit" />
3234
</GetDependencyInfo>
3335

3436
<GetDependencyInfo
3537
VersionDetailsXmlFile="$(RepositoryEngineeringDir)Version.Details.xml"
3638
DependencyName="Microsoft.WindowsDesktop.App.Ref"
37-
Condition="'$(DotNetBuild)' != 'true'">
39+
Condition="'$(DotNetBuildOrchestrator)' != 'true'">
3840
<Output TaskParameter="DependencyVersion" PropertyName="DepWindowsDesktopVersion" />
3941
<Output TaskParameter="DependencyCommit" PropertyName="DepWindowsDesktopCommit" />
4042
</GetDependencyInfo>

src/Layout/redist/targets/GenerateMSIs.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<!-- Directory for the zipped up light command package -->
4242
<LightCommandPackagesDir>$(ArtifactsNonShippingPackagesDir)</LightCommandPackagesDir>
4343

44-
<!-- for local SDK builds we allow skipping the workload manifest msi generation to save build time, the sdk bundle won't contain the manifest msis in that case. -->
44+
<!-- For local non .NET SDK product builds, allow skipping the workload manifest msi generation to save build time. The sdk bundle won't contain the manifest msis in that case. -->
4545
<AllowEmptyBuiltinWorkloadManifestMsi Condition="'$(DotNetBuild)' != 'true' and '$(BuildWorkloads)' != 'true' and '$(OfficialBuild)' != 'true'">true</AllowEmptyBuiltinWorkloadManifestMsi>
4646
</PropertyGroup>
4747

src/Workloads/VSInsertion/workloads.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</PropertyGroup>
2828

2929
<ItemGroup>
30-
<!-- in the VMR build in the second build pass we don't need to build the manifests since they're already downloaded from another vertical -->
30+
<!-- In .NET product build mode in the second build pass, there's no need to build the manifests since they're already downloaded from another vertical -->
3131
<ProjectReference Include="$(RepoRoot)\src\Workloads\Manifests\manifest-packages.proj" ReferenceOutputAssembly="false" Condition="'$(DotNetBuild)' != 'true'" />
3232
</ItemGroup>
3333

0 commit comments

Comments
 (0)