Check if Visual Studio can load the assembly

I have some custom controls to be added to SharePoint via SmartPart.

I am testing on my local machine, but plan on using SharePoint security.

I was wondering if there is a way that I can quickly check if the Microsoft.SharePoint assembly can actually load, so that I can continue testing on my machine, then just turn it on when I upload it to the server.

Thank.

0


source to share


1 answer


You can copy the Microsoft.SharePoint.dll file to your local computer and have a link to this DLL. However, this will only be useful for providing Intellisense. You won't be able to run any SharePoint code on your local machine with it because the SharePoint code only runs on the server. (Another option is to use remote debugging, but trust me it hurts!)



Read How to Create a SharePoint Development Machine for more information.

+2


source







All Articles