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.