Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setup Project is not correctly registering assembly in GAC

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.

enter image description here

When I run the installer, it completes successfully, and appears to be registered 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?

like image 293
Arnold Zokas Avatar asked Nov 04 '22 19:11

Arnold Zokas


1 Answers

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.

like image 189
D-Man Avatar answered Nov 09 '22 17:11

D-Man