question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option to disable "some projects had problem opening" warning popup

See original GitHub issue

In the latest version of VS Code, where the alerts are shown in the bottom right, I seem to get a stupid amount of these during a re-build.

“Some projects have trouble loading. Please review the output for more details.” “Some projects have trouble loading. Please review the output for more details.” “Some projects have trouble loading. Please review the output for more details.” . . . . Did we have a way of disabling this message? It’s showing 10 times during a build, and it’s annoying the life out of me.

It’s trying to warn me about using 4.6.1 references in a netcoreapp2 project (which I know might blow up, but I’m aware of the consequences and what I’m doing here).

[warn]: OmniSharp.MSBuild.ProjectLoader
        Package 'FluentMigrator.Runner 1.6.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.

Any way I can either disable all omnisharp popups or this ProjectLoader WARN in particular?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

34reactions
tewaridcommented, Aug 28, 2018

For whoever lands here looking for an answer, add the following to user settings

"omnisharp.disableMSBuildDiagnosticWarning": true
6reactions
johnkorscommented, Mar 29, 2018

@rchande Sorry if this was unclear in my OP, but this issue is not with the location of the pop-up. It’s with the pop-ups presence in the first place. I don´t care it was moved from top center to bottom right. I care with the frequence of which I have to hit ESC to get rid of pop-ups that really are build/restore WARNs. This WARN msg could easily have been put into the build log instead of a pop-up, similarly to what VS does.

@DustinCampbell Yeah, I’m aware of ESC closing pop-ups. I just don’t get why OmniSharp has to push this in my face. Or why I need to hit ESC this often at all.

This is the second issue I’ve raised with OmniSharp pushing pop-ups in VS Code for no real good reason (imo). Am I really the only one finding pop-ups as a concept of feedback really intrusive? A pop-up should be last resort imo (ERROR/FATAL).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Preventing Security Warning Dialog Box for Projects in Visual ...
You can prevent this dialog box by following steps: Navigate to Tools -> Options from the main menu. From the Projects and Solutions...
Read more >
Enable or disable security alerts on the Message Bar
The Message Bar displays security alerts when there is potentially unsafe active content (such as macros, ActiveX controls, data connections and so on)...
Read more >
Suppress a warning for all projects in Visual Studio
From the menu bar, choose Project > Add New Item; or press Ctrl+Shift+A. Select the editorconfig File (.NET) template to add an EditorConfig ......
Read more >
No way to disable Error List window - Visual Studio Feedback
Despite setting this option to off: Options -> Projects and Solutions -> General -> Always show Error List if build finishes with errors....
Read more >
Disable and suppress inspections | IntelliJ IDEA Documentation
In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Editor | Inspections. · Locate the inspection you want to disable, and clear the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found