-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[aspnetcore] .csproj doesn't load in Visual Studio 2017 #7945
Comments
I too am experiencing this issue, vanilla code generated by Swagger UI won't load VS 2017 (15.6.4) |
Just happened to me as well. VS 2017 (15.6.5) |
Looks to be the same thing as #7614 - removing and re-adding the .csproj file resolves this. |
@djmitchella That solved it for me. Thanks! |
That worked for me too! Thanks! |
Interesting thought that you can still open the solution without any issues on Mac Visual Studio but not on Windows. |
The project also loads without a problem in Visual Studio Code.
|
The generated project path is missing backslashes. Looks like this is the case for
I'm guessing this has to do with how Mustache handles backslashes? |
Here what worked for me |
I've just removed the project from the solution and re-added it. It worked. |
Hi @TheBeardedLlama @GreatJobBob @roryvidalburgoa |
fixed by swagger-codegen#10478 |
Description
The generated aspnetcore project won't open in Visual Studio 2017 (tested with version 15.4.1).
Swagger-codegen version
Version 2.3.1 - hosted on editor.swagger.io
Swagger declaration file content or url
gist here
Command line used for generation
editor.swagger.io
Steps to reproduce
Generate Server
aspnetcore
.zip
.sln
file to open with Visual Studio 2017IO.Swagger (load failed)
in the solution explorerThe text was updated successfully, but these errors were encountered: