Skip to content

Commit 144ed3a

Browse files
committed
Remove cached prerelease packages so that the latest is grabed from MyGet
1 parent 8608243 commit 144ed3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/build.proj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@
7575
<MigrationSln>..\src\testing\migration\migration.sln</MigrationSln>
7676
</PropertyGroup>
7777

78+
<!-- Remove cached prerelease packages so that the latest is grabed from MyGet -->
79+
<ItemGroup>
80+
<PrereleasePackages Include="$(LOCALAPPDATA)\NuGet\Cache\*beta*"/>
81+
</ItemGroup>
82+
<Delete Files="@(PrereleasePackages)" />
83+
7884
<Exec Command="$(NuGet) restore $(MigrationSln)" />
7985

8086
<Message Text="Updating NuGet packages to the latest available releases (including prereleases available on MyGet)..." />

0 commit comments

Comments
 (0)