<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Entries for Dark_Halmut</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/niners/dark_halmut/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Entries for Dark_Halmut</title><link>http://channel9.msdn.com/Niners/dark_halmut/</link></image><description>Entries, comments and threads posted by Dark_Halmut</description><link>http://channel9.msdn.com/Niners/dark_halmut/</link><language>en-us</language><pubDate>Tue, 12 Feb 2008 21:06:28 GMT</pubDate><lastBuildDate>Tue, 12 Feb 2008 21:06:28 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>.Net dll built for COM, target machine fails [.Net dll built for COM, target machine fails]</title><description>I have a C# dll built for COM and its all fine for my machine. I have a sample vm setup running just XP, .net 1.1 and 2.0 to serve as a test target machine.&lt;BR&gt;&lt;BR&gt;My legacy application is file-server(exe sits on network) and this cannot change. Doing things the right way I install my dll(and interop.xxx&amp;nbsp;files) to C:\Docs and Settings\whatever\App Data\CompanyName\&lt;BR&gt;&lt;BR&gt;Now I know I need to get the class into the GAC so that my legacy app can see&amp;nbsp;it over COM. I couldn't do this straight up as the gacutil isnt part of the .net runtime(so the target machine doesnt have it). I wrote a little installer/uninstaller exe which does this using System.EnterpriseServices.Internal.Publish.gacInstall(). &lt;BR&gt;&lt;BR&gt;I made sure my dll was strongly typed via the .net command prompt doing sn -k whatever.snk and adding that to the project as the key file.&lt;BR&gt;&lt;BR&gt;Ok, I can browse to C:\Windows\Assembly and see my class there but my legacy app still fails when creating the object on the target machine...&lt;BR&gt;&lt;BR&gt;What gives? :(&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/260936-Net-dll-built-for-COM-target-machine-fails/'&gt;.Net dll built for COM, target machine fails&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/260936/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/260936-Net-dll-built-for-COM-target-machine-fails/</comments><link>http://channel9.msdn.com/forums/TechOff/260936-Net-dll-built-for-COM-target-machine-fails/</link><pubDate>Tue, 12 Feb 2008 21:06:28 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/260936-Net-dll-built-for-COM-target-machine-fails/</guid><evnet:views>937</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/260936/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I have a C# dll built for COM and its all fine for my machine. I have a sample vm setup running just XP, .net 1.1 and 2.0 to serve as a test target machine.My legacy application is file-server(exe sits on network) and this cannot change. Doing things the right way I install my dll(and interop.xxx&amp;nbsp;files) to C:\Docs and Settings\whatever\App Data\CompanyName\Now I know I need to get the class into the GAC so that my legacy app can see&amp;nbsp;it over COM. I couldn't do this straight up as the gacutil isnt part of the .net runtime(so the target machine doesnt have it). I wrote a little&amp;#8230;</evnet:previewtext><dc:creator>Dark_Halmut</dc:creator><slash:comments>3</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/260936-Net-dll-built-for-COM-target-machine-fails/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/260936/Trackback.aspx</trackback:ping></item></channel></rss>