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.

Build a .NET Core Cli Tool

See original GitHub issue

It would be nice if this package could be published as a .NET Core Cli Tool. An advantage would be, that one could simply add <DotNetCliToolReference Include="TypeGen" Version="1.6.0" /> to the *.csproj file and after restoring run dotnet TypeGen. Global install of the tool would then also be supported by dotnet tool install -g TypeGen. Since there is already a TypeGen Cli it maybe wouldn’t need much work.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19 (19 by maintainers)

github_iconTop GitHub Comments

2reactions
jburzynskicommented, Jun 15, 2018

I made a new NuGet package with some changes:

  • all of your suggestions from the previous post (dotnet\shared folder, searching and Assembly.LoadFile)
  • added search of the ‘global’ NuGet fallback folder by default if exists (C:\Program Files\dotnet\sdk\NuGetFallbackFolder). May help with some other dependency issues.
2reactions
jburzynskicommented, Jun 4, 2018

This is a good idea and indeed sounds like maybe not that much work to do. I’ll read up on how to do this and update here when I have a solution. Thanks for posting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial: Create a .NET tool using the .NET CLI
The .NET CLI lets you create a console application as a tool, which others can install and run. .NET tools are NuGet packages...
Read more >
Build a Command Line Interface(CLI) Program with .NET ...
Step-by-Step Guide to Creating CLI Tools in .NET Core. Photo by Goran Ivos on Unsplash ... NET Core is not the only option...
Read more >
.NET Core Command-line Interface
NET Core command-line interface (CLI) is a new cross-platform tool for creating, restoring packages, building, running and publishing .NET applications.
Read more >
Create your own .NET CLI tool
This will create tool manifest file dotnet-tools.json in the .config subfolder under the main folder. Then invoke this command: > dotnet tool ......
Read more >
Creating .NET Core Applications using Command-Line Tools
Learn how to create modern .NET Core applications using Command-Line tools in this simple to follow programming tutorial.
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