Skip to content

Getting an error while buliding the project #97

Open
@82Kang

Description

@82Kang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions