Skip to content

Commit d925a1d

Browse files
committed
Added Introduction section
1 parent 13cbbd9 commit d925a1d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
MSBuild task to restore Nuget content files to project folder
33

44
##Introduction
5+
MSBuild.NugetContentRestore takes care of copying your Nuget content files to your project folder. This is helpful specially for HTML front-end packages like angularjs, bootstrap or any Nuget package that contains a Content folder.
6+
During installation of the front-end package (using Install-Package), all Package Content is copied to your project folder. The problem is that, in general, you don't want to check those files into your version control system. Your would expect that "nuget restore" will also take care of copying the content files but this is not the case. This issue has been repetitively reported here:
7+
- http://nuget.codeplex.com/workitem/2094
8+
- http://nuget.codeplex.com/workitem/1239
9+
And Jeff Handley explained why this is not the case here:
10+
- http://jeffhandley.com/archive/2013/12/09/nuget-package-restore-misconceptions.aspx
11+
Other interesting solution to workaround this issue is available here:
12+
- https://github.com/baseclass/Contrib.Nuget
13+
I wanted to keep things simpler and let the project take care of the hard work.
514

615
##Download
716
To install MSBuild.NugetContentRestore, run the following command in the Package Manager Console:

0 commit comments

Comments
 (0)