all groups > visual studio .net ide > february 2004 >
You're in the

visual studio .net ide

group:

"Unspecified Error" designing controls after building solution (VSNet 2003)



"Unspecified Error" designing controls after building solution (VSNet 2003) Curtis Justus
2/27/2004 10:50:14 AM
visual studio .net ide: Hi,

I have done a lot of research on this and I haven't found an answer, so
hopefully somebody might have a tidbit on what I should do.

We have multiple developers developing a .NET application that consists of
numerous projects. Each project is configured to build its assembly into
one central "bin" location. We also have a common AssemblyVersionInfo.cs
file that we include in each project to keep the build numbers the same on
each assembly. Each project has copy local = false on each reference that
is included so that when we do a rebuild, there are warnings and error
messages for incompatible versions. When a build milestone is reached, we
run an external .BAT file that we maintain by hand that calls the following
command for each project:

C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com
<project file> /rebuild "Debug"

This all works very well. However, after a build, I get an "Unspecified
Error" when I try to view a control in the designer. My current solution is
to go into the code, hit control-X, check out the file, and hit control-A to
repaste the code. VOILA! Now it works.

We are running Visual Studio.NET 2003 and Visual Source Safe 6.0d. I have
MDAC 2.8 installed and the paths in the registry point to the correct DLL
and have the full path names.

Does anybody have any other ideas?

Thanks,
cj

Re: "Unspecified Error" designing controls after building solution (VSNet 2003) Jose Marcenaro
3/1/2004 9:57:54 AM
Hi Curtis.
I run into similar problems and don't have a satisfactory answer.
However, it seems to be some crash between the "VSNET cached version" of the
DLLs, and the newer, externally built dlls. That explains why modifying the
file works: it just alerts VS.NET that it should discard the cache.

The dirty workaround I've found is to recursively empty the C:\Document and
Settings\(myUserHere)\VSWebCache folder after each external build. You may
actually add that into your .BAT command file, or in a separate one.

Regards.
Jose

"Curtis Justus" <cjustus-nospam@ser.nospam.itis.com> escribió en el mensaje
news:%23$Kg7GV$DHA.3668@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

Re: "Unspecified Error" designing controls after building solution (VSNet 2003) Curtis Justus
3/3/2004 1:43:45 PM
Jose,

Unfortunately, those directories are empty.

Thanks,
cj

[quoted text, click to view]

Re: "Unspecified Error" designing controls after building solution (VSNet 2003) Curtis Justus
3/5/2004 10:59:38 AM
Hello,

I think I might have found a solution. If I go into the obj\debug directory
and delete the <project name>.projdata file. Everything works fine.

Thanks,
cj

[quoted text, click to view]

AddThis Social Bookmark Button