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

Explicitly set dotnet SDK version in global.json #160

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

stamminator
Copy link
Contributor

Assemblies built with the build script were throwing exceptions for me on launch due to the .NET SDK version 9.0.100-preview.7 being installed. The root cause is an issue with this preview SDK version: dotnet/wpf#9582. Since dotnet CLI uses preview SDKs by default while Visual Studio doesn't, this was leading to confusing behavior where VS-built assemblies worked, but script-built ones didn't. This solves the issue by explicitly setting the SDK version.

@U-C-S
Copy link
Owner

U-C-S commented Sep 6, 2024

Thank you, didn't know this was a thing

@U-C-S U-C-S merged commit 41b4402 into U-C-S:main Sep 6, 2024
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