https://github.com/aegoroff/solt
Small console app written in Go that allows you to easily analyze sources and Microsoft Visual Studio solutions and projects.
https://github.com/aegoroff/solt
golang golang-application tool visual-studio
Last synced: about 1 year ago
JSON representation
Small console app written in Go that allows you to easily analyze sources and Microsoft Visual Studio solutions and projects.
- Host: GitHub
- URL: https://github.com/aegoroff/solt
- Owner: aegoroff
- License: mit
- Created: 2018-10-02T19:18:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T16:23:12.000Z (about 1 year ago)
- Last Synced: 2025-04-04T03:41:14.882Z (about 1 year ago)
- Topics: golang, golang-application, tool, visual-studio
- Language: Go
- Homepage:
- Size: 1.03 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
solt
====
[](https://app.codacy.com/manual/egoroff/solt?utm_source=github.com&utm_medium=referral&utm_content=aegoroff/solt&utm_campaign=Badge_Grade_Dashboard)
[](https://github.com/aegoroff/solt/actions/workflows/ci.yml)
[](https://codecov.io/gh/aegoroff/solt)
[](https://github.com/XAMPPRocky/tokei)
**SOL**ution **T**ool is the small console app written in Go that allows you to easily analyze
sources and Microsoft Visual Studio solutions and projects.
The tool can find files that aren't included into any project and projects that
are not included into any solution. Additionally, the tool shows some useful
solution statistic
## Install the pre-compiled binary
**homebrew** (only on macOS and Linux for now):
Add my tap (do it once):
```sh
brew tap aegoroff/tap
```
And then install solt:
```sh
brew install solt
```
Update solt if already installed:
```sh
brew upgrade solt
```
**scoop**:
```sh
scoop bucket add aegoroff https://github.com/aegoroff/scoop-bucket.git
scoop install solt
```
**manually**:
Download the pre-compiled binaries from the [releases](https://github.com/aegoroff/solt/releases) and
copy to the desired location.
Command line syntax:
--------------------
```
SOLution Tool that analyzes Microsoft Visual Studio solutions and projects
Usage:
solt [flags]
solt [command]
Available Commands:
help Help about any command
in Get information about found solutions
lf Find lost files in the folder specified
lp Find projects that not included into any solution
nu Get nuget packages information within solutions,
projects or find Nuget mismatches in solution
va Validates SDK projects within solution(s)
ver Print the version number of solt
Flags:
--cpuprofile string Runs CPU profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-d, --diag Show application diagnostic after run
-h, --help help for solt
--memprofile string Runs memory profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-o, --output string Write results into file. Specify path to
output file using this option
Use "solt [command] --help" for more information about a command.
```
### Search lost files syntax:
```
Find lost files in the folder specified
Usage:
solt lf [path] [flags]
Aliases:
lf, lostfiles
Flags:
-a, --all Search all lost files including that have
links to but not exists in file system
-f, --file string Lost files filter extension. (default ".cs")
-h, --help help for lf
-r, --remove Remove lost files
Global Flags:
--cpuprofile string Runs CPU profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-d, --diag Show application diagnostic after run
--memprofile string Runs memory profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-o, --output string Write results into file. Specify path to
output file using this option
```
### Search lost projects syntax:
```
Find projects that not included into any solution
Usage:
solt lp [path] [flags]
Aliases:
lp, lostprojects
Flags:
-h, --help help for lp
-r, --remove Remove lost projects folders
Global Flags:
--cpuprofile string Runs CPU profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-d, --diag Show application diagnostic after run
--memprofile string Runs memory profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-o, --output string Write results into file. Specify path to
output file using this option
```
### Nuget information syntax:
```
Get nuget packages information within solutions
Usage:
solt nu [path] [flags]
solt nu [command]
Aliases:
nu, nuget
Available Commands:
p Get nuget packages information by projects' folders
i.e. from packages.config or SDK project files
Flags:
-h, --help help for nu
-m, --mismatch Find packages to consolidate i.e. packages
with different versions in the same solution
-v, --verbose Output details about mismatched nuget packages
Global Flags:
--cpuprofile string Runs CPU profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-d, --diag Show application diagnostic after run
--memprofile string Runs memory profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-o, --output string Write results into file. Specify path to
output file using this option
```
### Validate SDK projects syntax:
```
Validates SDK projects within solution(s)
Usage:
solt va [path] [flags]
solt va [command]
Aliases:
va, validate
Available Commands:
fix Fixes redundant SDK projects references
Flags:
-h, --help help for va
Global Flags:
--cpuprofile string Runs CPU profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-d, --diag Show application diagnostic after run
--memprofile string Runs memory profiling if --diag option set.
If not set profiling not started.
Correct file path should be set here
-o, --output string Write results into file. Specify path to
output file using this option
```