vs2010修改sharepoint部署站点
2012-02-08 15:55
106 查看
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.
Here is the file:
![](http://davidfrette.files.wordpress.com/2010/03/vs_sp_url01.png)
Once this file is open, you can change the url, save the file, and close it out.
Old setting:
![](http://davidfrette.files.wordpress.com/2010/03/vs_sp_url02.png)
New setting:
![](http://davidfrette.files.wordpress.com/2010/03/vs_sp_url03.png)
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.
上面的方法我试了不行,后来我找到另个的方法:
![](http://pic002.cnblogs.com/images/2012/36924/2012020816071212.png)
在工具栏打开视图,再打开properties window属性窗口
![](http://pic002.cnblogs.com/images/2012/36924/2012020816075543.png)
选中你的开发项目,就可以看到如下的Site URL
![](http://pic002.cnblogs.com/images/2012/36924/2012020816084635.png)
相关文章推荐
- 采用解决方案包自动修改sharepoint站点的web.config参数
- SharePoint解决方案由VS2010升级到VS2013部署页面报错
- SharePoint 修改密码Web Part部署方案
- 修改SharePoint站点的浏览器标题
- [SharePoint 2010 Debug] VS2010 调试附加SharePoint站点 IIS端口
- SharePoint 2013 OWA(Office Web Apps)安装部署(一) 根据网络文章做了修改和一些错误的处理方式。
- SharePoint 修改密码Web Part部署方案
- 修改计算机名,sharepoint站点打不开了
- SharePoint PowerShell 修改站点为From认证
- VS2010开发的WebPart部署到SharePoint 2010 页面出错
- tomcat配置-修改部署站点的标题栏站点图标
- 解决VS2010 部署SharePoint 2010 Solution- Recyle IIS Application Pool Err
- vs2010部署sharepoint解决方案失败
- "此站点已经禁用应用程序"在sharepoint 2013中通过v2013部署app提示该错误
- 修改sharepoint站点语言
- 在SharePoint站点上部署自定义WEB应用程序
- 怎样把SharePoint中文备份恢复到英文版,修改sharepoint站点语言
- 分享工具:修改指定帐号在SharePoint 站点集User Info List(SiteUserInfoList) 的信息
- 修改IIS7配置解除对SharePoint站点大文件上传限制
- 修改了域账户密码后,访问sharepoint站点时出现的问题