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] > 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
>
>