rychlym / dotnet-tools-outdated

A simple command line utility to find out / check, whether any of installed .NET Core global tools are outdated
MIT License
20 stars 3 forks source link

Add net7.0 and net8.0 as target frameworks to support .net 7 and .net 8 #5

Closed solrevdev closed 10 months ago

solrevdev commented 1 year ago

Works on my machine. These are the steps I took to test locally

# move into main project folder
cd src/DotNetToolsOutdated

# clean and build the project
dotnet clean
dotnet restore
dotnet build

# remove any old nupkg files
rm -rf nupkg

# package the dotnet tool
dotnet pack -c release -o nupkg

# uninstall any version you currently have installed
dotnet tool uninstall -g dotnet-tools-outdated  

# install the version we have just built and packaged
dotnet tool install -g --add-source /Users/solrevdev/Dropbox/Projects/github/dotnet-tools-outdated/src/DotNetToolsOutdated/nupkg dotnet-tools-outdated

# refresh your terminal
exec zsh -l # aka refreshenv an alias on my machine

# run the tool
dotnet-tools-outdated
solrevdev commented 10 months ago

Have also added .NET 8 support. Created ticked #6 to address

rychlym commented 10 months ago

Hi, sorry for the longer response. I would prefer the smaller packages over supporting more .NET Runtime versions. So if no arguments, I would be for the LTS ones (6.0, and 8.0 atm.). I am going to merge it. After that, I am going to remove that 7.0 version (also the older 3.1. and publish a new minor version of this utility without any change of the functionality.