Publish TSQLLint.Console as a .NET Core tool
See original GitHub issueWe’d like to use TSQLLint without the dependency on npm, and it seems well-suited to use as a .NET Core tool.
Configuring the csproj would be as simple as this commit, and then just dotnet pack .\source\TSQLLint.Console\TSQLLint.Console.csproj -c Tool
and push the package up to NuGet.org. .NET Core tools are also cross-platform, so it wouldn’t require any multi-platform builds like the current build/package process.
Usage would be something like this:
dotnet tool install TSQLLint.Console
dotnet tsqllint
Let me know if you’d like a pull request to update the csproj. I could update the build and publish scripts too, but I’d need some guidance on how you want that handled.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:11 (2 by maintainers)
Top Results From Across the Web
tsqllint/tsqllint: Configurable linting for TSQL
TSQLLint. TSQLLint is a tool for describing, identifying, and reporting the presence of anti-patterns in TSQL scripts.
Read more >Publish a .NET console application using Visual Studio
This tutorial shows how to publish a console app so that other users can run it. Publishing creates the set of files that...
Read more >How to release/publish a .Net Core console application?
In general, a command for publishing console app is dotnet publish -c Release -r win10-x64. You should change win10-x64 by correct rid which ......
Read more >How to publish a dotnet global tool with .NET Core 2.1
This creates a basic console project that prints "Hello world" to the console. Now, let's modify the project file to add the tool...
Read more >Using .NET Core Tools to Create Reusable and Shareable ...
NET Core Tools are a simple way to create, publish, and consume what are essentially .NET Core applications that can be published and...
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 Free
Top 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
I’ve added support for
dotnet tool
installation. Instructions here. Keep in mind this is the latest version of the tool which include async processing and some other improvements, but have not be heavily tested outside of the unit test suite.closing this as implemented in cfa67dadfc7820c5c77ea73a8b622ada8b0e5dc9