Skip to content

Commit

Permalink
Fix AxHosts.csproj build errors with Preview 7 SDK (#11878)
Browse files Browse the repository at this point in the history
* update to preview 7 sdk

* try disable automatic 'torn sdk detection'
  • Loading branch information
lonitra committed Aug 14, 2024
1 parent f4d5510 commit 196c566
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"tools": {
"dotnet": "9.0.100-preview.5.24307.3",
"dotnet": "9.0.100-preview.7.24407.12",
"runtimes": {
"dotnet/x64": [
"$(VSRedistCommonNetCoreSharedFrameworkx6490PackageVersion)"
Expand All @@ -11,7 +11,7 @@
}
},
"sdk": {
"version": "9.0.100-preview.5.24307.3"
"version": "9.0.100-preview.7.24407.12"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24408.2",
Expand Down
2 changes: 1 addition & 1 deletion src/BuildAssist/BuildAssist.msbuildproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<PropertyGroup>
<_AxHostsPath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', '..', 'System.Windows.Forms', 'tests', 'AxHosts', 'AxHosts.csproj'))</_AxHostsPath>
<_ProjectArgs>/p:Configuration=$(Configuration) /p:Platform=AnyCPU</_ProjectArgs>
<_ProjectArgs>/p:BuildWithNetFrameworkHostedCompiler=false /p:Configuration=$(Configuration) /p:Platform=AnyCPU</_ProjectArgs>
</PropertyGroup>

<Target Name="BuildAxHosts" BeforeTargets="AfterBuild" DependsOnTargets="FindFrameworkMsbuild">
Expand Down

0 comments on commit 196c566

Please sign in to comment.