I have one Vb.net project. When I done some changes in the code and tried to build the project, the project dll not gets updated. It is still working as per old code. Any idea?
DLL not gets updated
Collapse
X
-
In the project, did you remove the reference to the DLL and then re-add it?
And how did you reference it? Did you reference it as a "project"? If not, are you referencing a "release" version and are now creating the DLL as a Debug version (or vice versa)Comment
-
Maybe your assembly somehow got into Global Assembly Cache? You can use GacUtil /L YourAssemblyNam e to see if it's there.
You can also try to get the assembly path using Reflection:
Code:System.Reflection.Assembly assembly = System.Reflection.Assembly .GetAssembly(typeof( /* any class in that assembly */ )); MessageBox.Show( String.Format("Assembly {0}, location = {1}", assembly.ToString(), assembly.Location));Comment
Comment