Skip to content

Commit 12821b1

Browse files
committed
Fixed issue #5
Error in importing task if SolutionDir parameter not available.
1 parent bebd700 commit 12821b1

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ MSBuild.NugetContentRestore.Tasks/obj/
33
Output/
44
*.nupkg
55
*.suo
6-
*.user
6+
*.user
7+
build.bat

MSBuild.NugetContentRestore.Tasks/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
// The following GUID is for the ID of the typelib if this project is exposed to COM
1414
[assembly: Guid("1d75b795-214e-43cf-87ad-c34a814c2e57")]
1515

16-
[assembly: AssemblyVersion("0.1.3.0")]
17-
[assembly: AssemblyFileVersion("0.1.3.0")]
16+
[assembly: AssemblyVersion("0.1.6.0")]
17+
[assembly: AssemblyFileVersion("0.1.6.0")]

MSBuild.NugetContentRestore.nuspec

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22
<package>
33
<metadata>
44
<id>MSBuild.NugetContentRestore</id>
5-
<version>0.1.5</version>
5+
<version>0.1.6</version>
66
<authors>Francisco Lopez</authors>
77
<owners>Francisco Lopez</owners>
88
<projectUrl>https://github.com/panchilo/MSBuild.NugetContentRestore</projectUrl>
99
<licenseUrl>https://github.com/panchilo/MSBuild.NugetContentRestore#license</licenseUrl>
1010
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1111
<description>MSBuild task to restore Nuget content files to project folder</description>
12-
<releaseNotes>Added install.ps1 and uninstall.ps1 to automatically add BeforeBuild Target with NugetContentRestoreTask.</releaseNotes>
12+
<releaseNotes>
13+
* 0.1.6
14+
- fix #5: Error in importing task if SolutionDir parameter not available.
15+
* 0.1.5
16+
- add #3: install.ps1 and uninstall.ps1 to automatically add BeforeBuild Target with NugetContentRestoreTask.
17+
* 0.1.3
18+
- Initial release
19+
</releaseNotes>
1320
<copyright>Copyright 2014, Francisco Lopez</copyright>
1421
<tags>nuget content restore msbuild task</tags>
1522
</metadata>
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

4-
<PropertyGroup>
5-
<NugetContentRestorePath>$(SolutionDir)\packages\MSBuild.NugetContentRestore.0.1.5\build\net40\</NugetContentRestorePath>
6-
<NugetContentRestoreLib>$(NugetContentRestorePath)\MSBuild.NugetContentRestore.dll</NugetContentRestoreLib>
7-
</PropertyGroup>
8-
9-
<UsingTask AssemblyFile="$(NugetContentRestoreLib)" TaskName="NugetContentRestoreTask" />
4+
<UsingTask AssemblyFile="MSBuild.NugetContentRestore.dll" TaskName="NugetContentRestoreTask" />
105

116
</Project>

readme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
MSBuild.NugetContentRestore README
22
==================================
33

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

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

1212
Enjoy!

0 commit comments

Comments
 (0)