Thursday, January 11, 2007

Suggestion for Microsoft.SharePoint.dll; just install it into your local XP GAC

open the ".NET Framework SDK Command Prompt" :: c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0>

here you enter the following line: gacutil /i "C:\yourfolder\Microsoft.SharePoint.dll"

Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

Assembly successfully added to the cache


now you can reference your MOSS 2007 assembly into each Visual Studio Project you gone create from the the Assembly Selection.

thats all you need :-)


Anonymous said...

That's not all you need.
I followed yours and everybody else's instructions on what to do, but it doesn't seem to work.

All goes well. But when trying to find it in Project References it isn't there.

roni schuetz said...

I believe you have added it as a ref. to your project after installing it to GAC. Second step is then to clarify on the properties section you have add it as "copy local" => false.

maybe this makes you the problem.

Shared Cache - .Net Caching made easy

All information about Shared Cache is available here: Its free and easy to use, we provide all sources at codeplex.

Facebook Badge