Skip to content

Commit

Permalink
[main] Update dependencies from dotnet/windowsdesktop (#44922)
Browse files Browse the repository at this point in the history
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
  • Loading branch information
3 people authored Nov 20, 2024
1 parent b87be1c commit 810147e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 29 deletions.
28 changes: 14 additions & 14 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -254,26 +254,26 @@
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>55eee324653e01cf28809d02b25a5b0894b58d22</Sha>
</Dependency>
<Dependency Name="Microsoft.WindowsDesktop.App.Runtime.win-x64" Version="10.0.0-alpha.1.24563.2">
<Dependency Name="Microsoft.WindowsDesktop.App.Runtime.win-x64" Version="10.0.0-alpha.1.24568.1">
<Uri>https://github.com/dotnet/windowsdesktop</Uri>
<Sha>283bd6a3f37196bacde89cb76c5157593021cc59</Sha>
<Sha>fed5f2a4e66fe00be8d108e8e153ec3bed34941e</Sha>
<SourceBuildTarball RepoName="windowsdesktop" ManagedOnly="true" />
</Dependency>
<Dependency Name="VS.Redist.Common.WindowsDesktop.SharedFramework.x64.10.0" Version="10.0.0-alpha.1.24563.2">
<Dependency Name="VS.Redist.Common.WindowsDesktop.SharedFramework.x64.10.0" Version="10.0.0-alpha.1.24568.1">
<Uri>https://github.com/dotnet/windowsdesktop</Uri>
<Sha>283bd6a3f37196bacde89cb76c5157593021cc59</Sha>
<Sha>fed5f2a4e66fe00be8d108e8e153ec3bed34941e</Sha>
</Dependency>
<Dependency Name="Microsoft.WindowsDesktop.App.Ref" Version="10.0.0-alpha.1.24563.2">
<Dependency Name="Microsoft.WindowsDesktop.App.Ref" Version="10.0.0-alpha.1.24568.1">
<Uri>https://github.com/dotnet/windowsdesktop</Uri>
<Sha>283bd6a3f37196bacde89cb76c5157593021cc59</Sha>
<Sha>fed5f2a4e66fe00be8d108e8e153ec3bed34941e</Sha>
</Dependency>
<Dependency Name="VS.Redist.Common.WindowsDesktop.TargetingPack.x64.10.0" Version="10.0.0-alpha.1.24563.2">
<Dependency Name="VS.Redist.Common.WindowsDesktop.TargetingPack.x64.10.0" Version="10.0.0-alpha.1.24568.1">
<Uri>https://github.com/dotnet/windowsdesktop</Uri>
<Sha>283bd6a3f37196bacde89cb76c5157593021cc59</Sha>
<Sha>fed5f2a4e66fe00be8d108e8e153ec3bed34941e</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Sdk.WindowsDesktop" Version="10.0.0-alpha.1.24563.1" CoherentParentDependency="Microsoft.WindowsDesktop.App.Ref">
<Dependency Name="Microsoft.NET.Sdk.WindowsDesktop" Version="10.0.0-alpha.1.24568.1" CoherentParentDependency="Microsoft.WindowsDesktop.App.Ref">
<Uri>https://github.com/dotnet/wpf</Uri>
<Sha>cbaeca87f0bd676b1ecd869338cf78b22f5295f7</Sha>
<Sha>d73dd1dbd908398cef7f50e57812e55b90ed3676</Sha>
</Dependency>
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="10.0.0-alpha.2.24569.2">
<Uri>https://github.com/dotnet/aspnetcore</Uri>
Expand Down Expand Up @@ -390,13 +390,13 @@
<SourceBuild RepoName="test-templates" ManagedOnly="true" />
</Dependency>
<!-- For coherency purposes, these versions should be gated by the versions of winforms and wpf routed via windowsdesktop -->
<Dependency Name="Microsoft.Dotnet.WinForms.ProjectTemplates" Version="10.0.0-alpha.1.24560.1" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
<Dependency Name="Microsoft.Dotnet.WinForms.ProjectTemplates" Version="10.0.0-alpha.1.24566.1" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
<Uri>https://github.com/dotnet/winforms</Uri>
<Sha>fae358b66661ccf60d44119bf2e0cc87ce8c75d4</Sha>
<Sha>98c761f4d9863f99cdb48ac9e87feef01d5c595e</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Wpf.ProjectTemplates" Version="10.0.0-alpha.1.24563.1" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
<Dependency Name="Microsoft.DotNet.Wpf.ProjectTemplates" Version="10.0.0-alpha.1.24568.1" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
<Uri>https://github.com/dotnet/wpf</Uri>
<Sha>cbaeca87f0bd676b1ecd869338cf78b22f5295f7</Sha>
<Sha>d73dd1dbd908398cef7f50e57812e55b90ed3676</Sha>
</Dependency>
<Dependency Name="Microsoft.Web.Xdt" Version="9.0.0-preview.24522.2">
<Uri>https://github.com/dotnet/xdt</Uri>
Expand Down
12 changes: 6 additions & 6 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</PropertyGroup>
<PropertyGroup>
<!-- Dependency from https://github.com/dotnet/winforms -->
<MicrosoftDotnetWinFormsProjectTemplatesPackageVersion>10.0.0-alpha.1.24560.1</MicrosoftDotnetWinFormsProjectTemplatesPackageVersion>
<MicrosoftDotnetWinFormsProjectTemplatesPackageVersion>10.0.0-alpha.1.24566.1</MicrosoftDotnetWinFormsProjectTemplatesPackageVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Dependency from https://github.com/dotnet/test-templates -->
Expand Down Expand Up @@ -153,9 +153,9 @@
</PropertyGroup>
<PropertyGroup>
<!-- Dependencies from https://github.com/dotnet/windowsdesktop -->
<VSRedistCommonWindowsDesktopSharedFrameworkx64100PackageVersion>10.0.0-alpha.1.24563.2</VSRedistCommonWindowsDesktopSharedFrameworkx64100PackageVersion>
<MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion>10.0.0-alpha.1.24563.2</MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion>
<MicrosoftWindowsDesktopAppRefPackageVersion>10.0.0-alpha.1.24563.2</MicrosoftWindowsDesktopAppRefPackageVersion>
<VSRedistCommonWindowsDesktopSharedFrameworkx64100PackageVersion>10.0.0-alpha.1.24568.1</VSRedistCommonWindowsDesktopSharedFrameworkx64100PackageVersion>
<MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion>10.0.0-alpha.1.24568.1</MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion>
<MicrosoftWindowsDesktopAppRefPackageVersion>10.0.0-alpha.1.24568.1</MicrosoftWindowsDesktopAppRefPackageVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Dependencies from https://github.com/nuget/nuget.client -->
Expand Down Expand Up @@ -254,8 +254,8 @@
</PropertyGroup>
<PropertyGroup>
<!-- Dependencies from https://github.com/dotnet/wpf -->
<MicrosoftNETSdkWindowsDesktopPackageVersion>10.0.0-alpha.1.24563.1</MicrosoftNETSdkWindowsDesktopPackageVersion>
<MicrosoftDotNetWpfProjectTemplatesPackageVersion>10.0.0-alpha.1.24563.1</MicrosoftDotNetWpfProjectTemplatesPackageVersion>
<MicrosoftNETSdkWindowsDesktopPackageVersion>10.0.0-alpha.1.24568.1</MicrosoftNETSdkWindowsDesktopPackageVersion>
<MicrosoftDotNetWpfProjectTemplatesPackageVersion>10.0.0-alpha.1.24568.1</MicrosoftDotNetWpfProjectTemplatesPackageVersion>
</PropertyGroup>
<PropertyGroup Label="Template versions">
<!-- 10.0 Template versions -->
Expand Down
21 changes: 13 additions & 8 deletions src/SourceBuild/content/repo-projects/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<RepoArtifactsShippingPackagesDir Condition="'$(ReferenceOnlyRepoArtifacts)' == 'true'">$(ReferencePackagesDir)</RepoArtifactsShippingPackagesDir>
<RepoArtifactsNonShippingPackagesDir Condition="'$(ReferenceOnlyRepoArtifacts)' != 'true'">$([MSBuild]::NormalizeDirectory('$(ArtifactsNonShippingPackagesDir)', '$(RepositoryName)'))</RepoArtifactsNonShippingPackagesDir>
<RepoArtifactsNonShippingPackagesDir Condition="'$(ReferenceOnlyRepoArtifacts)' == 'true'">$(ReferencePackagesDir)</RepoArtifactsNonShippingPackagesDir>

<RepoArtifactsDir>$([MSBuild]::NormalizeDirectory('$(ProjectDirectory)', 'artifacts'))</RepoArtifactsDir>
<RepoArtifactsPackageCache>$([MSBuild]::NormalizeDirectory('$(RepoArtifactsDir)', 'sb', 'package-cache'))</RepoArtifactsPackageCache>

<!-- Pass location for packages -->
<BuildArgs>$(BuildArgs) /p:SourceBuiltShippingPackagesDir=$(RepoArtifactsShippingPackagesDir)</BuildArgs>
<!-- Trim the trailing slash as it breaks argument parsing on Windows if this is the last argument. -->
Expand Down Expand Up @@ -557,7 +561,7 @@
<Target Name="CopyInnerBuildRestoredPackages"
Condition="'$(IsUtilityProject)' != 'true' and '$(DotNetBuildSourceOnly)' == 'true'">
<ItemGroup>
<_InnerPackageCacheFiles Include="$(ProjectDirectory)artifacts/sb/package-cache/**/*" />
<_InnerPackageCacheFiles Include="$(RepoArtifactsPackageCache)**/*" />
</ItemGroup>

<!-- Retries can be necessary due to file locking when parallel builds are enabled and multiple repos
Expand All @@ -572,11 +576,11 @@

<Target Name="MoveDotNetBuildLogs"
Condition="'$(IsUtilityProject)' != 'true' and
Exists('$(ProjectDirectory)artifacts')">
Exists('$(RepoArtifactsDir)')">
<ItemGroup>
<LogFilesToMove Include="$(ProjectDirectory)artifacts/**/*.log" />
<LogFilesToMove Include="$(ProjectDirectory)artifacts/**/*.binlog" />
<PrebuiltReportsToMove Include="$(ProjectDirectory)artifacts/sb/prebuilt-report/*" />
<LogFilesToMove Include="$(RepoArtifactsDir)**/*.log" />
<LogFilesToMove Include="$(RepoArtifactsDir)**/*.binlog" />
<PrebuiltReportsToMove Include="$(RepoArtifactsDir)sb/prebuilt-report/*" />
</ItemGroup>

<!-- Move the build logs -->
Expand All @@ -595,7 +599,7 @@
Outputs="$(BaseIntermediateOutputPath)CleanupRepo.complete"
Condition="'$(IsUtilityProject)' != 'true' and
'$(CleanWhileBuilding)' == 'true' and
Exists('$(ProjectDirectory)artifacts')">
Exists('$(RepoArtifactsDir)')">
<!--
Some repositories (WinForms) use source generators that open files manually and keep file handles open on the compiler server (CsWin32).
These source generators are written incorrectly (a source generator should never do IO itself),
Expand All @@ -604,6 +608,7 @@
Don't fail the build when shutdown returns a failure.
-->
<Exec Command="$(DotnetTool) build-server shutdown --vbcscompiler"
EnvironmentVariables="NUGET_PACKAGES=$(RepoArtifactsPackageCache)"
IgnoreStandardErrorWarningFormat="true"
IgnoreExitCode="true" />

Expand All @@ -612,7 +617,7 @@
</PropertyGroup>

<ItemGroup>
<ObjFilesToCopy Include="$(ProjectDirectory)artifacts/**/project.assets.json" />
<ObjFilesToCopy Include="$(RepoArtifactsDir)**/project.assets.json" />
</ItemGroup>

<!-- Make a copy of project.assets.json files -->
Expand All @@ -621,7 +626,7 @@
Condition="'@(ObjFilesToCopy)' != ''" />

<ItemGroup>
<DirsToDelete Include="$([System.IO.Directory]::GetDirectories('$(ProjectDirectory)artifacts'))" />
<DirsToDelete Include="$([System.IO.Directory]::GetDirectories('$(RepoArtifactsDir)'))" />

<DirsToDeleteWithTrailingSeparator Include="$([MSBuild]::EnsureTrailingSlash('%(DirsToDelete.Identity)'))" />
<DirsToDeleteWithTrailingSeparator Remove="$(BuildObjDir)" />
Expand Down
2 changes: 1 addition & 1 deletion src/SourceBuild/content/repo-projects/wpf.proj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<BuildArgs>$(BuildArgs) $(FlagParameterPrefix)warnAsError $(ArcadeFalseBoolBuildArg)</BuildArgs>
<!-- TODO setting Platform shouldn't be necesary: https://github.com/dotnet/source-build/issues/4314 -->
<BuildArgs>$(BuildArgs) /p:Platform=$(TargetArchitecture)</BuildArgs>
<BuildArgs>$(BuildArgs) /p:BuildWithNetFrameworkHostedCompiler=false</BuildArgs>
<BuildArgs>$(BuildArgs) /p:BuildWithNetFrameworkHostedCompiler=true</BuildArgs>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 810147e

Please sign in to comment.