locked
How can i run .net core app with Visual Studio 2017 ? RRS feed

  • Question

  • User1253338400 posted

    Hi I have a .net core app in VS 2017, but get the following error , 

    Error NETSDK1045 The current .NET SDK does not support targeting .NET Core 3.1.  Either target .NET Core 2.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.1.

    If i change to a lower version of .net core like .net core 2.1 , i get errors because some features are not supported by the earlier version of .net core .

    How can i fix this ?

    Thursday, May 7, 2020 3:25 AM

Answers

  • User-782232518 posted

    robby32

    How can i fix this ?

    Install VS2019 and use it to open this project on .NET Core 3.1.

    If you insist using VS2017, then you have quite a lot of modification to back port the project to .NET Core 2.1.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 7, 2020 5:28 AM

All replies

  • User-782232518 posted

    robby32

    How can i fix this ?

    Install VS2019 and use it to open this project on .NET Core 3.1.

    If you insist using VS2017, then you have quite a lot of modification to back port the project to .NET Core 2.1.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 7, 2020 5:28 AM
  • User1253338400 posted

    Thanks , upgraded to VS2019

    Thursday, May 7, 2020 6:11 AM