question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow project references to be used as tools

See original GitHub issue

Currently 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:closed
  • Created 8 years ago
  • Reactions:3
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
aL3891commented, Mar 13, 2016

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.

0reactions
TheRealPiotrPcommented, Jul 27, 2016

Tracking this in NuGet/Home#2469

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found