-
Notifications
You must be signed in to change notification settings - Fork 868
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
Latest Visual Studio 2022 update v17.5.1 breaks docfx #8465
Comments
After spending a couple of days looking at this with the a copy of the repo I have also noticed that the static class
This throws the following error:
I thought this odd so I created a .NET Framework 4.8 console app that calls this method and it works however, I created .NET 6.0 console app and I get the same error message as above. I have subsequently found this issue #197 on the Microsoft.Build.Locator repo. Whether there is any link I don't know, and why the error message is different I'm also unsure but I thought I would mention it. |
What did you get from |
|
My colleague had his development environment still configured to SDK 7.0.103 and his worked we then upgraded his dev environment to SDK 7.0.201 and his also failed with the same error. |
The problem most likely is that the docfx package already comes with NuGet.*/ At least that would be my guess. |
Thank you @yufeih everything is now working! |
Describe the bug
The latest Visual Studio update to v17.5.1 bumps the .NET SDK to version 7.0.201 and this appears to have caused dependency issues when running the
docfx docfx_project/docfx.json --serve
command.I recieve the following failures against multiple .csproj files
I subsequently receive lots of build errors for example
To Reproduce
Update Visual Studio 2022 to v17.5.1 and run a docfx project that targets .NET6.0 class library project.
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: