Is there an equivalent of DotNetCliToolReference that uses a solution-local project?
See original GitHub issueSteps to reproduce
I have a solution that has many projects in it, one of which is a tool that I’d like to use with DotNetCliToolReference
. Using DotNetCliToolReference
to reference a tool in the same solution doesn’t seem to be supported.
Expected behavior
In the same way that ProjectReference
can be used instead of PackageReference
, I would have hoped that there was an equivalent feature for a tool.
Actual behavior
I’m forced to build a package for the tool first, place it in a package repository (folder) and then reference the package.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
dotnet core PackageReference vs DotNetCliToolReference
1 Answer 1 · At the moment adding DotNetCliToolReference items is only possibly by hand-editing the csproj file. · The logical difference is...
Read more >EF Core tools reference (.NET CLI)
Reference guide for the Entity Framework Core .NET Core CLI tools.
Read more >.NET Core Global Tools and Gotchas
No. A package cannot be both a project tool (dotnetclitoolreference) and a global tool. John Zabroski • 3 years ago.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@krwq The one issue I see with the local nuget method is that it’s hard to test new versions. For example, if I make one change to my tool code I have to increment the version or clear nuget cache every single time.
Let’s continue tracking this at NuGet/Home#2469