Skip to content
/ conva Public

convert package references to/from project/dll references

Notifications You must be signed in to change notification settings

nevse/conva

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConvA

ConvA is a command-line tool for converting project references to/from DLL references.

Description

The tool takes a path to a repository, a conversion type, a path to a project to convert, and a version of package reference as arguments. It then converts the project references based on the provided conversion type.

Installation

There are two ways to install ConvA:

  1. Using .NET CLI: Clone the repository and build the tool using .NET CLI.
git clone https://github.com/yourusername/conva.git
cd conva
dotnet build
  1. Using Homebrew: If you're on a Mac, you can use the Homebrew package manager to install ConvA.
brew install nevse/tap/conva

Usage

You can run the tool with the following command:

dotnet run -- [path to repo] -t [conversion type] -p [path to project] --patch-version [version]

The arguments are:

  • path to repo: The path to the working repository.
  • -t, --type: The project conversion type. Possible values are Proj, Proj2, Dll, Package, Props.
  • -p, --path: The path to the project to convert.
  • --patch-version: The version of package reference.

Conversion Types

  • Proj: Converts to project references.
  • Proj2: Converts to project references (alternative method).
  • Dll: Converts to DLL references.
  • Package: Converts to package references.
  • Props: Converts to property references.

Configuration

The tool uses a configuration file named convacfg.json located in the application data folder. The configuration file contains the repository path and the conversion type.

Building

To build the tool, run:

dotnet build

Running

To run the tool, use:

dotnet run -- [arguments]

Replace [arguments] with the arguments described in the Usage section.

About

convert package references to/from project/dll references

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages