-
Notifications
You must be signed in to change notification settings - Fork 94
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
CsWin32 causes analyzer load issues due to System.Text.Json usage #469
Comments
Looks related: #221 |
This may have been fixed in #459. Can you try the latest from our CI build (see instructions at the bottom of our readme) and let me know if this repros? |
@AArnott Still happens with |
I am facing the same problem, using CsWin32 version
|
Also able to replicate this on |
I tried with 0.1.647-beta, but can only run successfully on a clean repo (with |
I've reached out to the roslyn team for help because I don't know what's causing this failure. |
A new development build dotnet-format is available which has a fix for this issue. The new build will be inserted into the 6.0.4xx SDK as well as the next 7.0.1xx Preview SDK. You can find instructions on how to install at https://github.com/dotnet/format/tree/release/6.x#how-to-install-development-builds. Do note that you will invoke the global tool installation as |
Actual behavior
dotnet format
fails with:Expected behavior
No errors.
Repro steps
dotnet new -f net6.0 console
dotnet add package --prerelease --version 0.1.619-beta microsoft.windows.cswin32
dotnet build
dotnet format
The text was updated successfully, but these errors were encountered: