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
4 answers

Building MSI from TFS Build

I am trying to build MSIs in a TFS Build by shelling out to DEVENV.exe (since MSBUILD does not support VSPROJs). In any case, my first installer project builds fine, the second one fails. If I reverse the order, same thing happends (i.e. the error…
user472292
  • 1,069
  • 2
  • 22
  • 37
0
votes
1 answer

Joomla Custom Compoment Dev Env : Hot Deployment

I'm planning on developing a Joomla custom component and storing the files in a git repo. The structure of my git project will mimic the deployed joomla struture -administrator -components -com_abc -components -com_abc -modules …
emeraldjava
  • 10,894
  • 26
  • 97
  • 170
0
votes
1 answer

devenv command line build evironment variable / parameter

I am currently using a script to build my project, the script is something like devenv.exe mySolution.sln /Rebuild "Release|Win32" /Project "my project" This is working out great, and I am hoping to expand on it. What I want to do is pass an…
tonyg
  • 197
  • 2
  • 13
0
votes
0 answers

Conditionally change envivornment variable after app is build in react native

I have configured react-native-config in my app, made two envs file i.e env.dev & env.prod. Now everything is working as per configuration. But now I want to change env to dev or prod depending on the file downloaded from AWS S3 service( some third…
0
votes
0 answers

Docker Dev Environment: files created in build process are lost when opening in VSCode

To be clear: I'm talking about the Docker-Desktop feature "Dev Environments". See here. I think I'm missing something about the build process of Docker DevEnv. When I build my DevEnv I can see in the logs that npm install is running and necessary…
0
votes
1 answer

devenv.exe creates empty bin folder with no Nuget package

I'm using Visual Studio 2022 to build a .Net Core 7 dll. The solution contains a single project. When I rebuild the solution I want to create a Nuget package. This works fine when I select "Build - Rebuild solution" from inside visual studio. My…
Tom Regan
  • 3,580
  • 4
  • 42
  • 71
0
votes
2 answers

Building SSIS Project with VS2022 fails with error

Builing/Rebuilding an Integration Services project (SSIS) in Visual Studio 2022 started failing after I merged my branch into the main branch. Although it says that there should be more specific errors preceding this one but there is no error before…
Khadim Ali
  • 2,548
  • 3
  • 33
  • 61
0
votes
0 answers

Debugging Code After Batch File Reinstall of Plugin

I have a windows forms app that is developed as a plugin for another application. When the parent application starts, the plugin is loaded. For debugging, the manual process is to: Make code changes Rebuild the setup project Uninstall the…
beeker
  • 780
  • 4
  • 17
0
votes
1 answer

convert devenv parameters to msbuild parameters

I am migrating a few solutions into azure devops and want to use the MSBuild Task to build them. The are currently build using devenv with the following commands: devenv.com file.vcxproj /rebuild "unittest debug" /project project_name I thought I…
user25470
  • 585
  • 4
  • 17
0
votes
0 answers

Difference between building solution file with devenv.com and building in Visual Studio IDE

I had a Jenkins VM setup to build project however it suddenly failed one day when building solutions from commandline like this: devenv.com /useenv /build "Release|x64" "build\myproject.sln" It's giving errors like: error C3861:…
John Yang
  • 547
  • 1
  • 8
  • 21
0
votes
0 answers

Capture solution load time in Visual Studio programmatically

I would like to measure programmatically the solution load time in Visual Studio. I'm not sure whether is possible or not but I have the following code to try to achieve it: // See https://aka.ms/new-console-template for more information using…
Carlos Torrecillas
  • 4,965
  • 7
  • 38
  • 69
0
votes
0 answers

Visual studio devenv.exe crash

My PC is going bad lately, I get blue screens once in a while and almost everyday random files become corrupted. It include infinite freezes until restart. However corrupted files are repairable by running windows disk check. But anyways I came to a…
Pizzadox
  • 1
  • 1
0
votes
1 answer

"The target "VerifyAlteredTargetsUsed" does not exist in the project" Error

When I'm using msbuild tried to build a brand new repo (based on msbuild with .net 472) I got this weird error: build error The interesting thing is that in each separate project I can build correctly. But when I use a dirs.proj and try to build…
run yang
  • 11
  • 1
0
votes
1 answer

Can cmake --build use msbuild instead of devenv

I'm using CMake 3.23 with Visual Studio 2022. From everything I found about cmake --build command it should be running msbuild, but evidently it's running devenv instead. Is there some setting I'm not aware of? How do I get it to run msbuild so I…
Igor
  • 15
  • 4
0
votes
1 answer

DutchWorkz MSI build VS Installers addon not able to see the VS2019

I am getting a weird issue where there is VS2019 installed on the build server but DutchWorkz MSI Addon only "sees" VS2013, VS2015 and VS2017, None of which is able to build MSI project due to various reasons like expired licenses and devenv.com…
Matas Vaitkevicius
  • 58,075
  • 31
  • 238
  • 265