How to add multiple lines of code to an existing file in my NuGet package?

I added a few lines of code to the Startup.cs file. How to include only changes in the NuGet package? Of course, I do not want to include all of Startup.cs because it will overwrite it.

+6
source share
1 answer

NuGet does not currently support this script without overwriting the existing startup.cs file.

NuGet supports the conversion of XML files with the syntax http://msdn.microsoft.com/en-us/library/dd465326.aspx , though.

Please open the problem at nuget.codeplex.com as a function request if this does not solve your need.

+3
source

Source: https://habr.com/ru/post/958942/


All Articles