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.
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.
精彩评论