<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: COM Nature of Visual Studio - Good or Bad?</title>
	<atom:link href="http://www.professionalvisualstudio.com/blog/2008/04/11/com-nature-of-visual-studio-good-or-bad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.professionalvisualstudio.com/blog/2008/04/11/com-nature-of-visual-studio-good-or-bad/</link>
	<description>Tips, Tricks, and Best Practices for professional .NET developers</description>
	<pubDate>Wed, 19 Nov 2008 22:50:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Darren Stokes</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/04/11/com-nature-of-visual-studio-good-or-bad/#comment-110</link>
		<dc:creator>Darren Stokes</dc:creator>
		<pubDate>Fri, 11 Apr 2008 23:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/04/11/com-nature-of-visual-studio-good-or-bad/#comment-110</guid>
		<description>There is still quite a bit of native windows development going on, especially for commercial software.  I know that many products for Visual Studio still use the COM api's from native code even though the .net alternative exists.  This is mostly due to intellectual property and code protection issues (.net being far easier to decompile than native code) but also due to performance.

I think it would be difficult to get a .Net implemented Visual Studio to be fast enough for the native windows development community.

One large inconvenience that you didn't mention was windows forms control development.  Since the winforms designer in Visual Studio is implemented in COM, there is some cross app domain marshalling that goes on and causes problems during development.  Developers must be extra careful to clean things up during the debug/test/dev cycle or weird problems will occur.

All this said, I believe the real answer comes down to money and quality.  It would be a very expensive undertaking for MS to rewrite Visual Studio and would take a long time to get that rewritten application to the quality level that the dev community expects.  In the end, this large expense would only benefit those extending Visual Studio using the .Net api's which is probably less than .01% of the overall .net dev community.</description>
		<content:encoded><![CDATA[<p>There is still quite a bit of native windows development going on, especially for commercial software.  I know that many products for Visual Studio still use the COM api&#8217;s from native code even though the .net alternative exists.  This is mostly due to intellectual property and code protection issues (.net being far easier to decompile than native code) but also due to performance.</p>
<p>I think it would be difficult to get a .Net implemented Visual Studio to be fast enough for the native windows development community.</p>
<p>One large inconvenience that you didn&#8217;t mention was windows forms control development.  Since the winforms designer in Visual Studio is implemented in COM, there is some cross app domain marshalling that goes on and causes problems during development.  Developers must be extra careful to clean things up during the debug/test/dev cycle or weird problems will occur.</p>
<p>All this said, I believe the real answer comes down to money and quality.  It would be a very expensive undertaking for MS to rewrite Visual Studio and would take a long time to get that rewritten application to the quality level that the dev community expects.  In the end, this large expense would only benefit those extending Visual Studio using the .Net api&#8217;s which is probably less than .01% of the overall .net dev community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anna-Jayne Metcalfe</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/04/11/com-nature-of-visual-studio-good-or-bad/#comment-108</link>
		<dc:creator>Anna-Jayne Metcalfe</dc:creator>
		<pubDate>Fri, 11 Apr 2008 07:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/04/11/com-nature-of-visual-studio-good-or-bad/#comment-108</guid>
		<description>Actually, for us this is a good thing - we develop our VSX products using native code, which allows us to target all Visual Studio IDEs from 2002 onwards (as well as the legacy VC6 and eVC4 environments) with a single binary built using Visual Studio 2008.

We simply couldn't do that with a .NET implementation due to the in-process versioning requirements of the framework (believe me, I looked into it at the outset).

This sort of implementation isn't as tricky as you'd expect, actually. With COM smart pointers most of the grot is well and truly hidden (who uses raw interfaces these days anyway?), and we've got good support libraries to back up our development. :)</description>
		<content:encoded><![CDATA[<p>Actually, for us this is a good thing - we develop our VSX products using native code, which allows us to target all Visual Studio IDEs from 2002 onwards (as well as the legacy VC6 and eVC4 environments) with a single binary built using Visual Studio 2008.</p>
<p>We simply couldn&#8217;t do that with a .NET implementation due to the in-process versioning requirements of the framework (believe me, I looked into it at the outset).</p>
<p>This sort of implementation isn&#8217;t as tricky as you&#8217;d expect, actually. With COM smart pointers most of the grot is well and truly hidden (who uses raw interfaces these days anyway?), and we&#8217;ve got good support libraries to back up our development. <img src='http://www.professionalvisualstudio.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
