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

Home Posts Topics Members FAQ

Compile errors in VS.Net 2003

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

Jul 21 '05 #1
1 1614
Check whether your Configuration Manager settings is correct. Try ticking all
the entries in the 'Build' column - this might be the problem.

If this doesn't help, may be you should try re-installing VS.NET though I
know it's a loooong process.

HTH,
Rakesh

"Ravi Chaudhary" wrote:
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

Jul 21 '05 #2

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

Similar topics

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...
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...
1
2071
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
307
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
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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...
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();...
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.