Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
fix #9
Browse files Browse the repository at this point in the history
Remove the <RestorePackages> tags that are no longer used after migrating to AutomaticPackageRestore
  • Loading branch information
owen2 committed May 1, 2015
1 parent fc3eb56 commit db2eb28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion migrateToAutomaticPackageRestore.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ $listOfBadStuff = @(
#*proj regexes
"\s*<Import Project=""\$\(SolutionDir\)\\\.nuget\\NuGet\.targets"".*?/>",
"\s*<Target Name=""EnsureNuGetPackageBuildImports"" BeforeTargets=""PrepareForBuild"">(.|\n)*?</Target>"
"\s*<RestorePackages>\w*</RestorePackages>"
)

#######################
Expand All @@ -32,4 +33,4 @@ ls -Recurse -include *.csproj, *.sln, *.fsproj, *.vbproj |
$content | out-file -encoding "UTF8" $_.FullName
write-host messed with $_.Name
}
}
}

0 comments on commit db2eb28

Please sign in to comment.