Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

GAC Assembly deployment.

  Asked By: Rico    Date: Jan 02    Category: Sharepoint    Views: 1312

I have a question regarding a solution file. I have my assemblies created
and the security defined for it. I have defined the entries for the
assemblies within the SafeControls section of the Assemblies section and
when I install the solution, it puts it into the web.config file fine.
The DeploymentTarget of the assembly is set to GlobalAssemblyCache.
However, I run my feature and it complains that it cannot load my assembly.
I look in the GAC and the assembly is there.

When I manually put an <add assembly> entry into the <assemblies> node, my
assembly loads fine. And everything works fine. However, I have to do this
manually and isn't very efficient.

So, I have two questions.

1) Can I automate adding the <add assembly> entry into the web.config
file through the solution deployment?, and

2) Am I missing anything on the SafeControls declaration or security
settings that could cause the assembly to not load?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on GAC Assembly deployment. Or get search suggestion and latest updates.