This commit is contained in:
h z
2025-02-18 11:41:05 +00:00
parent 604b7dd6d8
commit f9a6dbe55b
5 changed files with 8 additions and 20 deletions

View File

@@ -33,7 +33,6 @@
<None Include="publish" />
<None Include="build" />
<Compile Remove="Package/**/*.*"/>
</ItemGroup>
<Target Name="CleanPreviousPackages" BeforeTargets="Build">
@@ -51,14 +50,13 @@
<ItemGroup>
<NuGetPackages Include="$(OutputPath)*.nupkg" />
</ItemGroup>
<Message Text="Printing pkgs--------------------" Importance="high"/>
<Message Text="Pkgs: @(NuGetPackages)" Importance="high"/>
<Copy SourceFiles="@(NuGetPackages)" DestinationFolder="/NuGetFeed"/>
<Message Text="Printing pkgs--------------------" Importance="high" />
<Message Text="Pkgs: @(NuGetPackages)" Importance="high" />
<Copy SourceFiles="@(NuGetPackages)" DestinationFolder="/NuGetFeed" />
</Target>
<Target Name="RestoreNoCache" BeforeTargets="Build">
<Message Text="Restoring packages with no chache" Importance="high"/>
<Exec Command="dotnet restore --no-cache"/>
<Message Text="Restoring packages with no chache" Importance="high" />
<Exec Command="dotnet restore --no-cache" />
</Target>
</Project>