-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
MSBuild.SDK.SystemWeb/4.0.82 projects do not load in Visual Studio 2022 17.5.0 #52
Comments
I have the same problem. |
Looks like they never fixed 17.5. dotnet/roslyn#66367 (comment) Either switch your install to 17.4.4 LTSC or use the 17.6.0P1.0 Preview editions... I haven't had time to evaluate the suggested fix above but that may also work - if those lines are in the common,msbuild includes, I'm not sure why they aren't pulled in already... |
Thank you for your suggestion @CZEMacLeod! Adding property |
Hopefully with dotnet/roslyn#67000 this will be fixed in 17.5.1. |
This is just as an FYI, because I don't have an offending version of Visual Studio installed to confirm. It appears that the
This Sdk by default will include a reference to the If you are currently allowing this Sdk to include the default packages (you HAVE NOT overriden the default behavior by setting
Alternatively if you are currently not allowing this Sdk to include the default packages (you HAVE overriden the default behavior with
|
Seems like they fixed it with 17.5.1 |
I confirm; updating to Visual Studio 17.5.1 fixes this issue. See Visual Studio 17.5.1 release notes for more information. |
@leusbj I think the next release of the SDK should bump |
@CZEMacLeod Would like this change to the 'MicrosoftNetCompilersToolset_Version' incorporated with the pending changes to support CPM? Or since the CPM isn't as straight forward, do this change as a standalone change, and back that change into the PR for the CPM Stuff? |
@leusbj V4.0.88 includes the new version (V4.5.0 in fact). I felt that getting a couple of small changes in to fix some of the outstanding issues was a good bet, then we can do the CPM work as a separate task. |
I just upgraded my Visual Studio Professional 2022 instance to version 17.5.0, which was released on 21 February 2023.
My
MSBuild.SDK.SystemWeb/4.0.82
projects do not load any more:The log file shows:
I could workaround this by adding property
CommandLineArgsForDesignTimeEvaluation
to my.csproj
files (source):The text was updated successfully, but these errors were encountered: