-
Notifications
You must be signed in to change notification settings - Fork 91
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
Changeset added bin\debug for loading WebApiProxy.Tasks.dll #85
Comments
Now I'm getting this
|
What version of Powershell & VS are you using? |
Visual Studio 2015 on windows 8.1? |
Weird I cannot seem to reproduce this. Just tested it on your config as well and it works. I did however make changes to the package file to include the libs on the correct build configuration inside the project |
@onionhammer did you ever resolve this? I've now started getting this error as well despite it previously working fine? |
Problem identified. This will occur if you have multiple projects in your VS Solution. I have 3 projects in my Solution:
The MVC app is the one on which i am trying to generate the proxy code however when i edited the WebApiProxyCSharp.psm1 file to print out the project path it is returning the path for my API project not the path of the MVC project the package is installed on and which has the references to WebApiProxy.Core and WebApiProxy.Tasks. Anyone any advice on how to fix? I did try adding references to WebApiProxy.Core and WebApiProxy.Tasks to the other projects in my solution and but WebApiProxyCSharp.psm1 uses the project path to identify the config and output paths which are obviously in the API project not the MVC project where the package is installed. The only solution i can think of at the moment is to install the package on the API project, generate the proxy code there and manually copy the generated file to the correct project but it doesn't make it particularly friendly to work with. |
This reverts commit 6b8e597.
On
WebApiProxy-Generate-CSharp
command:Changeset
This can lead to errors as WebApiProxy.Tasks.dll isn't built/added to the bin/debug folder
The text was updated successfully, but these errors were encountered: