titous

hi,

i've created an excel project with VSTO that has some buttons and functions. when i build a setup.exe and i go to install it on a computer it says that it cant locate the assembly. well, when i grant full trust to the particular assembly all works well. in the solution, the fulltrust option is set to true. how can i get around this issue without manually having to grant full trust each time i install this thanks!



Re: Visual Studio Tools for Office granting fulltrust to assemblies

Peter Jausovec

Hi,

You have to add a custom installer class to your setup project. This class will automatically grant full trust to the assembly on install and remove it on uninstall. Take a look at these deployment articles: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2078786&SiteID=1






Re: Visual Studio Tools for Office granting fulltrust to assemblies

titous

thanks! i was able to help resolve all my issues through the help of http://msdn2.microsoft.com/en-us/library/bb332052.aspx