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
0
votes
1 answer

Compile C# 7.2 project from command line

I am creating test automation for my code generation library. I have a test project in C# 7.2. The project compiles with Visual Studio without any issues. My test is updating the code of this project. Then I want the test to compile the project,…
polina-c
  • 6,245
  • 5
  • 25
  • 36
0
votes
1 answer

Visual Studio Project Installers - Can these just package assemblies and not build them

I am trying to make some modifications to our build processes which ensure that our vdproj files do not execute builds, they just package already build DLL's from a given location. Is there any way to do that using configuration settings to…
Jamie
  • 876
  • 1
  • 10
  • 28
0
votes
1 answer

Azure DevOps devenv.com /Build Error Creating Window Handle

When trying to build a solution/project of SQL Server Integration Services projects in a pipeline using the Command Line task I receive the error "Error creating window handle" for certain projects in my solution. If I use the /Project switch to…
mheptinstall
  • 2,109
  • 3
  • 24
  • 44
0
votes
0 answers

Visual Studio Command Line Build in Release always produces DLL's in Debug

This just started happening without any changes. From inside Visual Studio, it builds correctly but from the command line even though I'm specifying release the DLL's are still being build in Debug. First I'm calling: devenv.com MySolution.sln…
Chris Ward
  • 771
  • 1
  • 9
  • 23
0
votes
1 answer

How build a project with platform configuration via devenv.exe\com?

I am trying to build a solution via devenv.com and I get errors. The command I use: set devenvCom=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.com "%devenvCom%" "C:\...\mySolution.sln" /Build…
Davis8988
  • 135
  • 1
  • 11
0
votes
0 answers

Devenv.com does not see one csproj in the sln file (command line build via Azure DevOps)

I've got a solution file (VS 2017 enterprise) which contains 12 projects - mostly csproj, and a couple of vdproj. I've got the Visual Studio Installer Projects extension installed. When I build from within Visual Studio, everything builds…
0
votes
1 answer

Open a visual studio website (not solution) from the command line

I have created a console app using visual studio to run patch files against our websites. After the patches have been applied what I want to do is to open the website in visual studio and run it. The problem I have is that the sites I have are not…
0
votes
0 answers

DevEnv to build BizTalk Visual Studio 2013 solution from command line

I'm running the following: D:\GitRecompile>"c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" MyFolder\MyApp.sln /build "Debug" It gives no error, no results, nothing. Almost like I just hit enter from the command line.…
NealWalters
  • 17,197
  • 42
  • 141
  • 251
0
votes
0 answers

Loading multiple solutions into Visual Studio 2015 on start

I have multiple solutions generated by script from cMake and I want to open all at once in a Visual Studio instance. I found /command as parameter of devenv.exe when running from command line. There are commands like File.OpenProject and…
heitho
  • 61
  • 1
  • 7
0
votes
2 answers

Command line in Visual Studio - how to close popup window?

I have situation like below. I'm running some command and then I get a popup with Y/N answer. Is there a possibility to force answer Yes and automatically close the window through command line?
truthseeker
  • 2,214
  • 6
  • 30
  • 53
0
votes
1 answer

DEVENV Command line build fails with: "This operation may only take place in the UI thread"

we virtualized our build server and having issues building some c++ projects. It is a win7 (we have some vb6 projects) with visual studio 2017. When I build a project it just errors out with "This operation may only take place in the UI…
JayTee
  • 1,114
  • 2
  • 11
  • 18
0
votes
1 answer

Troubleshooting compiler errors with many nested #include statements

The code I work with for my career is written in C++ and built with a DevEnv wrap (1.61) for Visual Studio 15. Much of the work is configuring structs through a series of #include statements that end up very nested, for example: //ObjRTC.h struct…
AChrapko
  • 166
  • 2
  • 2
  • 13
0
votes
1 answer

Deploying web applications with VS2010's devenv.exe

I'm attempting to use the VS2010 command line utility, devenv.exe, to deploy a web solution, eventually on a bamboo CI server. The problem is, when I use the /deploy parameter, the solution builds, but does not deploy. I've tried different parameter…
Tom Moseley
  • 591
  • 7
  • 15
0
votes
1 answer

No buildtime speedup after using Incredibuild with Visual Studio Solution file

I am trying to use Xoreax Incredibuild(v 8.01) to buid LLVM solution file using “BuildConsole” but I am not seeing any speedup in the build times. In the LLVM logs I can see a message Maximum number of concurrent builds reached. Waiting for a…
0
votes
1 answer

What are the differences between Visual Studio command line (devenv) and IDE builds?

I'm trying to build a Python 2.7 core dll, including a few standard modules for VS2010 with his standard toolset (v100) from Python sources: https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz After providing local versions for the external…
Michael
  • 107
  • 10