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
171
votes
31 answers

Taskkill /f doesn't kill a process

When I start up an Experimental instance of VS from VS for debugging and stop debugging (sometimes directly from the parent VS), a zombile devenv.exe process remains running which I am unable to kill. It holds on to many of my dlls. As I am logged…
dushyantp
  • 4,398
  • 7
  • 37
  • 59
142
votes
5 answers

specify project file of a solution using msbuild

I want the commandline for building a particular project of a solution using msbuild like we do with devenv.com.In devenv.com we can specify a project of a solution using following commandline devenv.com /Build Release|x86 test.sln /project…
mystack
  • 4,910
  • 10
  • 44
  • 75
116
votes
19 answers

An error occurred while validating. HRESULT = '8000000A'

I have been receiving this error for a while when using devenv on an automatic build. I have gone through every website I can find, and the usual answers mention refreshing dependencies (Which I believe fixes it for manual deployment, but not for…
Chris C.
  • 1,217
  • 2
  • 10
  • 6
41
votes
5 answers

MSBuild vs devenv for command line builds

I was wondering: what is the difference between using msbuild and devenv when compiling solutions from the command line? One obvious thing noticed was that msbuild does build dependent projects not contained within the solution, while devenv does…
Filip Frącz
  • 5,881
  • 11
  • 45
  • 67
36
votes
2 answers

QualityToolsPackage failed to load in build?

I am using Bamboo [from Altassian] and it uses the devenv.com builder to build solution files. Currently, I seem to be getting a "false" error in my builds - that I've tried to solve by myself but just can't - so I thought I would ask. Each build…
Tom
  • 421
  • 4
  • 7
32
votes
2 answers

Using devenv.exe from the command line and specifying the platform

I'm attempting to compile a visual studio solution using devenv.exe from the command line. I can get it to work but all the projects in the solution are compiled for AnyCPU and I want them to be compiled for x86. Both the debug and release…
user2687412
  • 353
  • 1
  • 3
  • 6
29
votes
6 answers

Compile Setup project with devenv.com - "ERROR: Unable to update the dependencies of the project"

I have a Setup deployment project in VS 2010. The project compiles perfectly with the GUI interface of VS 2010, but any time I trying to compile it via vs cmd (devenv.com) it comes up with this error: ERROR: Unable to update the dependencies of the…
Orad SA
  • 1,885
  • 5
  • 16
  • 16
24
votes
7 answers

reliable way to find the location devenv.exe of Visual Studio 2017

I need to run scripts that build a visual studio solutions using devenv.exe (or devenv.com for that matter). For visual studio 2015 there was an environment variable %VS140COMNTOOLS% that I could use to find the install location of devenv. Since…
bitbonk
  • 48,890
  • 37
  • 186
  • 278
19
votes
2 answers

Visual Studio sometimes detects configuration issue on jenkins CI server

I have Jenkins CI server which builds various .net projects. The server is on Virtual Machine, connected to ActiveDirectory and Jenkins is running in the context of domain user which is also a local administrator. Software used: Windows 10…
18
votes
5 answers

Visual Studio regularly freezes running Microsoft.VisualStudio.Web.Host.exe

Background I maintain several web sites that are Visual Studio "Web Site Projects". Problem I've found that with a couple of these projects, Visual Studio regularly freezes while I'm working on the code. This doesn't happen for some of the web site…
Sam
  • 40,644
  • 36
  • 176
  • 219
17
votes
5 answers

devenv process keeps running in background after I close Visual Studio 2015

Problem When I close Visual Studio 2015 by pressing the close button on the IDE, the devenv.exe process keeps running in background between 3-5 minutes, after that time, it closes automatically, really strange. I discovered this issue because I…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
16
votes
1 answer

Why msbuild is so slow when nothing has changed since the last build of the solution?

I have a solution with 109 projects. A mix of all - .NET, Silverlight, MVC, Web Applications, Console applications. Now I build it on the console using msbuild. It takes some time. Understandable - lots of projects, lots of files. But when I build…
mark
  • 59,016
  • 79
  • 296
  • 580
16
votes
1 answer

Run a solution from Visual Studio console without opening the IDE

I am using Visual Studio 2010 SP1. What I first tried was this: Open the Visual Studio console tool from start menu Navigate to project folder (which already contains an executable) Run: msbuild myproject.sln or msbuild myproject.sln…
Vlad Otrocol
  • 2,952
  • 7
  • 33
  • 55
14
votes
6 answers

" 'devenv' is not recognized as an internal or external command ..."

Is there a way to just open a VS project from the command prompt? For example, the way with Atom, you can navigate to the folder you'd like to open and just run "atom ." Does that kind of utility exist for VS? edit: Would the equivalent to this be…
spb
  • 4,049
  • 6
  • 22
  • 30
13
votes
5 answers

how do I add preprocessor #define in devenv command line?

Is there a way to add extra preprocessor #define in devenv command line?
Paulius Liekis
  • 1,676
  • 3
  • 18
  • 26
1
2 3
14 15