Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEMP: hack until .NET 8 is shipped and/or .NET 9 SDK is coherent #529

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

RussKie
Copy link
Member

@RussKie RussKie commented Sep 25, 2023

I tested it locally:

dotnet build
dotnet tool uninstall --global Microsoft.VisualStudio.SlnGen.Tool
dotnet tool install --global Microsoft.VisualStudio.SlnGen.Tool --add-source D:\Development\microsoft-slngen\src\Microsoft.VisualStudio.SlnGen.Tool\bin\Debug --prerelease

Before:

PS D:\Development\dotnet-extensions> .\restore.cmd -vs * -nolaunch

SlnGen does not currently support the .NET SDK 9.0.100-alpha.1.23464.17 defined by in global.json.  Please update to the latest version and if you still get this error message, file an issue at https://github.com/microsoft/slngen/issues/new so it can be added.
Failed to generate the solution.

After:

PS D:\Development\dotnet-extensions> .\restore.cmd -vs * -nolaunch

Build started 25/09/2023 10:58:46 AM.
Generating solution for project "D:\Development\dotnet-extensions\test\TestUtilities\TestUtilities.csproj"
Generating solution for project "D:\Development\dotnet-extensions\src\Analyzers\Microsoft.Analyzers.Extra\Microsoft.Analyzers.Extra.csproj"
Generating solution for project "D:\Development\dotnet-extensions\src\Analyzers\Microsoft.Analyzers.Local\Microsoft.Analyzers.Local.csproj"
Generating solution for project "D:\Development\dotnet-extensions\src\Generators\Microsoft.Gen.AutoClient\Microsoft.Gen.AutoClient.csproj"
....

Copy link
Collaborator

@jeffkl jeffkl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@jeffkl jeffkl enabled auto-merge (squash) September 25, 2023 01:04
@jeffkl jeffkl merged commit 991374f into microsoft:main Sep 25, 2023
@jeffkl jeffkl mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants