Visual Studio : How to manage code shared between projects

前端 未结 6 2174
伪装坚强ぢ
伪装坚强ぢ 2021-02-14 06:37

This has probably been posted before, but I\'m not sure what search terms to look for!

Quick explanation.

I have code that is shared between a few projects. This

6条回答
  •  旧时难觅i
    2021-02-14 07:23

    Microsoft has been supporting an open source project which comes built into VS now, its called NuGet, you can output your shared project as a nuget file and consume it in your other projects.

    It will actually deploy all the files you specify in the package upon build.

    This is how .Net supports dependencies now. You will notice that even things like EF come through NuGet packages. You can even host it for free on places like MyGet.org I use this and it works quite well.

    http://nuget.org/

提交回复
热议问题