473,769 Members | 6,267 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compile errors in VS.Net 2003 - VB.Net solution

Hi,

We are using VS.Net 2003 and coding in VB.net. The
solution has 38 projects; most of the projects in the
solution reference other projects (without any circular
references) and all the references were added to using the
Projects tab on the Add Reference dialog and not by
browsing to the DLL for the project.

When we build or run the solution "bogus" compile errors
show up for classes in projects that were not modified
before building the solution and in most cases are not
even open in the IDE at the time. The compile errors
typically say that a data member is missing or a control
is missing from the class and they will only go away, if
we rebuild the solution or just close and open it again.
Sometimes even while rebuilding other compile errors
related to .resources files not being accessible show up
and then we have to delete the bin and Debug folders for
the project containing the class and only then rebuild
works.

We have had this problem for some time now but it was NOT
as frequent (we saw them once or twice every week), lately
it has been happening almost every time we try to compile
the solution after making a change.

Any ideas what could be causing this? Would rebuilding the
solution by removing all the projects from it and adding
those back help?

Thanks in advance

Ravi

Nov 21 '05 #1
1 2071
Hi Ravi,

I tried to repro this with a multi project solution with several references, but I couldn't. In the cases where you get the build errors, does the project with the
build errors always reference a project that has been changed? It may be that the work around is to change the order of when the projects in the solution
are compiled (but I'm just guessing).

Craig VB.Net Team
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).
--------------------
Content-Class: urn:content-classes:message
From: "Ravi Chaudhary" <an*******@disc ussions.microso ft.com>
Sender: "Ravi Chaudhary" <an*******@disc ussions.microso ft.com>
Subject: Compile errors in VS.Net 2003 - VB.Net solution
Date: Tue, 31 Aug 2004 10:04:06 -0700
Lines: 35
Message-ID: <00************ *************** *@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcSPfIY9kqhBR5/+QqCiLSR/LAh9cQ==
Newsgroups: microsoft.publi c.dotnet.langua ges.vb
Path: cpmsftngxa10.ph x.gbl
Xref: cpmsftngxa10.ph x.gbl microsoft.publi c.dotnet.langua ges.vb:226651
NNTP-Posting-Host: tk2msftngxa12.p hx.gbl 10.40.1.164
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.vb

Hi,

We are using VS.Net 2003 and coding in VB.net. The
solution has 38 projects; most of the projects in the
solution reference other projects (without any circular
references) and all the references were added to using the
Projects tab on the Add Reference dialog and not by
browsing to the DLL for the project.

When we build or run the solution "bogus" compile errors
show up for classes in projects that were not modified
before building the solution and in most cases are not
even open in the IDE at the time. The compile errors
typically say that a data member is missing or a control
is missing from the class and they will only go away, if
we rebuild the solution or just close and open it again.
Sometimes even while rebuilding other compile errors
related to .resources files not being accessible show up
and then we have to delete the bin and Debug folders for
the project containing the class and only then rebuild
works.

We have had this problem for some time now but it was NOT
as frequent (we saw them once or twice every week), lately
it has been happening almost every time we try to compile
the solution after making a change.

Any ideas what could be causing this? Would rebuilding the
solution by removing all the projects from it and adding
those back help?

Thanks in advance

Ravi


Thanks & Regards
Santhosh Somayajulu
Internet Information Services Team,
Microsoft
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1614
by: Ravi Chaudhary | last post by:
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the references were added to using the Projects tab on the Add Reference dialog and not by browsing to the DLL for the project. When we build or run the solution "bogus" compile errors
1
313
by: rnair20 | last post by:
Hi All, I am running VB.NET 2003 . The solution has several projects. Recently I am facing several issues with compilation. It forces me to rebuild the solution for a single and simple code line change. Also sometimes after I rebuild the solution, the execution or run generates errors which do not really make any sense. Closing the applcn or rebuilding the solution solves the issue. But with the slow speed this whole process takes a good...
3
1865
by: arthur-e | last post by:
A new Machine was set up by our IS department - it came with Office Pro 2003. Access97, Word97 and Excel 97 were added. I'm trying to update an Access 97database to 2003 but get weird compiling errors - Date, Format and Left give errors. I've registered the missing (or those ocx's) that were indicated as missing- iincluding - mscomct2.ocx - and the date picker showed up but
1
1341
by: rvan | last post by:
Hi, I am trying to port one of my older MFC APP created in VC 6.0 to VC 7.0. Right away after starting the compile process, I get following errors and compilation stops. "d:\Microsoft .NET 2002\Vc7\atlmfc\include\atltime.h error C2065: 'm_hWnd' : undeclared identifier", "d:\Microsoft .NET 2002\Vc7 \atlmfc\include\atltime.h error C2501: 'LASSERT' : missing storage-class or type specifiers"
2
5744
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project in debug mode, the following errors happened: d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29): error C2365: 'new' : redefinition; previous definition was a 'member function' d:\Program Files\Microsoft Visual Studio...
7
4501
by: Holger (David) Wagner | last post by:
Hi Group, I've searched the Web for precompilers that compile ASPX/ASCX pages just like it can be done with JSPs, but so far, I've only found approaches targetted at increasing the performance. What I'd like to do this for, however, is discovering compile-time errors during my normal build. Currently, just a typo in a Property name goes unnoticed until the page is hit the first time which is not particularly satisfying (this is like...
1
1462
by: Ray Wampler | last post by:
According to the information on the Microsoft web site, code written in VB.NET 2002 can simply be recompiled using VS.NET 2003. However, I have found that code which compiles cleanly in VS.Net 2002 gets new compile errors in VS 2003. It appears that there are new scope rules in VB.NET 2003. I get "Name not declared" errors on public functions in public modules. The errors are fixed by wrapping the module in a name space and then...
2
1579
by: Samuel R. Neff | last post by:
Within the past few weeks we've been getting a lot of compiler errors in two classes when no errors actually exist. The error always reports as Name '_stepResizeRelocator' is not declared. Where _stepResizeRelocator is an instance (class level) variable. There is no compiler error on the declaration of the variable, only on use. Tthe name of the variable which causes the error changes.
27
1937
by: Rene | last post by:
I keep getting the following error every time I compile the solution under VS 2005: ---------------- Error 5 Unable to copy file "obj\Debug\xyz.dll" to "bin\Debug\xyz.dll". The process cannot access the file 'bin\Debug\xyz.dll' because it is being used by another process. ----------------
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7409
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3959
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3562
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.