Description
I am using Prig ILSpy plugin for generating the Prig Indirection Stub Settings. When i paste the contents into the stub file and try to build the project, it throws the following error.
Error:
The command "cmd /c " "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE..\Tools\VsDevCmd.bat" & %windir%\SysNative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -File "%URASANDESU_PRIG_PACKAGE_FOLDER%\tools\Invoke-PilotStubber.ps1" -ReferenceFrom "@('%URASANDESU_PRIG_PACKAGE_FOLDER%\lib\Urasandesu.NAnonym.dll','%URASANDESU_PRIG_PACKAGE_FOLDER%\lib\Urasandesu.Prig.Framework.dll')" -AssemblyFrom "C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll" -TargetFrameworkVersion v4.5.2 -KeyFile "%URASANDESU_PRIG_PACKAGE_FOLDER%\tools\Urasandesu.Prig.snk" -OutputPath "E:\Git\Repository\UnitTests\bin\Debug." -Settings "E:\Git\Repository\UnitTests\mscorlib.v4.0.30319.v4.0.0.0.prig" -BuildTarget BeforeBuild "" exited with code -1.
NOTE:
I have tried the example for DateTime which is given in PRIG Readme and that is working fine. It means the setup is fine.