-
Notifications
You must be signed in to change notification settings - Fork 680
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
Spurious "There were problems loading project" warnings #6599
Comments
@ChrisMaunder would you mind setting There is definitely an issue with the 7.0.100 SDK (will have a fix shortly), but that shouldn't cause project load warnings. Can you also confirm there are no warnings on a normal dotnet CLI build of the project? |
Fix for the no compatible runtime error - #6601 |
The project builds cleanly. No errors whatsoever. |
Looks like I'm no longer seeing this issue on my Windows machine, but on an arm64 RaspberryPi I still get it. My system is
dotnet info
Trace:
|
Apologies for the delay here, the error listed seems to be a real error loading the project:
Fixing that should resolve the error I believe. Otherwise if you don't want anything to load, you can set Otherwise if you things to try to load even with errors, we currently don't have a mechanism of suppressing the pop ups. If that is the case let me know and I can repurpose this issue in to tracking that feature request. |
Closing as duplicate of #7472 for tracking suppression of project load failures |
Type: Bug
When loading a solution that contains C# projects there is often a warning "There were problems loading project" with a link to the logs. The logs show the project loading just fine.
Request A flag to be able to disable this warning. There used to be with Omnisharp, but we no longer seem to have the option
Steps to Reproduce
Open a VSCode window. Or even just trigger a UI refresh.
Expected Behavior
No warnings
Actual Behavior
Warnings that are unhelpful and incorrect
Logs
C# log
server.csproj (a .NET project) was the project that triggered the warning. The line "no compat .NET runtime found" is odd since a dotnet --info shows
C# LSP Trace Logs
Environment information
VSCode version: 1.83.1
C# Extension: 2.8.23
Using OmniSharp: false
Dotnet Information
Host:
Version: 7.0.13
Architecture: x64
Commit: 3f73a2f186
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.NETCore.App 7.0.13 [/Users/me/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~x64/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
Extension version: 2.8.23
VS Code version: Code 1.83.1 (Universal) (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:46:55.789Z)
OS version: Darwin x64 23.0.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
The text was updated successfully, but these errors were encountered: