Retargeting solution from .Net 4.0 to 4.5 - how to retarget the NuGet packages?

前端 未结 5 1060
醉话见心
醉话见心 2020-11-29 14:44

I have migrated a solution that is currently targeting .NET 4.0 in VS2010 to VS2012 and now I would like to re-target it to .Net 4.5

What I am not sure about is the

5条回答
  •  温柔的废话
    2020-11-29 15:24

    With Visual Studio for Mac 2019, right-clicking the Packages folder shows 'Retarget' option in the menu. This resolved the retarget issue for all packages in the project that required retargeting. Looks like there was no NuGet Package Manager under Tools menu in Visual Studio for Mac (atleast in mine), so I couldn't launch Package Manager Console.

提交回复
热议问题