Cant Debug Code Library

Having spent a few days going mad looking for a way of instructing C# Express to build my code library (dll) in debug mode I have come to the conclusion that this is completely impossible. Can somebody confirm this for me please?

It shouldn't be a problem as I now intend to run a batch file on post build which will compile the code library and dependencies in debug mode and output them to the bin/debug directory.

[419 byte] By [GazNewt] at [2007-12-22]
# 1

hi,

i don't think you can debug library like that, usualy you use windows form or console application to test it,

but you can use the build menu, if your project was build successfuly then you don't have problem in your code but does this class will do what you want or not, you will have to test it in console or windows project

actualy in vs other than express its not problem because you can build more than one project in the same solution, which is not the case with express editiona

hope this helps

Egyptian at 2007-8-30 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 2
Thanks for the reply mate you are right and I came to the same realisation last night! C# Express doesn't let you debug build a code library unless it is project referenced by a C# form application (etc..).

You can create a c# solution with multiple projects though so I created a c# solution with a fake app which project references my code libraries. This builds the code libraries in debug. Then I refresh the references in my web application project.

Thanks, sorted. Hopefully this post should help anyone else who has the same problem.

GazNewt at 2007-8-30 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 3

you are welcome

in this matter C# express and vwd express are the same but there is a forum for web applications it might be more helpfull in web technical matters http://forums.asp.net

mark the answer for your question as reply plz

best regards

Egyptian at 2007-8-30 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...