No coincident files in sourse code

Feb 19, 2014 at 10:25 AM
Edited Feb 19, 2014 at 10:34 AM
According to the tutorial of "How to setup, build and run tests on windows"
In the 2nd part of step3 :

Using PowerShell.
  1. Open a PowerShell window and navigate to the Cpp-REST-SDK folder
  2. Set the appropriate environment variables using the script files (the file may be blocked due to security reasons. You can right-click on the file and select properties to unblock the script)
    setup_ps_env110.ps1 for Visual Studio 2012
    setup_ps_env120.ps1 for Visual Studio 2013
  3. Type the following command to build:
There are setup_ps_env.ps1 and setup_ps_env100.ps1 instead of and setup_ps_env120.ps1 in the sourse code.
How to use the script files? What is the specify command?
Feb 20, 2014 at 3:03 AM
Hi DexterChou,

This is our mistake we haven't updated these files appropriately. The one called set_ps_env100.ps1 (for Visual Studio 2010) should be deleted, the one called set_ps_env.ps1 should be renamed to indicate Visual Studio 2012, and a new 120 one added for Visual Studio 2013. These scripts setup a powershell environment for you. For now you can use the set_ps_env.ps1 version for Visual Studio 2012. These scripts basically call vcvars and set up the Visual Studio version to use.

We will fixed these up and make the documentation clearer. For our next release we are going to revisit and clean up a lot of this. You also can use the Visual Studio solution files under the Release folder.