-
Notifications
You must be signed in to change notification settings - Fork 187
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
17.10 is causing MissingMethodException exceptions on upgrade #10411
Comments
Is this mentioned in the release notes or somewhere else? I was not aware that those SDK's were not supported, If I had known I wouldn't have updated my VS. |
@JuanZamudioGBM Please refer to the .NET support policy here: https://dotnet.microsoft.com/platform/support/policy |
@danroth27 reading that page I would not have been able to figure out that 8.0.1xx was not supported in 17.10. Thanks for your time. |
@JuanZamudioGBM Ah, that's a good point. The .NET SDK versioning and lifecycle is covered here and the latest 8.0.1xx SDK is still supported (@jaredpar updated his above comment accordingly). So, if you're seeing problems with the latest 8.0.1xx patch, please let us know! |
So, I updated our global.json file to use version "8.0.300" of the SDK and that resolved the initial issue. However, we are now getting a ton of these errors during compilation (mostly in our test projects):
There are a handful of other errors, too. Yet, we have an .editorconfig file at a higher level with the following statement:
It is like the build process is now ignoring our .editorconfig file and treating the diagnostic as an error instead of a warning. This might be a separate issue, which I'm still investigating, but it only started happening once we moved to a newer .NET SDK as recommended in this thread. |
@paul-schroeder-msft believe that you're running into this issue with editorconfig priorities |
So, to solve this in the near term, what I did in order to get things compiling via Visual Studio, my local command line, and our build pipeline is:
Thanks @jaredpar for the assistance! |
Closing as 17.10.2 is now released |
C# interactive window stop working on 17.10.2, it does not open at all, even after clean installation for windows & visual studio community |
@SamehSaeed please open a new issue on dotnet/roslyn for that as it's seemingly unrelated to this particular problem. |
A number of customers reported the following error when moving to 17.10.
This is caused by using the 7.0.4xx NET SDK in VS 17.10. Those SDKs are not technically supported in this release but the feedback on this bug is strong enough that we're going to try and move forward with a patch to this problem.
In the meantime customers who hit this can work around it in a few different ways. The preferred work around is moving to a newer .NET SDK which is supported like 8.0.2xx or 8.0.3xx. If that is not possible then customers can do the following for individual projects hitting this issue:
For larger solutions it’s likely easier to set that in a Directory.Build.props file so that impacts all projects:
Note This is a temporary solution. Please uninstall this package after the fix is in 17.10 otherwise you will end up hitting issues with future Visual Studio updates.
The text was updated successfully, but these errors were encountered: