I am developing a .net project.  The solution has 14 projects, of
varying size.  The compiled IL is a total of 640k so far.  So it's
getting big, but
you wouldn't expect there to be any problems.

Today VS.NET has started refusing to build my project in debug mode.  A
simple 'using Adastra.CMS.Business' statement gives the standard
reference problem message:

"Main.cs(8): The type or namespace name 'CMS' does not exist in the
class or namespace 'Adastra' (are you missing an assembly reference?)"

However, I have got the correct project in my references.

Deleting the reference and re-adding it has no effect.
Inspecting the compiled dll with ildasm indicates that yes, the
namespace is in there.

Would you believe building a release mode version works perfectly???

I have tried full rebuilds, partial rebuilds, del *.dll /s, del *.pdb /s
and a rebuild.  I've tried restarting devenv.  I've tried rebooting.
I've deleted the solution and recreated it. I've deleted the
project that contains the adastra.cms.business namespace. I've done a
full 
repair/reinstall of vs.net; I've copied the project to another machine
and tried building it on there (same again). I've tried pulling my hair
out.  I've tried shouting.  But nothing seems
to work.

I don't understand -- seeing as a release build works fine!

This is frustrating as hell.  I've been trying to solve this for 7 hours
straight now, and you can guess how I feel about visual studio.net right
about now.

Anyone got any ideas?




Please??? ;-)

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to