Publisher file problems

51 Views Asked by At

I have a very similar issue to this post here:

Release not working, referencing FW 2.0 dll into FW 4.0 winform

I have a 3.5 version of an app that is using publisher files in the GAC. When I deploy this to my dev server everything works fine however when I converted this application to 4.0 and deploy this to my dev server (still referencing 3.5 assemblies in the GAC) my application seems to be ignoring my policy files.

I have tried just about everything I can think of:

-adding/removing

 <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
    </startup>

-making sure everything references the gac dlls -deploying in both anycpu and x86 versions

This will work if I manually add:

in the config file but that kind of defeats the purpose of my policy doesn't it?

Any suggestions would be appreciated.

0

There are 0 best solutions below