<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I'm just sayin' - All Comments</title><link>http://blogs.msdn.com/b/ed_maurer/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: NXCOMPAT and the C# compiler</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#10202085</link><pubDate>Mon, 29 Aug 2011 23:15:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10202085</guid><dc:creator>Sharad </dc:creator><description>&lt;p&gt;Is Ed Maurer beiing facetitious when he says they love it so much!!?? Talk of &amp;quot;seemless backward compatiblity&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10202085" width="1" height="1"&gt;</description></item><item><title>re: Please allow me to introduce myself</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/07/please-allow-me-to-introduce-myself.aspx#10097456</link><pubDate>Sun, 28 Nov 2010 05:53:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10097456</guid><dc:creator>Ed Maurer</dc:creator><description>&lt;p&gt;I am also responsible for F***ing up the compilers in Microsoft and also screwing employees. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10097456" width="1" height="1"&gt;</description></item><item><title>re: NXCOMPAT and the C# compiler</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#9883970</link><pubDate>Tue, 25 Aug 2009 21:45:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9883970</guid><dc:creator>rowter</dc:creator><description>&lt;p&gt;I got a mappoint failed to load error.&lt;/p&gt;
&lt;p&gt;What should i include in the &amp;quot;$(TargetPath&amp;quot;)&amp;quot; . What should this be pointing to?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9883970" width="1" height="1"&gt;</description></item><item><title>re: NXCOMPAT and the C# compiler</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#9188574</link><pubDate>Wed, 10 Dec 2008 04:06:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9188574</guid><dc:creator>sdasari</dc:creator><description>&lt;p&gt;I am using VS 2005 and Mappoint Active X control, when i build the application on Vista i am getting the error Mappoint Failed to Load. The i have added the &amp;nbsp;&lt;/p&gt;
&lt;p&gt;call &amp;quot;$(DevEnvDir)..\..\VC\bin\vcvars32.bat&amp;quot;&lt;/p&gt;
&lt;p&gt;call &amp;quot;$(DevEnvDir)..\..\VC\bin\editbin.exe&amp;quot; /NXCOMPAT:NO &amp;quot;$(TargetPath)&amp;quot;&lt;/p&gt;
&lt;p&gt;and executed the application, this time Mappoint is working fine. When i deploy same project with ClickOnce deployment, i am getting Mappoint Failed to load on Vista Desktop. Please suggest me, how can i solve this problem.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9188574" width="1" height="1"&gt;</description></item><item><title>re: NXCOMPAT and the C# compiler</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#9129730</link><pubDate>Thu, 20 Nov 2008 20:15:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9129730</guid><dc:creator>ajsllc</dc:creator><description>&lt;p&gt;I should have added that I am using Visual Studio 2008&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9129730" width="1" height="1"&gt;</description></item><item><title>re: NXCOMPAT and the C# compiler</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#9129652</link><pubDate>Thu, 20 Nov 2008 19:49:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9129652</guid><dc:creator>ajsllc</dc:creator><description>&lt;p&gt;I added this to my post-build event on a VB project.&lt;/p&gt;
&lt;p&gt;call &amp;quot;$(DevEnvDir)..\..\VC\bin\vcvars32.bat&amp;quot;&lt;/p&gt;
&lt;p&gt;call &amp;quot;$(DevEnvDir)..\..\VC\bin\editbin.exe&amp;quot; /NXCOMPAT:NO &amp;quot;$(TargetPath)&amp;quot;&lt;/p&gt;
&lt;p&gt;It executes successfully, but if the &amp;quot;primary output&amp;quot; of that project is included in a deployment project, the exe that gets included in the output MSI does NOT have DEP disabled.&lt;/p&gt;
&lt;p&gt;I have found that targetpath points to .....\projectname\\bin\x86\Release\projectname.exe&lt;/p&gt;
&lt;p&gt;by experimentation, I have also found that if I edit bin ......\projectname\bin\x86\Release\\..\..\..\obj\x86\release\projectname.exe&lt;/p&gt;
&lt;p&gt;that is, the obj folder instead of the bin folder&lt;/p&gt;
&lt;p&gt;then the exe that gets included in the MSI DOES have DEP disabled.&lt;/p&gt;
&lt;p&gt;I'm a happy camper, my problem is resolved, but I am curious as to why.&lt;/p&gt;
&lt;p&gt;Is it that the deployment project pulls the output from the wrong folder,&lt;/p&gt;
&lt;p&gt;or is it some timing issue about when things are copied from obj to bin?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9129652" width="1" height="1"&gt;</description></item><item><title>re: NXCOMPAT and the C# compiler</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#9001994</link><pubDate>Thu, 16 Oct 2008 19:57:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9001994</guid><dc:creator>N!kky</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I've got a similar issue. I've got a bug with by COM Interop and by using the following command in my build it get rids of the issue:&lt;/p&gt;
&lt;p&gt;call $(DevEnvDir)..\tools\vsvars32.bat&lt;/p&gt;
&lt;p&gt;editbin.exe /NXCOMPAT:NO $(TargetPath) &lt;/p&gt;
&lt;p&gt;I've got it to work without signing my assemblies with a strong Name. However when we release our software we need to sign our assemblies using a .snk file. I've added the above code to my post build event however i can no longer run my app since it fails with Strong Validation Failed. What i need to do is call the above code and then sign my .exe file. How do i do this through the post build events? I'm currently using the Signing tab in visual studio 9 in my projects properties to sign my assemblies. Is there any other way to do this via the post build event?&lt;/p&gt;
&lt;p&gt;Have seen the following command but can not get it to work because i dont know what to put for MyModule.netmodule parameter&lt;/p&gt;
&lt;p&gt;al /out:MyAssembly.dll MyModule.netmodule /keyfile:sgKey.snk&lt;/p&gt;
&lt;p&gt;Any ideas? Any suggestions will be help. Thanks in advance.&lt;/p&gt;
&lt;p&gt;Regards Nik&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9001994" width="1" height="1"&gt;</description></item><item><title>Disable DEP on applications</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#8961725</link><pubDate>Tue, 23 Sep 2008 03:05:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8961725</guid><dc:creator>Gaurav Bodar's Blog</dc:creator><description>&lt;p&gt;Windows vista wont Allow ATL control on the machine. We have Data Execution Prevention to stop Executing&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8961725" width="1" height="1"&gt;</description></item><item><title>re: NXCOMPAT and the C# compiler</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#8958302</link><pubDate>Fri, 19 Sep 2008 09:26:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8958302</guid><dc:creator>rajshreedugar</dc:creator><description>&lt;p&gt;Hi Awe,&lt;/p&gt;
&lt;p&gt;try the following in the post build event command line:-&lt;/p&gt;
&lt;p&gt;call &amp;quot;$(DevEnvDir)..\..\VC\bin\vcvars32.bat&amp;quot;&lt;/p&gt;
&lt;p&gt;call &amp;quot;$(DevEnvDir)..\..\VC\bin\editbin.exe&amp;quot; /NXCOMPAT:NO &amp;quot;$(TargetPath)&amp;quot;&lt;/p&gt;
&lt;p&gt;This works fine for VS2005. You might want to change the location if you are using any other versions of VS. But be sure to include the path within quotes.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Rajshree&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8958302" width="1" height="1"&gt;</description></item><item><title>re: NXCOMPAT and the C# compiler</title><link>http://blogs.msdn.com/b/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx#8878679</link><pubDate>Tue, 19 Aug 2008 16:01:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8878679</guid><dc:creator>awe</dc:creator><description>&lt;p&gt;I tried to run it on my exe, and it worked fine.&lt;/p&gt;
&lt;p&gt;Then I tried to include it in the post-build event like you said:&lt;/p&gt;
&lt;p&gt;call $(DevEnvDir)..\tools\vsvars32.bat&lt;/p&gt;
&lt;p&gt;editbin.exe /NXCOMPAT:NO $(TargetPath)&lt;/p&gt;
&lt;p&gt;This gave the following error when I build it:&lt;/p&gt;
&lt;p&gt;The command &amp;quot;call C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\..\tools\vsvars32.bat&lt;/p&gt;
&lt;p&gt;editbin.exe /NXCOMPAT:NO D:\Work\DotNet\RadiusStudio.NET\RadiusStudio\bin\Release\StudioVision.exe&amp;quot; exited with code 9009.&lt;/p&gt;
&lt;p&gt;This is also a problem inside Visual Studio, because it is a GUI control that fails to load in the forms designer. Could this be solved by running EDITBIN.EXE on devenv.exe?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8878679" width="1" height="1"&gt;</description></item></channel></rss>