473,394 Members | 1,737 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

"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 2435
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_Reporting 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|Win32" (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*****@migosoftware.comwrote in message
news:11**********************@51g2000cwl.googlegro ups.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|Win32" (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
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...
4
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...
5
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...
1
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...
1
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
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...
4
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...
3
by: robin9876 | last post by:
Is it possible to install Visual Studio 2003 and 2005 on the same pc?
3
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...
7
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...

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.