Configuring Visual Studio 2012 for SharePoint 2013 and Office 2013 Development

配置VS2012
本文提供了一套详细的步骤来配置Visual Studio 2012用于SharePoint 2013和Office 2013的开发环境。包括安装必要的组件如SharePoint 2013预览版、Visual Studio 2012 RC、Web Platform Installer 4.0 RC等,并下载安装了Microsoft Office Developer Tools等。
Configuring Visual Studio 2012 for SharePoint 2013 and Office 2013 Development

Update: These instructions also apply to the RTM version of VS.

This seems to be one of the questions I am seeing most on twitter (@DougWare) so even though this information will probably be easy to find very soon as the developer center content appears, I thought I'd post what I did for those of you who just can't wait.

Thanks to @robwindsor for helping me get started by pointing me to this page: http://msdn.microsoft.com/en-us/library/office/apps/ee554869(v=office.15). It has a section on this subject:

The problem is that I couldn't find the link to which this refers. So, to get this working follow these steps. Note that these instructions are for On Premises development and you don't strictly require a SharePoint installation if you want to develop using the new Apps model.

  1. Setup SharePoint 2013 Preview
  2. Install Visual Studio 2012 RC
  3. Download and install the Web Platform Installer 4.0 RC http://www.microsoft.com/web/downloads/platform.aspx
  4. Launch the Web Platform Installer and search for Office
  5. Install Microsoft Office Developer Tools for Visual Studio 2012 RC – Preview (it installs the others you see in the screen shot)


  6. Download and install the SharePoint Server 2013 Client Components SDK from here http://www.microsoft.com/en-us/download/details.aspx?id=30355 (Note it doesn't have any documentation or samples in it as of this writing)
  7. Launch VS 2012 and have fun!

内容概要:本文介绍了一个基于Matlab的综合能源系统优化调度仿真资源,重点实现了含光热电站、有机朗肯循环(ORC)和电含光热电站、有机有机朗肯循环、P2G的综合能源优化调度(Matlab代码实现)转气(P2G)技术的冷、热、电多能互补系统的优化调度模型。该模型充分考虑多种能源形式的协同转换与利用,通过Matlab代码构建系统架构、设定约束条件并求解优化目标,旨在提升综合能源系统的运行效率与经济性,同时兼顾灵活性供需不确定性下的储能优化配置问题。文中还提到了相关仿真技术支持,如YALMIP工具包的应用,适用于复杂能源系统的建模与求解。; 适合人群:具备一定Matlab编程基础和能源系统背景知识的科研人员、研究生及工程技术人员,尤其适合从事综合能源系统、可再生能源利用、电力系统优化等方向的研究者。; 使用场景及目标:①研究含光热、ORC和P2G的多能系统协调调度机制;②开展考虑不确定性的储能优化配置与经济调度仿真;③学习Matlab在能源系统优化中的建模与求解方法,复现高水平论文(如EI期刊)中的算法案例。; 阅读建议:建议读者结合文档提供的网盘资源,下载完整代码和案例文件,按照目录顺序逐步学习,重点关注模型构建逻辑、约束设置与求解器调用方式,并通过修改参数进行仿真实验,加深对综合能源系统优化调度的理解。
### 配置 Visual Studio 2022 使用 Nsight Visual Studio Edition 为了使 Visual Studio 2022 能够顺利使用 Nsight Visual Studio Edition (Nsight VSE),需遵循特定的配置步骤来确保所有必要的组件被正确安装。 #### 确认并修正已知兼容性问题 由于存在关于 CUDA 和最新版 Visual Studio 2022 版本之间的潜在兼容性问题,建议确认当前使用的 Visual Studio 2022 是否为稳定版本。如果遇到类似的问题,则考虑回退到更稳定的版本或是等待官方更新解决此问题[^1]。 #### 正确设置 Visual Studio 组件 当通过 NVIDIA 的安装包尝试安装 Nsight VSE 失败时,可以手动处理这一过程: - **定位 MSI 文件**: 在启动 NVIDIA 安装程序之后,前往其创建的临时目录(通常位于 `AppData\Local\Temp` 下的一个子文件夹内),寻找名为类似于 `nsight_visual_studio_edition-windows-x86_64-[版本号].msi` 的文件,并执行之。 - **调整 Visual Studio 工作负载**: - 启动 Visual Studio Installer; - 对应选择与所要安装的 Nsight VSE 匹配的具体 Visual Studio 2022 发行版; - 修改现有安装选项,特别注意勾选 "Desktop development with C++" 中的 “C++ profiling tools” 及 “MSVC v142 - VS 2019 C++ x64/x86 build tools”,这有助于支持 GPU 加速应用开发所需的编译环境[^2]; ```powershell # PowerShell脚本用于验证是否已经安装了正确的构建工具 Get-WindowsFeature | Where-Object {$_.Name -like "*visual-c++*"} | Select Name, Installed ``` #### 解决与其他版本冲突的方法 对于那些报告因先前存在的 Visual Studio 实例而导致无法完成 Nsight VSE 安装的情况,可以选择移除旧版本 Visual Studio 或者单独获取最新的 Nsight VSE 插件来进行独立安装。这样做能有效规避两者间的相互干扰[^3]。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值