473,854 Members | 1,469 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Correct syntax" Pop-up from visual studio .net 2003 (language c++) for "devenv"

Hi guys,

I've written a parallel build program (in Perl) that takes a
pre-computed dependency tree of many projects in 2 visual studio .net
2003 solution (.sln) files here at my company, and builds projects at a
same level of dependency parallelly.

While doing this, sometimes I get "Microsoft Visual Studio experienced
some errors and needs to close" pop-up (which was gone after I disabled
error-reporting for programs from Control Panel) but I keep getting
pop-ups describing the correct syntax for running "devenv" command (I
use this command to build projects from command-line).

I've tried searching a lot of places for what this pop-up means, why it
comes up, and how I prevent its popping up? My program has a project
build retry mechanism so even if the thread building it fails, one more
thread later will build it, so I want to disable ALL popups from visual
studio and keep my programs running, without waiting for me to manually
close the popups.

Any inputs will be highly appreciated!

-Krishna

Jan 3 '07 #1
4 2492
chaitu wrote:
Hi guys,

I've written a parallel build program (in Perl) that takes a
pre-computed dependency tree of many projects in 2 visual studio .net
2003 solution (.sln) files here at my company, and builds projects at
a same level of dependency parallelly.

While doing this, sometimes I get "Microsoft Visual Studio experienced
some errors and needs to close" pop-up (which was gone after I
disabled error-reporting for programs from Control Panel) but I keep
getting pop-ups describing the correct syntax for running "devenv"
command (I use this command to build projects from command-line).

I've tried searching a lot of places for what this pop-up means, why
it comes up, and how I prevent its popping up? My program has a
project build retry mechanism so even if the thread building it
fails, one more thread later will build it, so I want to disable ALL
popups from visual studio and keep my programs running, without
waiting for me to manually close the popups.
You might want to try using vcbuild.exe instead of devenv to buld the
projects - it's a command-line tool intended for just the sort of usage
you're describing.

vcbuild.exe first appeard in VC7.1 (or maybe VC7) and is supported for VC8
as well. Just type vcbuild from a Visual Studio 2003 Command Prompt to see
the command-line options.

-cd
Jan 3 '07 #2
Hi Carl,

I can't see vcbuild in my installation here. I am using Visual Studio
..NET 2003 and after a search on the entire C drive I could only find
vcbuild.dll but not .exe.

What is really irritating is this - I don't care if the thread building
the project runs into some kinda crash or failure or unhandled
exception. I just don't want those stupid popups :-( It causes my
complete thread manager program to "block wait" on the threads (I
cannot remove this block wait)!!!

I've tried disabling error reporting in
Control_Panel->System->Advanced->Error_Reportin g but STILL the Visual
Studio throws that pop-up. I just don't understand whether it's a bug
in Windows 2003 or Visual Studio .NET 2003.

Any pointers in helping me?

Jan 4 '07 #3
vcbuild.exe didn't seem to be included in my VS2003 install either. I
finally got a copy at:
http://www.gotdotnet.com/team/cplusplus/

I haven't been able to get it to work so far with a .sln file. I'm
getting "Error: project file ... was not found or not a valid project
file." It opens just fine in the IDE, so I'm at a standstill for the
moment. Maybe vcbuild doesn't like solutions (though it's supposed to
handle them; I dragged the the file into the command prompt window, so
the past must be right ???)

Another problem I had with the VS2005 version is the config name:
Release or Debug always gave an error. I finally found an answer to
that one on USENET: it must be "Release|Wi n32" (or whatever) and it
MUST be in quotes or the pipe character will cause an error too. This
may or may not apply to 2003 (can't get far enough to find out.)

If you have any better luck, don't be shy.... I'd love to know if
vcbuild.dll is useful for anything.

Paul

Jan 4 '07 #4
<ps*****@migoso ftware.comwrote in message
news:11******** **************@ 51g2000cwl.goog legroups.com...
vcbuild.exe didn't seem to be included in my VS2003 install either. I
finally got a copy at:
http://www.gotdotnet.com/team/cplusplus/

I haven't been able to get it to work so far with a .sln file. I'm
getting "Error: project file ... was not found or not a valid project
file." It opens just fine in the IDE, so I'm at a standstill for the
moment. Maybe vcbuild doesn't like solutions (though it's supposed to
handle them; I dragged the the file into the command prompt window, so
the past must be right ???)

