-
Jan 2nd, 2022, 07:17 PM
#1
dotnet tools
I'd like to know if developers here have learned how to write dotnet tools or have used available tools from NuGet (see list) were the majority focus on a handful of topics.
Reason for asking, I'm writing up code samples to show what can be done with dotnet tools for the average developer.
-
Jan 4th, 2022, 07:59 AM
#2
Re: dotnet tools
Interesting - thanks for the links.
Is this similar to Android namespaces where you can call on "external" code? It's been a while since I played with Android - I might be using wrong terminology here...
-
Jan 5th, 2022, 05:52 AM
#3
Re: dotnet tools
Definition of dotnet tools "A .NET tool is a special NuGet package that contains a console application."
Some predefined commands which run via a PowerShell window or command prompt
dotnet new console -n "test-console"
dotnet sln add .\test-console\test-console.csproj
dotnet run --project .\test-console\test-console.csproj
Or create your own e.g. this one is a simple one which calculates your age. In this case installed via NuGet with source here.
Installed via PowerShell dotnet tool install --global myage --version 1.1.2
Attachment 183521
Perhaps there is a need to check if a table is in sync with a sequence?
To get a list of global installed tools.
dotnet tool list -g|--global
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|