Share via

VS2019 throws exception and code gets mangled

percy klaasch 1 Reputation point
2021-02-24T23:22:05.663+00:00

Every once in a while, randomly (but when i'm closing in on a deadline) an error message pops up in VS2019 that offers me the opportunity to open a log file. I haven't opened it so I don't know what the problem is yet, but after it happens my code is completely mangled and there's other stuff inserted like this

/* END EXTERNAL SOURCE /
/
BEGIN EXTERNAL SOURCE /
function name17() {
function() { location.href = 'RentForecast'; }
}
/
END EXTERNAL SOURCE /
/
BEGIN EXTERNAL SOURCE /
function name18() {
function() { location.href = 'TaxForecast'; }
}
/
END EXTERNAL SOURCE /
/
BEGIN EXTERNAL SOURCE /
function name19() {
function() { location.href = 'Review'; }
}
/
END EXTERNAL SOURCE /
/
BEGIN EXTERNAL SOURCE /
function name20() {
function() { location.href = 'FinalReview'; }
}
/
END EXTERNAL SOURCE /
/
BEGIN EXTERNAL SOURCE */

can anyone explain why this is happening and how to solve it>

Many thanks in advance and beyond!

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

Developer technologies | ASP.NET Core | Other

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.