-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
.NET SDK 8.0.404 ignores <EnablePreviewFeatures>True
in dotnet build
#44985
Comments
I ran another workflow run and this bug appeared with 8.0.403 too 🤨 |
Should this issue be moved to the dotnet/sdk repo? |
Yes, I think dotnet/sdk would be the best place for this |
Are you using
So if you were somehow accidentally using .NET SDK 9.0.100, but still targeting |
I was setting the SDK version with GitHub Actions and expected to be the only version installed, but .NET 9 SDK was installed too, and it was being used instead. After adding a Thanks! |
Description
Hello,
I have a project with the following code line, that requires
<EnablePreviewFeatures>True</EnablePreviewFeatures>
in the csproj.When running
dotnet build
on the pipeline, this error pops up:Even though the .csproj has this flag specified.
Regression?
The bug happens with .NET SDK 8.0.404, but it does not happen with 8.0.403.
Configuration
Win x64 machine. I didn't check on Linux machine.
The text was updated successfully, but these errors were encountered: