PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, June 26, 2022

[FIXED] How do I prevent Visual Studio from duplicating errors in the error list?

 June 26, 2022     c#, compiler-errors, design-time, intellisense, visual-studio     No comments   

Issue

I have looked up this question but none of the other answers have worked for me.

I am getting duplicate messages in the error list on VS2019. I do not think it is every error and when I first open my project it doesn't do it but once I open up a XAML file it stays like that. The code raising the errors does not need to interact with the XAML file in any way (It happens on newly created classes).

One answer said it may be IntelliSense and the Compiler reporting the same error but I've always had IntelliSense + Compiler on and this problem has only been around 1-2 months. Plus I switched to IntelliSense Only and am still getting double errors.

Duplicated messages from "XamlInProcLanguageClient"

The duplicates always come from XamlInProcLanguageClient but a google search shows a single result when I google it.

Additional Info:

  • It happens on new projects and old projects.
  • I have reset my settings and the problem still persists.
  • My MSBuild project build output verbosity is "Minimal"
  • If I close and reopen the solution, the duplicates go away until a xaml file is opened.

The only thing I could think I did around 1-2 months ago that might affect this is that I downloaded VS 2022 Preview (2.1 or 3). However, I never actually opened it and have uninstalled it to attempt to fix the problem (without luck).


Solution

I was able to find this issue posted on the Microsoft Developer Community here, so it appears to have been a bug:

Intellisense content is repeatedly displayed

It says "fixed" in 17.0 which is just VS2022 and I have tested 16.11.7 (VS2019) and the problem persists. It does appear to be fixed in VS2022 so the answer is to upgrade.



Answered By - Michael Wagner
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing