11,567 questions
If you move code between projects you need to do a clean and rebuild to remove any partial compile artifacts.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In Visual Studio 2022 with the latest update and C#, I use two DLLs. In the first DLL, I removed an enumeration and created another one, which I compiled. In the second DLL, it also compiles, but the lines where I reference the new enumeration are highlighted in red.
If you move code between projects you need to do a clean and rebuild to remove any partial compile artifacts.