I’m developing a desktop application. For that I’m creating class libraries. At the development time I have to rebuild the class library multiple times for functional testing and update reference to DLL. But once I add a reference to a DLL, then add some code to a class file and rebuild it, and add a reference to the newly built DLL, it’s not updating the reference. It refers to the old DLL only.
I’m developing a desktop application. For that I’m creating class libraries. At the development
Share
That’s the expected behavior for what you are doing. By manually adding the reference DLL, you are simply copying the compiled file at that time, so further compiles will not update the copied DLL.
What you want is to add a project reference to the working project.
How to: Add a Reference to a Visual Studio Project in a Web Site