Reputation: 541
I would like to use RestSharp in a script task in SSIS. Due to complications with SSIS script tasks, I would like to avoid acquiring it through it's NuGet package and would prefer to download and build the assembly myself. However, my team has decided to use VS 2015 as our common development environment for the time being, and when I try to open the latest RestSharp solution, I get errors:
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.
Which, from some light Googling, seems to imply that VS 2017 is needed. Is it absolutely required for me to have VS 2017 installed, or do I have any other options?
Upvotes: 0
Views: 224
Reputation: 4047
If you just need the assembly then there's no need to worry about building the source. You can get the compiled assemblies from NuGet packages.
Find the RestSharp package in the NuGet gallery and download it.
Change the .nupkg extension to .zip and extract the archive to a directory.
Get the relevant assembly from the directories in the lib directory.
Upvotes: 1