{"repo":"benmccallum/dotnet-references","free":true,"listed":false,"github":"https://github.com/benmccallum/dotnet-references","clone":"git clone https://github.com/benmccallum/dotnet-references.git","description":"A dotnet global tool for working with references in solution and project files","language":"C#","stars":17,"topics":["dotnet-global-tool","csproj-tooling","dotnet-core","docker","github-actions"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"dotnet references A dotnet global tool that aids with bulk solution and project file references changes and related directory organisation. (Formerly dotnet-fix-references , see prior documentation for it here.) Installation Note: If using this in a scripted process you want to be consistent (like a build), you should pin to a specific version with --version x.y.z . Usage Supports the following modes which have varying use cases. Mode 1: Fix This mode can fix references between solution files and projects in one of two ways. :warning: If the dotnet cli complains with \"Specify which project file to use because this '...' contains more than one project file.\", you've run into a limitation of the dotnet cli. A workaround is to execute from any random directory and utilise the -ep and -wd args. (eg. mkdir temp && cd temp && dotnet references fix -ep ../ -wd .. -rupf (or -ep ../Company.Project.sln -wd .. )). Directory as entry point By passing a directory as the entry, the tool will assume that the current directory structure is the source of truth and will fix all project references inside all .sln and .csproj files to the correct relative path. Use cases: You have moved your source code into a new folder structure (via a script or otherwise) and don't want to manually updates all your project references in .sln and .csproj files. (Project file names must be the same). Solution file as entry point By passing a .sln file, the tool will assume that it is the source of truth; thus m","default_branch":null,"files":null,"tree":[],"storefront":"/r/benmccallum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/benmccallum/dotnet-references/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}