6

I have added a few lines of code into the Startup.cs file. How can I include only that change in the NuGet package? I certainly don't want to include the whole Startup.cs, for, it will perform an overwrite.

1 Answer 1

3

Right now NuGet does not support this scenario, without overwriting the existing startup.cs file.

NuGet does support transforming XML files with syntax of http://msdn.microsoft.com/en-us/library/dd465326.aspx though.

Please open an issue on nuget.codeplex.com as a feature request if this does not solve your need.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.