zipcode 0.2.0
See the version list below for details.
dotnet tool install --global zipcode --version 0.2.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local zipcode --version 0.2.0
#tool dotnet:?package=zipcode&version=0.2.0
nuke :add-package zipcode --version 0.2.0
ZipCode
A tool for compressing VS projects
With great tools like GitHub for sharing source code, we sometimes forget that there are sometimes that we need to compress a code folder/solution to share with others. There are many ways to compress a Visual Studio solution/project to be able to share it. As someone that teaches programming, I have seen many different ways that people have compressed their solutions. Many people forget to get rid of the extra files and folders that are not needed. This has lead to 3G zip files for downloading 25 students projects. Zipping up this many projects and it being 2G+ per week for assignments per class is a little too much.
ZipCode was developed to get rid of the extra files and folders so that the download can be as small and efficient as possible. This will work on any system where you have .NET6 installed.
Installing zipcode can be done using the nuget servers with the following command:
dotnet tool install --global zipcode
If you are building it locally and want to install the local version then use the following command:
dotnet tool install --global --add-source ./nupkg zipcode
To compress a project you can just run zipcode from a command prompt and add the project folder name and it will create a timestamped zip file for you.
zipcode MyProject
If you do not want the timestamping then you can add the --nodate option
zipcode --nodate MyProject
If you want to use zipcode to also unzip a project then you can add the --unzip option and provide the filename to unzip.
zipcode --unzip myproject.zip
Uninstalling zipcode can be done with the following command:
dotnet tool uninstall --global zipcode
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.