Windows Vista Beta | WinVistaBeta.com - Message | How to disable DEP for the visual studio hosting process?

November 19, 2008  
Subject: How to disable DEP for the visual studio hosting process?
Group: microsoft.public.vstudio.general
Date: 9/16/2008 4:43:00 AM
From: =?Utf-8?B?SmVuc0plbnNlbg==?= [Email Address Protection]

Recently I upgraded from VS 2005 to 2008 running on Vista x64. Unfortunately,
the software I am debugging is not compatible with DEP. For that reason I
disabled DEP using the following post build step:
call "$(DevEnvDir)..\tools\vsvars32.bat"
editbin.exe /NXCOMPAT:NO $(TargetPath)
For VS 2005 this worked, because the visual studio hosting process
$(TargetPath).vshost.exe was build with NXCOMPAT set to false. Now it seems
that beginning with VS2008 the vshost process has set NXCOMPAT=true. This
prevents me from debugging my application using VS2008.

How can I use the vshost process with DEP disabled?

Thanks in advance....

Back
Subject: Re: How to disable DEP for the visual studio hosting process?
Group: microsoft.public.vstudio.general
Date: 9/18/2008 12:13:30 AM
From: David Lowndes [Email Address Protection]

>Recently I upgraded from VS 2005 to 2008 running on Vista x64. Unfortunately,
>the software I am debugging is not compatible with DEP. For that reason I
>disabled DEP using the following post build step:
>call "$(DevEnvDir)..\tools\vsvars32.bat"
>editbin.exe /NXCOMPAT:NO $(TargetPath)
>For VS 2005 this worked, because the visual studio hosting process
>$(TargetPath).vshost.exe was build with NXCOMPAT set to false. Now it seems
>that beginning with VS2008 the vshost process has set NXCOMPAT=true. This
>prevents me from debugging my application using VS2008.

In the absence of any replies, I can only suggest that you either
phone MS support and/or report your situation on the MS connect web
site as a regression bug against VS2008 and see what MS's response is.
If you do report it on the connect site, be sure to supply a simple
example and steps to reproduce the issue.

Dave

Back