vs2010修改sharepoint部署站点
Changing the SharePoint Site in a Visual Studio 2010 / SharePoint 2010 project
I created a new Visual Studio project and entered in the url of a site that simply didn’t exist. Whoops! I didn’t want to create a new site for just this project, so I wanted to change the URL that Visual Studio 2010 uses to deploy this SharePoint solution.
It’s not located in the project file itself. It’s located in the user config file of the project.
Once this file is open, you can change the url, save the file, and close it out.
After editing this file, you’ll have to reload your project.
It’s not completely obvious where this setting is, but once you’ve done it, you’ll remember that the key is the user configuration file.
上面的方法我试了不行,后来我找到另个的方法:

在工具栏打开视图,再打开properties window属性窗口

选中你的开发项目,就可以看到如下的Site URL

作者:johnny
出处:http://www.cnblogs.com/sunjunlin
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。



浙公网安备 33010602011771号