in my solution:
- I have a class library project that compiles in a dll.
- I have a web project.
(I have several solutions with different web projects, but the same class library)
one of the files in the class project (utilities.cs) - unexpectedly will not compile in .dll
I made changes to this file, but this change will not be displayed on the website. so I set a breakpoint in the .cs file and tried to start it ... the breakpoint didnβt hit! I eventually set a breakpoint in the .aspx file that called the function. then I typed the debugger on one line, so it will go into the .cs file, except that I got an error:
"This source file has changed. It no longer matches the version of the file used to create the debugged application."
therefore the code in utilities.cs is not updated in the dll. which is strange because the code in my other .cs files is being updated (I tried to change a few lines) and I was able to catch the debug version.
any ideas how to fix this? or even the cause of the problem?
c # dll
Sean
source share