Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将单元测试添加到 VS2010 中的共享点解决方案。我有一个测试项目,但即使在为 VS2010 安装 SP 1 后,我也无法将项目重新定位到 .Net 3.5。请指教。
以下是使单元测试与 Sharepoint 一起工作的步骤:
安装 Visual Studio 2010 服务包 1
创建一个新的 C# 单元测试项目
在项目属性中将 Application -> Target Framework 更改为 3.5 并将 Build -> Platform Target 更改为 x64
在测试 - 编辑测试设置 - 本地测试设置 - 主机选项卡中:将运行测试设置更改为“在 64 位机器上以 64 位进程运行”
问候