Questions tagged [devenv]

DevEnv (or DevEnv.exe) is the file name of the main executable of Microsoft Visual Studio.

DevEnv (or DevEnv.exe) is the file name of the main executable of Microsoft Visual Studio.

Use this tag for questions related to the development environment, such as questions about Visual Studio's Build Configuration Management, bugs in code that are related to running inside Visual Studio, or questions about Visual Studio Plugin development.

224 questions
5
votes
2 answers

What are the exit codes for devenv.com/exe?

Any command line application return code as exit codes that notify the host environment the final status of the instruction. VS command line: devenv.com return number of codes. Although there is no (or I can't find any) such list or post regarding…
Nilay Vishwakarma
  • 3,105
  • 1
  • 27
  • 48
5
votes
1 answer

Visual Studio 2015 Randomly Hanging

I am having an issue where my Visual Studio randomly hangs. The issue does not occur during any specific task, but randomly throughout the day. I have tried renaming %APPDATA%\Microsoft\VisualStudio\ folder to VisualStudio.backup\ to rebuild the…
Finklesteinn
  • 266
  • 1
  • 3
  • 8
5
votes
4 answers

Build merge module without Devenv from .vdproj

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…
tobsen
  • 5,328
  • 3
  • 34
  • 51
4
votes
3 answers

devenv and #define

I'm building some projects using cmd devenv. For some projects I want to #define form the command line. Is there a way to #define using the cmd and devenv? I don't want to create new configurations.
4
votes
3 answers

Visual Studio 2017 - ERROR: Unable to update the dependencies of the project (setup & deployment)

Something is causing my .vdproj to go haywire periodically and with no identifiable cause, resulting in the error message, "ERROR: Unable to update the dependencies of the project. The dependencies for the object 'Primary output from Cool Program…
technonaut
  • 484
  • 3
  • 12
4
votes
0 answers

Opening Visual Studio with a specific configuration and platform

From the command line, I would like to open Visual Studio into a specific platform and configuration (Note that this is not to build it, just to open the solution file) I'm aware of the /Command switch, but I'm unaware of a command that can satisfy…
Wagk
  • 41
  • 2
4
votes
1 answer

msbuild doesn't copy output of referenced native project to c# project out dir

I'm struggling with this for a long time now. The setup: c# project c++ project c# project has a reference for the c++ project with the following lines:
lev haikin
  • 558
  • 4
  • 17
4
votes
2 answers

How to build a QT-project in visual studio from command line

I am trying to automate the build process for one of my QT-project. I used the following command in my batch file for non-QT projects "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" "myproject.sln" /build "Debug|x64"…
Abtin Rasoulian
  • 869
  • 1
  • 8
  • 11
4
votes
1 answer

Debug|Trace.WriteLine from C# plugin in Visual Studio - display via ConsoleTraceListener

I've modified a C# plugin that's part of Python Tools for Visual Studio 2.0, and want to see the output from Debug.WriteLine and Trace.WriteLine statements in the code. Note that the plugin is used in Visual Studio 2013 itself, modifying debugging…
Tony Delroy
  • 102,968
  • 15
  • 177
  • 252
3
votes
3 answers

Devenv build command for more than one configuration

Is there way to issue one command line to build a solution with all it's configurations? Currently we have 5 configurations, so we need to issue the 5 commands in the following format: C:\Program Files\Microsoft Visual Studio 10.0\VC>devenv…
Josh
  • 8,219
  • 13
  • 76
  • 123
3
votes
3 answers

Visual Studio 2010 (devenv) Hung Process After Closing

I have problem with Visual Studio 2010 on Windows 7 64-bit. After some time of work VS starts consuming ~50% CPU and UI responding slows down. When I close VS then UI disappear but process stay. When I forgot to kill those hung processes at the end…
dariol
  • 1,959
  • 17
  • 26
3
votes
1 answer

Create a development environment for OpenCart

I am creating an e-commerce website using OpenCart and hostgator for hosting. I want to create a development environment with OpenCart installed on it so that I can view changes and edits without making them live. I also want an easy way to be able…
user889115
  • 33
  • 1
  • 3
3
votes
1 answer

Automatically stop Visual C++ 2008 command-line batch builds at first compile error using devenv.exe?

I have a similar question as given in Automatically stop Visual C++ 2008 build at first compile error but specifically for building from the command line with command-lines such as devenv.exe someproject.sln /build Release /project flubber. I want…
bgoodr
  • 2,744
  • 1
  • 30
  • 51
3
votes
2 answers

Specifying additional conditional compilation symbols via devenv for a C# solution

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…
Frederik
  • 2,921
  • 1
  • 17
  • 26
3
votes
2 answers

can build using visual studio ide but cannot build using devenv.com

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…
aslı
  • 8,740
  • 10
  • 59
  • 80
1 2
3
14 15