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
1
vote
0 answers

DevEnv hanging GetPricvateContextsPerfCounters

Visual Studio 2013 keeps locking up several times a day. I am running a fairly large MVC 4 project and suddenly the processor maxes out. I have installed perfmon and GetPricvateContextsPerfCounters has over 80% of the CPU. None of my colleagues…
Mal Clarke
  • 147
  • 2
  • 8
1
vote
2 answers

Devenv.exe with /I and whitespacess

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.
Gerrit
  • 641
  • 1
  • 5
  • 19
1
vote
0 answers

Why Visual Studio thinks .csproj.user is a dependency of the solution?

I have built my solution completely in the IDE. Closed the solution, then reopened it. Then I build it again and see the following in the diag build log: Project 'MyApp' is not up to date. Input file 'C:\abc\UI\MyApp.csproj.user' is modified after…
mark
  • 59,016
  • 79
  • 296
  • 580
1
vote
1 answer

VS2012 x64 Cross Tool Command Prompt

I have a solution with many projects that currently requires me to first run the vs2012 x64 Cross Tool Command Prompt as administrator. Then I load DevEnv and build the project from there. How do I do this using the TFS Build Environment? - Bruce
BRC
  • 71
  • 3
1
vote
0 answers

Force project AND solution upgrade from VS2010 to VS2013, not just solution file

I'm trying to upgrade solutions to Visual Studio 2013 and target .NET 4.5. I understand that targeting .NET 4.5 is as easy as right clicking on each project in each solution and changing them to 4.5. But I also want our solutions to open by…
ToastyMallows
  • 4,203
  • 5
  • 43
  • 52
1
vote
2 answers

how to clean one projectfile with devenv?

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
creativz
  • 10,369
  • 13
  • 38
  • 35
1
vote
1 answer

Visual Studio 2008 devenv running application, then leaving ghost

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…
BabaBooey
  • 1,552
  • 3
  • 21
  • 38
1
vote
0 answers

devenv only loading solutions if I supply full path

I have a folder c:\TestSolution that contains a VS2010 solution TestSolution.sln. If I'm on the command line (with appropriate vcvars.bat file already run), and I type C:\TestSolution>devenv TestSolution.sln I get the following popup: However, if I…
oz10
  • 153,307
  • 27
  • 93
  • 128
1
vote
1 answer

Nant using devenv to build and publish Visual Studio 2012 Solution?

I am attempting to merge a Visual Studio 2010 project to 2012. The 2010 solution had a deployment project which output can be replicated by publishing in 2012. Our build script looking something like this:
Shawn
  • 2,356
  • 6
  • 48
  • 82
1
vote
1 answer

Visual Studio/devenv: Ensure Preprocessor Macros run when using devenv/CLI

Using Visual Studio 2005, I have been having an issue where devenv behaves differently than the GUI IDE, even when calling VCvarsall.bat and using the /useenv switch to devenv. Something is getting called that is creating a bunch of files, even…
GL2014
  • 6,016
  • 4
  • 15
  • 22
1
vote
1 answer

Visual Studio 2012 Command Line Building - Detecting Build Failures

I'm setting up a build server for a Visual Studio 2012 project and I'm trying to add detection for failed builds so the server can properly recover after a build failure and notify users of the failure and the error message. I'm using devenv.exe…
David R
  • 13
  • 1
  • 4
1
vote
1 answer

Using devenv to pass preprocessor variables to Intel Fortran compiler

I'm using VS 2008 with Intel(R) Fortran Compiler version 10.1.025. To build my solution I'm using a batch file with the following syntax: devenv /rebuild "Release|Win32" "c:...\solution.sln" /Project "ProjectName_InTheSolution" Using the…
rsantos
  • 230
  • 1
  • 15
1
vote
1 answer

Run devenv from commandline

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim lRet& lRet = Shell("cmd /k devenv m:\myproject.sln /build Release", 1) End Sub This fails with the command line saying…
tmighty
  • 10,734
  • 21
  • 104
  • 218
1
vote
1 answer

Unable to include environment variables on VS2010 build devenv myProject.sln /build "DeBug" /useenv

In order to include environment variables in a VS2010 project build I run this in the VS2010 Command Prompt devenv myProject.sln /build "DeBug" /useenv and get the error Invalid Command Line. Unknown Switch : useenv I cannot see where I am going…
1
vote
2 answers

Builds with command line "devenv" but not with Visual Studio (sln) and MSBUild

I'm trying to set up a project with TeamCity and I was wondering what does exactly happen when I choose “Visual Studio (sln)” from the drop down menu under "Runner Type". When I choose this option my project fails to build and I get a bunch of…
Aryan Goharzad
  • 177
  • 1
  • 11