We are seeking ideas on resolving a problem with linking/pdb generation when running multiple devenv.com using Visual Studio 2005.
We are getting the following intermittently errors when doing parallel builds using devenv.com.
I.e. when the following get run at the same time on the same build server:
devenv.com master.sln /build "Relea...
I read quit a few Stackoverflow Questions about building mergemodules via commandline but all of them were accepted when either somebody suggested to use devenv for compilation or use Dark to create wix-files from existing msi files.
Considering the following:
VisualStudio isn't installed on the buildserver I have to use.
I am using n...
Hi, I am trying to automate the creation of team projects using a command built into VS 2010 called File.BatchNewTeamProject using a project settings file as an argument, and executing this as a process silently in the background from my c# win app. I am aware of a requirement that Team Explorer has to be open and connected to TFS before...
Is there a way to add extra preprocessor #define in devenv command line?
...
Hi,
I am using Ant under WinXp to build MSVisual c++ projects.
To access "devenv.com", being computer-independent, I would like to use the vsvars32.bat script.
Unfortunately, it seems that env vars are defined only in the "exec" scope.
Example:
<exec executable='"${env.VS90COMNTOOLS}vsvars32.bat/>
<echo message="${DevEnvDir}" />
<ec...
Hello,
How can I catch an error in devenv? If an error occures (the build fails..) I need to print it out. How can I do that? Thanks!
...
I'm developing a C#/WPF application using Visual Studio. This app uses a com port, then releases it upon exit. I'm using the debugger to run and stop this application often. Sometimes, I get an exception when starting up a debug session saying that the com port is already in use.
The code always closes the open com port on exit, so I ra...
How can I clean a single vc project file? I tried this:
devenv SolutionName.sln /Clean SolnConfigName The\Path\to\the\FileToClean.vcproj
but it dosn't work. How can I do it? thanks
...
I need to build a solution with CAB Project.
As far as I understand I should use devenv.exe in order to build CAB.
Following command line starts devenv.exe in background:
devenv.exe MyActiveX.sln /Rebuild "Release"
Is it possible to run devenv.exe in foreground?
I would like to get build traces not in file but to stdout.
...
My buildbot has been running for 3 years using devenv.com to compile the projects on Windows.
Now devenv.com has troubles to build for 64 bits versions: passing the configuration as "Debug|x64" generates command line errors because of the pipe character. Escaping and enclosing between quotes result into other errors, some because of the...
I am using ankhsvn with my visual studio 2008 and when I tried to open the .sln file I get the following error:
The project file "blah blah blah" cannot be opened
The project type is not supported by this installation
Why is this???
...
Hi, I'm experiencing performance inconsistencies with regards to build duration when building a VS2008 solution file with either devenv or msbuild from command line.
My solution contains both C# and C++ projects, and I have these results:
devenv.exe (either command line or within the ide): 7 minutes
msbuild.exe: 14 minutes
I tried tun...
Hey folks,
I've tried to compile an application with Directx. But this causes an PRJ0030 error for $().
How can I escape critical characters like (,) or blanks. Refering to the cmd I've used ^ but it does not help.
Kind regards,
Gerrit
...
Hi,
I have a Visual studio C# solution for deploying a regression test setup. The solution contains class library, Console Application and deployment (.vdproj) projects. The output of Class Library and Console Application projects are added as files to be packaged in the deployment project. There is one project (lets call it content.csp...
Can I build a web application project with aspnet_compiler or do I need to use devenv too? If I use devenv, do I then need aspnet_compiler?
I'm a little confused as to whether I need aspnet_compiler or not with the new web application projects.
...
I'd like to build all the configurations of a VS 2008 C++ project on the command line. Something like:
devenv TheProject.vcproj /build /nologo
But this doesn't work because the /build command insists on having a configuration following it like this:
devenv TheProject.vcproj /build "Release|Win32" /nologo
Is there a way to get...
I am using Visual Studio 2008 to develop SQL Server 2008 R2 SSIS packages. Whenever I switch between applications, the components in the package lose their outlines, break point visual markers - it just looks ugly.
Here is where everything except the name and the background color is lost
I have uninstalled an reinstalled Visual Stu...
hi, i'm using VS 2008. I can compile my solution using the IDE successfully. However, when I try to build it using devenv.com, it fails saying that "ERROR: Cannot find outputs of project output group '(unable to determine name)'. Either the group, its configuration, or its project may have been removed from the solution." while building...
I'm trying to pass an additional conditional compilation symbol via devenv (vs2010) on the command line to the C# compiler.
I know it can be done for the C++ compiler through the CL environment variables.
Is there something similar possible for C#?
Since this build pass needs to run Code Analysis, I'm stuck with using devenv to lau...