Allow project references to be used as tools
See original GitHub issueCurrently tools only work as package references. If I try to use a project reference as a tool, I get a “not found” error.
It would be interesting to have the option of using project references as tools in cases where there’s a tool specific to a single project’s build. Having to publish a separate package for the tool is cumbersome.
An example is Kestrel, which has two projects under tools\
(GeneratedCode
and LibuvCopier
) that are used during the build:
https://github.com/aspnet/KestrelHttpServer/tree/dev/tools
I’d like to be able to rename those to e.g. dotnet-kestrel-codegen
and dotnet-kestrel-libuvcopy
and use them as tools in src/Microsoft.AspNet.Server.Kestrel/project.json
.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Project References - TypeScript: Documentation
Project references are a new feature in TypeScript 3.0 that allow you to structure your TypeScript programs into smaller pieces.
Read more >Manage references in a project - Visual Studio (Windows)
File references are direct references to assemblies outside the context of a Visual Studio project. You create them by using the Browse tab...
Read more >Breaking down TypeScript project references | by Jake Ginnivan
TypeScript project references are a reasonably new feature in TypeScript which allows you to break your project up into a number of smaller ......
Read more >ReSharper - Analyze and optimize project references
The Analyze References tool window displays project/assembly references in the current project, and let you explore how exactly the ...
Read more >Project references, files , and include patterns #26394
The goal of project references is to give developers tools to partition their code into smaller blocks. By enabling tools to operate on ......
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
I would also like to see this, it makes developing tools easier for one thing but it’s also nice and symmetrical, it makes the system easier to understand.
i’d fine with having this post rtm though.
Tracking this in NuGet/Home#2469