Codegen failed
No edit summary
(Adding template at the end of the page)
Line 3: Line 3:


[[File:ImageCodeGenSolItem.png|none|thumb]]See also: [[Code generation not working]], [[Codegen Issues .net standard]]
[[File:ImageCodeGenSolItem.png|none|thumb]]See also: [[Code generation not working]], [[Codegen Issues .net standard]]
{{Edited|July|12|2024}}

Revision as of 14:46, 10 February 2024

If you get a message like this, especially with the text "Sometimes the files are locked by VS - please try again.", the most likely solution is to close all tabs in VS that show generated code. For example, close all tabs and restart VS to be sure no files are locked.

Codegen failed.png

If you happen to have a Solution Items node in your project - you should remove it. Not sure who put it there but it has been reported that Codegen stumbles if this is present.

ImageCodeGenSolItem.png

See also: Code generation not working, Codegen Issues .net standard

This page was edited 81 days ago on 03/14/2024. What links here