Skip to content

Commit c0eb057

Browse files
committed
MS are stupid and auto download gets old version of NuGet
1 parent 6ee23b8 commit c0eb057

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ _ReSharper*/
4949
#NuGet
5050
packages/
5151
.vs
52-
/.nuget/NuGet.exe
52+
#/.nuget/NuGet.exe

.nuget/NuGet.exe

4.82 MB
Binary file not shown.

.nuget/NuGet.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>
1414

1515
<!-- Download NuGet.exe if it does not already exist -->
16-
<DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">true</DownloadNuGetExe>
16+
<DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
1717
</PropertyGroup>
1818

1919
<ItemGroup Condition=" '$(PackageSources)' == '' ">

Build/build.proj

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
<ItemGroup>
2626
<Libs Include="$(BaseDir)\Griddly.Mvc\bin\$(Configuration)\Griddly.Mvc.dll" />
27-
<Content Include="$(BaseDir)\Griddly\**\griddly.js" />
28-
<Content Include="$(BaseDir)\Griddly\**\editly.js" />
29-
<Content Include="$(BaseDir)\Griddly\**\griddly.css" />
27+
<Content Include="$(BaseDir)\Griddly\Scripts\griddly.js" />
28+
<Content Include="$(BaseDir)\Griddly\Scripts\editly.js" />
29+
<Content Include="$(BaseDir)\Griddly\Content\griddly.css" />
3030
<Content Include="$(BaseDir)\Griddly\**\Views\Shared\Griddly\*.*" />
3131
</ItemGroup>
3232

Build/publish-nuget.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ else {
5151
$packages | % {
5252
$package = $_.Name
5353
write-host "Uploading $package"
54-
& $nugetpath push $package $key
54+
& $nugetpath push $package $key -src nuget.org
5555
write-host ""
5656
}
5757
}

Griddly.sln

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ EndProject
1919
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{71734489-B8FF-4A41-BB19-1427A7935E95}"
2020
ProjectSection(SolutionItems) = preProject
2121
.nuget\NuGet.Config = .nuget\NuGet.Config
22+
.nuget\NuGet.exe = .nuget\NuGet.exe
2223
.nuget\NuGet.targets = .nuget\NuGet.targets
2324
EndProjectSection
2425
EndProject

0 commit comments

Comments
 (0)