feat(injector): obtain full path of nethost.dll
2 files changed, 3 insertions(+), 2 deletions(-) M src/Inject/NosSmooth.Injector/NosInjector.cs M src/Inject/NosSmooth.Injector/NosSmooth.Injector.csproj
M src/Inject/NosSmooth.Injector/NosInjector.cs => src/Inject/NosSmooth.Injector/NosInjector.cs +1 -0
@@ 205,6 205,7 @@ public class NosInjector { string? foundPath = pathsToSearch .Select(x => Path.Join(x, "nethost.dll")) .Select(Path.GetFullPath) .FirstOrDefault(File.Exists); if (foundPath is null)
M src/Inject/NosSmooth.Injector/NosSmooth.Injector.csproj => src/Inject/NosSmooth.Injector/NosSmooth.Injector.csproj +2 -2
@@ 5,8 5,8 @@ <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.dll</AllowedOutputExtensionsInPackageBuildOutputFolder> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <VersionPrefix>1.1.2</VersionPrefix> <PackageReleaseNotes>Update Inject.</PackageReleaseNotes> <VersionPrefix>1.1.3</VersionPrefix> <PackageReleaseNotes>Use full path when injecting.</PackageReleaseNotes> </PropertyGroup> <ItemGroup>