question

SwaimMichaelP-9653 avatar image
0 Votes"
SwaimMichaelP-9653 asked AnnaXiu-MSFT answered

Project has invalid metadata

I'm trying to debug a web service using Visual Studio 2019 Enterprise and iis Express. When I hit a breakpoint. and try to inspect any variables, I get the error, "The Metadata for 'DMITrialServices' is invalid." Any clue how to fix this?
It's a debug build, and I've tried cleaning and rebuilding the solution, to no avail. I've also tried wiping the ASP.Net temporary directory, once I found it.
I'm running Windows 10 Enterprise version 1809. Updates are controlled by my organization, so I can't go to the latest version of Windows 10.
The application's framework version is 4.6.1.

vs-generalvs-debugging
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AnnaXiu-MSFT avatar image
0 Votes"
AnnaXiu-MSFT answered

Hi @SwaimMichaelP-9653,

Welcome to Microsoft Q&A!

Does it occur in specific project?
Please close all instances of Visual Studio and try to upgrade your VS to the latest version through VS installer > Update.
Then, delete the hidden .vs folder in the project folder and re-launch your Visual Studio to try again.

Sincerely,
Anna


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.