-
Notifications
You must be signed in to change notification settings - Fork 174
CS0433 #708
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
Comments
I know where my problem is coming from because every time I open vscode, a folder called 'net461' is automatically created at a location such as 'C:\Users\hjjls\AppData\Local\Temp\dotnet-script\E\netenv\bofu\Auth'. This is the root of a series of problems I am experiencing because I have not installed any versions other than .NET 7. Therefore, if the script in the .csx file secretly decides to use another version such as net461, then it will produce the series of errors I mentioned earlier. Is there any way to solve this problem? Currently, I can only manually delete it, and deleting net461 can solve the errors such as duplicate assemblies that I mentioned earlier. |
by default omnisharp will treat your scripts as
You can also do it globally by adding this |
Ok thank you, my problem seems to be solved! |
类型“Uri”同时存在于“System.Private.Uri, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”和“System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中 [web.csx]csharp(CS0433)


The text was updated successfully, but these errors were encountered: