-
Notifications
You must be signed in to change notification settings - Fork 474
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
Deploy with Visual Studio 2017 fails #93
Comments
Hi @genifycom , could you share the csproj file for your project? |
I get this same error from AddMvc() when I deploy from VS2017. |
Can you provide the csproj file for your project? |
I might be able to work up a repro one that I could share, preference on sharing method? |
A GitHub repo with the reproducible code in it would be good. The less extraneous code in there, the easier it will be for us to identify the issue. |
…he project to csproj using `dotnet migrate`.
I just generated it using yeoman on mac. Then converted the project to csproj using
|
Thanks for reproducing @KraigM This is a blocking issue for me currently. |
My Solution: Open the csproj file and set PreserveCompilationContext to false. Further Explanation: |
@DohMoose that unblocked me as well. It seems this is likely an issue in the dotnet core migrate not adding the compilation context false to project files? |
@DohMoose Awesome, that resolved the issue for me too. Thank you. For context, I switched from a VS2015 deployment to a VS2017 and was getting that error on launch. |
I just took a VS 2015 project and compiled and deployed to Lambda with VS 2017.
This is the result:
The text was updated successfully, but these errors were encountered: