Skip to content
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

Couldn't open Owin example in Visual Studio 2019 #4

Open
equezada-jej opened this issue Jan 4, 2022 · 0 comments
Open

Couldn't open Owin example in Visual Studio 2019 #4

equezada-jej opened this issue Jan 4, 2022 · 0 comments

Comments

@equezada-jej
Copy link

I leave this message more as a tip for people looking into this than an actual issue.

When I was trying to open the Owin example in VS2019, it had an error when trying to upgrade it.
image
(It's in spanish, sorry, but roughly translates to couldn't find the application of which this type of project is based on)

It was then when that I decided to look into the .csproj file to see what it had different from my own Web Form projects.
I noticed that the line:

<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

was different from mine:

<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

so I changed MSBuildToolsPath to MSBuildBinPath and it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant