问题
I'm actually trying to fix this issue where my projects are always out of date by using the steps outlined in this answer to enable system logging.
However I can't find devenv.exe.config
or the matching .exe file anywhere on my machine let alone in either C:\Program Files
or C:\Program Files (x86)
.
I'm running Windows 7 SP1 (which I presume isn't particularly relevant) and VS2010 Express SP1. I was thinking that maybe devenv isn't available in the Express version but I can't find any info to either confirm or deny my theory.
Can anyone suggest why I don't have devenv.exe and whether I should or not?
If not, how do I fix the "always out of date" issue without being able to get a proper log that tells me what's causing the problem?
回答1:
The name of the executable (and, of course, the associated configuration file) is dependent upon which type of Visual Studio you're running. Normally, this is devenv.exe
. In the case of Visual Studio Express, you should be able to locate vcexpress.exe
.
A similar configuration file is available as vcexpress.exe.config
, and you should be able to place your system.diagnostics
configuration in that file.
回答2:
you can find your path by
- right click on icon and select property window
- in shortcut tab you can find out in target textbox
In my VS 2012 Express it looking as :
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\VWDExpress.exe"
回答3:
In my case of "Microsoft Visual Studio 2012 Express Version4 for Windows Phone" it's the path "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\VPDExpress.exe"
回答4:
Just start a new process from task manager as shows below
File>Run New task>devenv.exe
回答5:
In the case of "Microsoft Visual Studio 2010 Express for Windows Phone" it´s the VPDExpress.exe (.config) \Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE
来源:https://stackoverflow.com/questions/9778593/vs2010-express-missing-devenv-exe-so-i-cant-fix-project-out-of-date-issue