简体   繁体   English

Visual Studio 2010,SharePoint 2010,外部Web部件

[英]Visual Studio 2010, SharePoint 2010, External webparts

I am trying to create a share point web part in VS2010 and every time I create a new project it spazzes out and states it cannot create the project as their is no share point server on my machine, well duh - its hosted else where. 我试图在VS2010中创建一个共享点Web部件,每次创建一个新项目时,它都会大放异彩,并指出它无法创建该项目,因为它们不是我机器上的共享点服务器,嗯-它托管在其他地方。

in Visual studio 2010, when creating a new share point project is there a way to say, the share point server is at this web address? 在Visual Studio 2010中,当创建一个新的共享点项目时,有没有办法说共享点服务器在此网址上?

Its not possible, as its a development requirement to have all the SharePoint dlls to be present in your local machine which will not be there without installing SharePoint. 这是不可能的,因为它的开发要求是将所有SharePoint dll都存在于本地计算机中,除非安装SharePoint,否则本地计算机将不会存在该SharePoint。

One work around is explained in the below link, 以下链接介绍了一种解决方法,
http://techblog.hk.agenda-asia.com/2010/10/29/create-sharepoint-project-without-install-sharepoint-server/ http://techblog.hk.agenda-asia.com/2010/10/29/create-sharepoint-project-without-install-sharepoint-server/

but I suggest you going for a VM with SharePoint for development which will be less cumbersome. 但是我建议您使用带有SharePoint的VM进行开发,这样会减少麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM