https://github.com/fluffynuts/dotnet-utils
Some utils for .net
https://github.com/fluffynuts/dotnet-utils
Last synced: 4 months ago
JSON representation
Some utils for .net
- Host: GitHub
- URL: https://github.com/fluffynuts/dotnet-utils
- Owner: fluffynuts
- License: bsd-3-clause
- Created: 2019-06-13T11:37:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-19T11:12:18.000Z (over 1 year ago)
- Last Synced: 2024-12-30T15:11:48.487Z (about 1 year ago)
- Language: C#
- Size: 39.9 MB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet utils
## toggle-fusion
### what?
A simple batch script inspired by an answer on [StackOverflow](https://stackoverflow.com/questions/255669/how-to-enable-assembly-bind-failure-logging-fusion-in-net#answer-1527249)
to enable or disable Fusion logging so you can get to the bottom of pesky assembly errors
### where?
`bin/toggle-fusion.cmd`
### why?
Because
- I've read elsewhere that I needed only one of these flags (didn't work)
- I'm not going to remember all these flags
- I wasn't aware (before) that I would need to restart processes
### usage
- run with `--help` to see options
- run with no arguments for interactive mode
### batch scripts... ew!
Yes, I know, but I wanted minimal dependencies
## asmdeps
### what?
A command-line utility to list the dependencies of one or more assemblies. This code
has been hanging around in dropbox for ages -- it's time it was set free.
### why?
Because sometimes it's useful to have a little util to tell you an assembly
dependency chain. I've found myself looking for this over and over, and finally
found it again. So here it is.
### where?
a net472-capable binary can be found at:
```
bin/asmdeps.exe
```
source is in the `asmdeps` folder. You can build a new win32 executable with
`dotnet publish asmdeps/asmdeps.csproj`. This hasn't been tested on netcore,
but I guess it would work for netcore stuff?
### usage
`asmdeps.exe some.assembly.dll another.assembly.dll ...`
### code is ew
probably -- but it's functional
### I want to build, but zomg submodules
This is done on purpose to make built artifacts single-binary. Deal.