开发者

Setup Project is not correctly registering assembly in GAC

开发者 https://www.devze.com 2023-03-14 14:53 出处:网络
I have created a custom Rewrite Provider for IIS 7 following instructions in this article: Developing a Custom Rewrite Provider for URL Rewrite Module

I have created a custom Rewrite Provider for IIS 7 following instructions in this article: Developing a Custom Rewrite Provider for URL Rewrite Module

To simplify deployment, I have created a VS2010 Setup Project and configured it to deploy my assembly to GAC.

Setup Project is not correctly registering assembly in GAC

When I run the installer, it completes successfully, and appears to be registered 开发者_Go百科the assembly in GAC (I have verified using gacutil.exe /l).

However, when I go to IIS Manager to register the new rewrite provider it is not displayed in the list of available providers.

I have also tried to install the assembly manually using gacutil.exe /if. This does work and makes assembly visible in the list of available providers in IIS Manager.

Am I missing some sort of configuration in my Setup Project?


I had the same issue (provider not showing up) after I GACed my provider by hand. In my case, dropping the framework version on myu project from 4.0 to 3.5 did the trick.

0

精彩评论

暂无评论...
验证码 换一张
取 消