-
Notifications
You must be signed in to change notification settings - Fork 10.3k
This is killing me #3209
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
Comments
@davidfowl - Except it's not "Done" in my case because the dropdown list is mysteriously and inexplicably disabled and says only ".NET Core" as you can see here: |
What options did you select when you installed VS 2017? /cc @Andrew-MSFT @BillHiebert Any ideas? |
@davidfowl - I really can't recall, it was a year ago. Almost all work I do on this particular machine is conventional .NET Framework stuff MVC, desktop apps, console apps etc. I can certainly see the current setup of installed bits n pieces though if you want me to check something in particular. |
The Target Framework dropdown will be locked to .NET Core if you enter through the ".NET Core" node in the new project dialog. If you enter through the "Web" entry point as shown in @davidfowl's screenshot, you will be able to choose between the two. |
@Andrew-MSFT @davidfowl - Thank you gentlemen, this is much appreciated! |
@Korporal: But if you select ".Net Framework" from the 1st dropdown, you are creating a .Net Framework Web App and not a .Net Core WebApp targeting .Net Framework. Hope you get it. |
Thank you @davidfowl and @Korporal -- I had the exact same experience trying to get started porting a large ASP.NET MVC app to .NET Core, targeting .NET Framework (to assist with porting). Would really like to see a more thorough guide, including things like how to upgrade old controllers, utilize existing route code, etc, as I think each person/team is struggling independently and it would be good to have a central location to document a good bunch of the steps. Thank you |
https://docs.microsoft.com/en-us/aspnet/core/migration/proper-to-2x/?view=aspnetcore-2.1 Provide feedback on that document. |
I'm reading that I can create an ASP.NET Core wb app project that targets .Net Framework. However there have been numerous articles published over the past year that are either out of date or simply flat wrong.
One article said to edit the project.json file - then a little later I discover this is no longer used and we're back to good old *.csproj.
Anyway when I create a new ASP.NET Core web app I get no option to select a target framework (I've installed 2.1 too by the way).
Even after the project is created if I go to project properties then the Application pane the only options in Target framework dropdown list are .Net Core 1.0, 1.1, 2.0 and 2.1 - No sign anywhere of .Net Framework.
So perhaps one must manually edit the *.csproj file which is inexcusably sloppy if true.
I've said this before and so have others - this is a mess...
The text was updated successfully, but these errors were encountered: