<?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>Manifested Controls Redux</title><link>http://blogs.msdn.com/b/shawnfa/archive/2008/01/24/manifested-controls-redux.aspx</link><description>Last year, I made a series of posts about a new feature available in the betas of .NET 3.5 which enabled you to specify declaratively the set of permissions that IE hosted managed controls should run with. Since the betas there have been a couple of tweaks</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Manifested Controls Redux</title><link>http://blogs.msdn.com/b/shawnfa/archive/2008/01/24/manifested-controls-redux.aspx#9571086</link><pubDate>Mon, 27 Apr 2009 18:57:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9571086</guid><dc:creator>Pavel</dc:creator><description>&lt;p&gt;It did not quite work for me. Here are some corrections to make this work:&lt;/p&gt;
&lt;p&gt;1. It is not ManifestControl.cer that has to be in Trusted Publishers certificate store. It is ManifestControl.cer's signing Certificate Authority that has to be there. &lt;/p&gt;
&lt;p&gt;Open .cer file, find the Certificate Authority certificate on the last tab (CA's name is Root Agency), copy it to a file and then install to Trusted Publishers.&lt;/p&gt;
&lt;p&gt;2. If you want to re-sign, it's not enough to call Mage.exe with /Sign parameter as stated in ManifestControl.html. After you update .manifest file its hash changes and you need to update it in .control file. Whole batch file will be&lt;/p&gt;
&lt;p&gt;mage.exe -Sign ManifestControl.dll.manifest -CertFile ManifestControl.pfx -Password password&lt;/p&gt;
&lt;p&gt;mage.exe -Update ManifestControl.control -AppManifest ManifestControl.dll.manifest -CertFile ManifestControl.pfx -Password password&lt;/p&gt;
&lt;p&gt;mage.exe -Sign ManifestControl.control -CertFile ManifestControl.pfx -Password password&lt;/p&gt;
&lt;p&gt;I hope it helps someone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9571086" width="1" height="1"&gt;</description></item></channel></rss>