-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting an error while buliding the project #97
Comments
@urasandesu I am using Visual Studio 2015 and MSTest. |
Thank you for the reporting! It seems that you copy the settings to wrong Stub Settings File. Which the assembly does the member belong? You can only write the settings to the Stub Settings File that is generated from the assembly that the member belongs. For example, the settings for |
Thanks @urasandesu , I got it. Sorry, i missed that part in the Readme. The build is successful and i am able to get the Prig class in my test. But, i have some other doubts.
The settings are there in the Stub File as:
I am trying to write test case for Addition using MSTest:
In line 10, i am getting that we are trying to give the definition of the method at run-time. In the Stub Setting file, the MultiplyInt32Int32() takes 3 args. How to pass those args. I have tried many ways but it is giving an error that cannot implicit convert to Work.
Thanks in advance |
It seems that you create the stub against a non-public member (see our wiki section Indirection Delegate). |
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:
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.
The text was updated successfully, but these errors were encountered: