Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How to create own nuget package based on polly 7.2.4 .NET with new name and packageId

$
0
0

I tried to create own nuget package based on polly 7.2.4 .NET with new name and packageId. In most cases you need just change PackageId and pack the project. But it looks like Polly library has reference on himself. Because when I changed PackageIr or project name ("PollyTest"), I see the errors:

  • Error NU1101 Unable to find package PollyTest. No packages exist with this id in source(s): NuGet Polly [path where project is located]\Polly.csprojOr in other case
  • Error MSB4018 : The "Microsoft.DotNet.ApiCompat.Task.ValidatePackageTask" task failed unexpectedly.System.IO.FileNotFoundException: Package 'C:\Users[USER].nuget\packages\polly\7.2.3\polly.7.2.3.nupkg' not found. Please provide a valid package path.

Library references:https://github.com/App-vNext/Pollyhttps://www.nuget.org/packages/polly/

I'm work with Polly 7.2.4 (not the latest)


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>