]> git.deb.at Git - rhonda/impostor.git/commit
Automatically add ASP.NET Core to the library path (#507)
authorminiduikboot <mini@duikbo.at>
Fri, 20 Jan 2023 14:23:33 +0000 (15:23 +0100)
committerGitHub <noreply@github.com>
Fri, 20 Jan 2023 14:23:33 +0000 (15:23 +0100)
commit97390a088257dfbba3b8d7994f821b6f8665d35c
treea351dcfc82d26ea4a61758c14502a8b245a479d0
parent23499929fbffb3806d4a75da7470e8f098c69771
Automatically add ASP.NET Core to the library path (#507)

Currently Impostor.Http is becoming an almost mandatory plugin. Because
it depends on ASP.Net, many people who fail to add the required path to
their config will run into an error. Help them by automatically adding
ASP.NET Core.

Also .NET updates every now and then and updating the version number in
the config.json is annoying me.

This commit uses the fact that ASP.NET Core DLL's are in a sibling folder
to the .NET runtime and should therefore work on most setups unless
they've installed ASP.NET Core in a very weird way.

* Fix casing

Co-authored-by: js6pak <kubastaron@hotmail.com>
src/Impostor.Server/Plugins/PluginLoader.cs