Another problem I had with the VS2005 version is the config name:
Release or Debug always gave an error. I finally found an answer to
that one on USENET: it must be "Release|Wi n32" (or whatever) and it
MUST be in quotes or the pipe character will cause an error too. This
may or may not apply to 2003 (can't get far enough to find out.)

If you have any better luck, don't be shy.... I'd love to know if
vcbuild.dll is useful for anything.
Prior to the official release of 2005, we updated our build scripts to use
vcbuild. IIRc that version did not handle solution files, so we swtiched to
building the individual project files.
Since there were some syntactic differences between 2003 and 2005 projects,
we wrapped the call in a batch file.
build project config platform

Looking at the extension, it decides whether to use vcbuild (vcproj) or
msbuild (vbproj, csproj).

The 2005 version apparently handles solution files, though I've not tried
it.

Dennis
Jan 9 '07 #5

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

Similar topics

1
2056
by: Dave Smithz | last post by:
Hi there, Summary: Installing Visual Studio 6 AFTER Visual Studio 2003 trial and Office 2003 - Is it safe? I know this has been asked many times before, but I have seen postings about problems so wanted to clear it up for sure. I have Windows XP Pro. Already have installed Office 2003 and Visual Studio .net 2003 trial.
4
2118
by: Hawkmoth | last post by:
Hi I hope you can help with what seems to be a simple problem that is driving me nuts! I am developing a C# application using Visual studio 2003 and I need to use Office 2003 automation. In the helpfile it says to install the .Net Programmability support from Office setup or install Office using the complete option. Then select New Project in the Visual Studio 2003 IDE and choose the Microsoft Office System
5
3757
by: Anton Noll | last post by:
We are using Visual Studio 2003.NET (C++) for the development of our software in the fields digital signal processing and numerical acoustics. One of our programs was working correctly if we are using the Debug-Version of the program, but it fails (or leads to false results) if we are using the Release-Version. After a long debugging session we found out, that our program was working correctly, but the floating point processing...
1
1585
by: Nile | last post by:
helo, I needed to create office projects from Visual Studio and installed Office Pro 2003. Visual Studio 2003 in already running. But after Office installation is completed, I wasn't able to see 'Microsoft Office 2003 Projects' list in Visual Studion. This is my first time Office 2003 install. Has anyone had this scenario before? Thanks.
1
1568
by: David Gillooly | last post by:
I bought C# about 12 months ago. Is there an upgrade available now that Visuao Studio 2003 is available. Dave
0
1044
by: bizsolutiondev | last post by:
Hi all, I am using Visual Studio 2003 to develop a C# ASP.NET application. With one Web Form in particular, when I am editing the C# code-behind class, several things happen: * The intellisense seems to "disable" itself; all of the color-coded formatting of language specific keywords turns gray * I lose the ability to Undo. Sometimes I get a message box saying
4
2400
by: Skc | last post by:
We have a developer who has made an application in Visual Studio 2003 and this will not work in our version of Visual Studio 2002. Error message: Solution file loading error: The selected file is not a valid Visual Studio Solution file. When we try to load a project file, we get: Unable to read the project file. The project was created with a newer
3
1703
by: robin9876 | last post by:
Is it possible to install Visual Studio 2003 and 2005 on the same pc?
3
1823
by: Mukesh | last post by:
Hi all As per my earlier conversation with Ciaran (thx for reply) I have installed the MS APplication block on the server , when i ran Build Enterprise Library file and Install Services from (batch files ) programme files menu it was asking for visual studio 2003 , I have only .net framework on the server how can i use the MS application block data access library on my server plz help... Mukesh Agarwal
7
1838
by: Chris Marsh | last post by:
All I've been asked run a VM on my development machine, with Windows Server 2003 installed. I've also been asked to then develop against this environment from the host machine, using Visual Studio 2003. Questions: 1. Is it even possible to use VS 2003 to develop when all files and IIS are on a remote machine or VM?
0
9901
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
9751
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
10679
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
10370
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
9513
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
7914
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
5941
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4559
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
4154
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.