We have created a lot of NuGet package. One of them is a tool, and it contains special compiler and it is installed like a dotnet tool
. The name of the command is "PolyGen".
We used a similar mechanism like Grpc.Tools
use, that means we have define .targets file inside in our NugetPackage. And it works well.
But when I update my PolyGen, after I have to update the dotnet tool manually with dotnet tool update
command.
But I see when the Grpc.Tools
is updated, the dotnet tool update is automatically executed. And the Package Manager console wrote the following message:
Executing nuget actions took 181,36 ms
How can we define this automatically executed command, to avoid a manually update ?
Thank you guys!