Skip to content

Commit

Permalink
Fixed issue #5
Browse files Browse the repository at this point in the history
Error in importing task if SolutionDir parameter not available.
  • Loading branch information
panchilo committed Sep 28, 2014
1 parent bebd700 commit 12821b1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ MSBuild.NugetContentRestore.Tasks/obj/
Output/
*.nupkg
*.suo
*.user
*.user
build.bat
4 changes: 2 additions & 2 deletions MSBuild.NugetContentRestore.Tasks/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1d75b795-214e-43cf-87ad-c34a814c2e57")]

[assembly: AssemblyVersion("0.1.3.0")]
[assembly: AssemblyFileVersion("0.1.3.0")]
[assembly: AssemblyVersion("0.1.6.0")]
[assembly: AssemblyFileVersion("0.1.6.0")]
11 changes: 9 additions & 2 deletions MSBuild.NugetContentRestore.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@
<package>
<metadata>
<id>MSBuild.NugetContentRestore</id>
<version>0.1.5</version>
<version>0.1.6</version>
<authors>Francisco Lopez</authors>
<owners>Francisco Lopez</owners>
<projectUrl>https://github.com/panchilo/MSBuild.NugetContentRestore</projectUrl>
<licenseUrl>https://github.com/panchilo/MSBuild.NugetContentRestore#license</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>MSBuild task to restore Nuget content files to project folder</description>
<releaseNotes>Added install.ps1 and uninstall.ps1 to automatically add BeforeBuild Target with NugetContentRestoreTask.</releaseNotes>
<releaseNotes>
* 0.1.6
- fix #5: Error in importing task if SolutionDir parameter not available.
* 0.1.5
- add #3: install.ps1 and uninstall.ps1 to automatically add BeforeBuild Target with NugetContentRestoreTask.
* 0.1.3
- Initial release
</releaseNotes>
<copyright>Copyright 2014, Francisco Lopez</copyright>
<tags>nuget content restore msbuild task</tags>
</metadata>
Expand Down
7 changes: 1 addition & 6 deletions MSBuild.NugetContentRestore.targets
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<NugetContentRestorePath>$(SolutionDir)\packages\MSBuild.NugetContentRestore.0.1.5\build\net40\</NugetContentRestorePath>
<NugetContentRestoreLib>$(NugetContentRestorePath)\MSBuild.NugetContentRestore.dll</NugetContentRestoreLib>
</PropertyGroup>

<UsingTask AssemblyFile="$(NugetContentRestoreLib)" TaskName="NugetContentRestoreTask" />
<UsingTask AssemblyFile="MSBuild.NugetContentRestore.dll" TaskName="NugetContentRestoreTask" />

</Project>
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
MSBuild.NugetContentRestore README
==================================

Congratulations! MSBuild.NugetContentRestore is now installed to your project.
Congratulations! MSBuild.NugetContentRestore is now installed in your project.
A reference to NugetContentRestoreTask has been added to your project.
Starting on version v.0.1.4, MSBuild.NugetContentRestore also took care of
Starting on version v.0.1.4, MSBuild.NugetContentRestore also takes care of
creating 'BeforeBuild' Target with NugetContentRestoreTask in it.

All NuGet Packages Content Folders will be copied to your project folder right
before is built.
before it's built.

Enjoy!

0 comments on commit 12821b1

Please sign in to comment.