Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Conflict between GAC and Bin dlls

  Asked By: Harshit Guha         Date: Jul 29, 2009      Category: Sharepoint      Views: 588
 

I'm customizing a SharePoint application, and I am referencing in my
Visual Studio project a dll that also exists in the GAC. The project
builds just fine, but when I hit the page I get the following error:

An error occurred during the processing of .
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\bef9a111\5466e63c\App_Web_welcomelinks.aspx_-1775745042.a7euki4f.0.cs\
(128):
error CS0433: The type
'Microsoft.SharePoint.Publishing.PublishingLayoutPage' exists in both
'c:\WINDOWS\assembly\GAC_MSIL\Microsoft.SharePoint.Publishing\12.0.0.0__71e9bce1\
11e9429c\Microsoft.SharePoint.Publishing.dll'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\bef9a111\5466e63c\assembly\dl3\4f0b8d4e\c81e2802_6788c901\PPM.DLL'

Any ideas on how to resolve this conflict? I can't uninstall the dll
from the GAC due to some dependencies, and I can't build my project
without the reference.

Tagged:            

 

1 Answer Found

 
Answer #1       Answered By: Yogendra Zarapkar          Answered On: Jul 29, 2009       

Just delete the one in the temporary files. The Microsoft.SharePoint namespace
files shouldn't be anywhere other than the GAC on the server anyway. Are you by
any chance working on a local workstation where you have manually installed the
dlls for development?

 
Didn't find what you were looking for? Find more on Conflict between GAC and Bin dlls Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].