debugging C# dll
-
Hi I have created dll using C# and add reference to another project that was written in VB.net. so I have two project, one is using C#, the other one is using VB.net. Both written in Visual Studio.net 2005. When I set break point of my function from dll project because that's what I want to debug. So I started running CallingDll VB project in debug mode, I got following message
The following module was built either with optimizations enabled or without debug information: C:\myDll.dll To debug this module, change its poject build configuration to Debug mode. To supress this message, disalbe the "Warn if no user code on launch" debugger option.
Where should I change it? I went to Project\Properties, I couldnt' find anything that said Debug Mode. I looked into Debug, I found StartAction, Start Options, enable debuggers. I changed put Start external program: "c:\CallDll.exe" and then build and run the project in debug mode. but I still got the same message and I couldnt' debug myDll.dll at all neither from myDll project nor callDll project. I also looked into Build.. I dont 'see anything that is saying debug mode. I check the MSDN and saying the same thing.. to change it to Debug mode. But where should I go and change it so myDll.dll can be debug. I recreated myDll.dll and CallDll.exe using visual studio 2003. I had no prolem debugging. but not with visual studio 2005. Would anyone please tell me how to debug myDll.dll from another project like CallDll?? Thanks -
Hi I have created dll using C# and add reference to another project that was written in VB.net. so I have two project, one is using C#, the other one is using VB.net. Both written in Visual Studio.net 2005. When I set break point of my function from dll project because that's what I want to debug. So I started running CallingDll VB project in debug mode, I got following message
The following module was built either with optimizations enabled or without debug information: C:\myDll.dll To debug this module, change its poject build configuration to Debug mode. To supress this message, disalbe the "Warn if no user code on launch" debugger option.
Where should I change it? I went to Project\Properties, I couldnt' find anything that said Debug Mode. I looked into Debug, I found StartAction, Start Options, enable debuggers. I changed put Start external program: "c:\CallDll.exe" and then build and run the project in debug mode. but I still got the same message and I couldnt' debug myDll.dll at all neither from myDll project nor callDll project. I also looked into Build.. I dont 'see anything that is saying debug mode. I check the MSDN and saying the same thing.. to change it to Debug mode. But where should I go and change it so myDll.dll can be debug. I recreated myDll.dll and CallDll.exe using visual studio 2003. I had no prolem debugging. but not with visual studio 2005. Would anyone please tell me how to debug myDll.dll from another project like CallDll?? Thanks[Build][Configuration Manager] ?? Just a guess.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
-
[Build][Configuration Manager] ?? Just a guess.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."