devenv

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

岁酱吖の 提交于 2019-12-04 08:52:00
问题 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 project. Notice that there is NO dll that mentioned in the error (e.g. the error does NOT contain "The dependencies for the object ‘xxx’ cannot be determined"). Please do not tell me to clean all the files in this setup and start from ground up -

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

不问归期 提交于 2019-12-03 23:33:52
问题 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 there is no %VS150COMNTOOLS% for Visual Studio 2017, what would be a reliable way to find the install location of devenv in a script (bat or powershell). 回答1: You can use vswhere.exe or powershell to find your Visual Studio instances: for /r

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

南楼画角 提交于 2019-12-03 10:58:38
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 it the second time right after the first - it still takes lots of time, even if nothing is actually built - the diag msbuild log confirms it. For example, here is the Task performance summary for the first full build: Task Performance Summary: 4 ms GetSilverlightItemsFromProperty 1 calls 13 ms Move 1 calls 20 ms GetReferenceAssemblyPaths 27 calls 28

MSBuild vs devenv for command line builds

自作多情 提交于 2019-12-03 08:16:30
问题 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 not. Are there any other? Are there some special flags one could pass to msbuild to make it match the devenv build exactly? P.S. I'm using Visual Studio 2010 SP1 回答1: According to this MSDN Blog Entry they try to minimize the differences, but those

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

允我心安 提交于 2019-12-03 01:12:43
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 project. Notice that there is NO dll that mentioned in the error (e.g. the error does NOT contain "The dependencies for the object ‘xxx’ cannot be determined"). Please do not tell me to clean all the files in this setup and start from ground up - this is not a real solution! I have 5 projects with this exact error, and I don't want to re-arrange

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

橙三吉。 提交于 2019-12-01 02:26:13
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 there is no %VS150COMNTOOLS% for Visual Studio 2017 , what would be a reliable way to find the install location of devenv in a script (bat or powershell). You can use vswhere.exe or powershell to find your Visual Studio instances: for /r "usebackq tokens=1* delims=: " %%i in (`vswhere.exe -latest -requires Microsoft.VisualStudio.Workload.NativeDesktop

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

无人久伴 提交于 2019-11-30 04:52:53
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 projects, and I haven't seen it happen on any Web Application projects. Symptoms Each time it freezes, it takes about half a minute before I can use it again. During a freeze, Windows Task Manager reports that Microsoft.VisualStudio.Web.Host.exe is maxing out one of the CPU cores. Steps to Reproduce Open a .cs file under the App_Code directory. Make

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

谁说胖子不能爱 提交于 2019-11-29 02:26:04
问题 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 projects, and I haven't seen it happen on any Web Application projects. Symptoms Each time it freezes, it takes about half a minute before I can use it again. During a freeze, Windows Task Manager reports that Microsoft.VisualStudio.Web.Host.exe is

No devenv file in Microsoft visual Express 10

二次信任 提交于 2019-11-29 02:10:32
i am trying to build the google dart project on windows XP. following the installation documentation, i ran accross a problem. The python script needs to call devenv. The problem is that with Visual 10 Express, i don't have this exe which should be in C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE Where can i get this exe ? Do i need to download a prior version that visual 10 ? Malorion I had an issue that needed me to edit devenv.exe.config which doesn't exist in VCExpress and learned in the answer that the name of the exe (and of course it's matching .config file)

Taskkill /f doesn't kill a process

瘦欲@ 提交于 2019-11-27 17:00:49
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 onto this 64bit Win7 machine as Administrator, I would expect to be able to kill any process I wish to. I tried (from Administrator command prompt): End Task from Task Manager. TASKKILL /F /IM devenv.exe PSKILL devenv.exe None return any error and TASKKILL and PSKILL returned success messages of terminating/killing the process. But devenv.exe still