我有哪些选项可以构建最新的 VS 2017 版本的 RestSharp
What Options Do I Have to Build Latest VS 2017 Version of RestSharp
我想在 SSIS 的脚本任务中使用 RestSharp。由于 SSIS 脚本任务的复杂性,我想避免通过它的 NuGet 包获取它,而宁愿自己下载和构建程序集。但是,我的团队决定暂时使用VS 2015作为我们共同的开发环境,当我尝试打开最新的RestSharp解决方案时,出现错误:
error : The default XML namespace of the project must be the MSBuild
XML namespace. If the project is authored in the MSBuild 2003 format,
please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
to the element. If the project has been authored in the old
1.0 or 1.2 format, please convert it to MSBuild 2003 format.
从一些简单的谷歌搜索来看,这似乎暗示需要 VS 2017。我是否绝对需要安装 VS 2017,或者我有任何其他选择吗?
如果您只需要程序集,则无需担心构建源代码。您可以从 NuGet 包中获取已编译的程序集。
在 NuGet 库中找到 RestSharp 包并下载。
将 .nupkg 扩展名更改为 .zip 并将存档解压缩到一个目录。
从lib目录下的目录中获取相关程序集。
我想在 SSIS 的脚本任务中使用 RestSharp。由于 SSIS 脚本任务的复杂性,我想避免通过它的 NuGet 包获取它,而宁愿自己下载和构建程序集。但是,我的团队决定暂时使用VS 2015作为我们共同的开发环境,当我尝试打开最新的RestSharp解决方案时,出现错误:
error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
从一些简单的谷歌搜索来看,这似乎暗示需要 VS 2017。我是否绝对需要安装 VS 2017,或者我有任何其他选择吗?
如果您只需要程序集,则无需担心构建源代码。您可以从 NuGet 包中获取已编译的程序集。
在 NuGet 库中找到 RestSharp 包并下载。
将 .nupkg 扩展名更改为 .zip 并将存档解压缩到一个目录。
从lib目录下的目录中获取相关程序集。