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

前端 未结 5 1061
醉话见心
醉话见心 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:34

    After trying the accepted answer unsuccessfully I would like to suggest a less risky command:

    Update-Package  -ProjectName  -Reinstall -IgnoreDependencies
    

    For more info: http://blog.nuget.org/20121231/a-quick-tutorial-on-update-package-command.html

提交回复
热议问题