Skip to content
Permalink
Browse files

[Build] Also deletes .nupkg.metadata on package auto deploy (https://…

  • Loading branch information
xen2 committed Nov 21, 2018
1 parent c4e21cc commit 99d6bfa23f96c9994b15bf34b15eef9c3bfc6a46
Showing with 2 additions and 1 deletion.
  1. +2 −1 sources/targets/Xenko.Core.PostSettings.targets
@@ -122,8 +122,9 @@
<!-- Auto NuGet build packages and deploy them -->
<Target Name="XenkoAutoPackDeploy" AfterTargets="Pack">
<Copy Condition="'%(Extension)' == '.nupkg'" SourceFiles="@(NuGetPackOutput)" DestinationFolder="$(LocalAppData)\Xenko\NugetDev"/>
<!-- Deleting .sha512 file seems to be enough for NuGet restore to force extract new package and properly compile dependent projects -->
<!-- Deleting .sha512 file and/or .nupkg.metadata seems to be enough for NuGet restore to force extract new package and properly compile dependent projects -->
<Delete Files="$(NuGetPackageRoot)\$(PackageId.ToLowerInvariant())\$(PackageVersion)\$(PackageId).$(PackageVersion).nupkg.sha512"/>
<Delete Files="$(NuGetPackageRoot)\$(PackageId.ToLowerInvariant())\$(PackageVersion)\.nupkg.metadata"/>
</Target>
<PropertyGroup Condition="$(DesignTimeBuild) != 'true'">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

0 comments on commit 99d6bfa

Please sign in to comment.
You can’t perform that action at this time.