dotnet-campus / SourceYard

Add a NuGet package only for dll reference? By using dotnetCampus.SourceYard, you can pack a NuGet package with source code. By installing the new source code package, all source codes behaviors just like it is in your project.
MIT License
50 stars 12 forks source link

安装库自动将代码复制到仓库文件 #54

Open lindexi opened 4 years ago

lindexi commented 4 years ago

现在都是将代码放在 nuget\package 文件夹,但是用户可以跳转到源代码修改,这样如果有多个项目依赖相同的库,而不小心在某个项目修改了源代码,那么会让其他项目也引用了修改的代码。解决方法只有去 nuget 文件夹里面删除,重新下载

可以在安装库自动将代码复制到仓库文件,这样每个项目会修改的也就是自己的文件。同时可以根据复制过去的文件判断是否存在修改,如果被修改那么自动还原

lindexi commented 4 years ago

https://github.com/dotnet-campus/SourceYard/issues/39