Skip to content

Commit

Permalink
[Introspection] Add support for plugin loading with single file deplo…
Browse files Browse the repository at this point in the history
…yment

This commit adds support for plugin loading for applications using single file
deployment. Also makes other parts of introspection more robust by avoiding
careless usage of Assembly.Location.

Fixes: #65
  • Loading branch information
hyazinthh committed Aug 29, 2024
1 parent 996c6f7 commit c155df8
Show file tree
Hide file tree
Showing 4 changed files with 422 additions and 246 deletions.
2 changes: 2 additions & 0 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ nuget FsPickler.Json ~> 5.3.2
nuget Unofficial.Typography ~> 0.1.0
nuget FuzzySharp ~> 2.0.2

nuget SingleFileExtractor.Core ~> 2.2.1

group CodeGenerator
framework net8.0
storage: none
Expand Down
4 changes: 3 additions & 1 deletion paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ NUGET
Microsoft.NETCore.Platforms (7.0.4)
Microsoft.NETCore.Targets (5.0)
Newtonsoft.Json (13.0.3)
SingleFileExtractor.Core (2.2.1)
System.Memory (>= 4.5.5) - restriction: || (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
System.Buffers (4.5.1) - restriction: || (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
System.Collections (4.3)
Microsoft.NETCore.Platforms (>= 1.1)
Expand Down Expand Up @@ -87,7 +89,7 @@ NUGET
System.Runtime (>= 4.3)
System.Runtime.Extensions (>= 4.3)
System.Threading (>= 4.3)
System.Memory (4.5.5) - restriction: || (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
System.Memory (4.5.5) - restriction: || (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
System.Buffers (>= 4.5.1) - restriction: || (&& (== net8.0) (>= monotouch)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.0)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= xamarinios)) (&& (== net8.0) (>= xamarinmac)) (&& (== net8.0) (>= xamarintvos)) (&& (== net8.0) (>= xamarinwatchos)) (== netstandard2.0)
System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net8.0) (< netcoreapp2.0)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net8.0) (>= monotouch)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.0)) (&& (== net8.0) (< netcoreapp2.1)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= uap10.1)) (&& (== net8.0) (>= xamarinios)) (&& (== net8.0) (>= xamarinmac)) (&& (== net8.0) (>= xamarintvos)) (&& (== net8.0) (>= xamarinwatchos)) (== netstandard2.0)
Expand Down
Loading

0 comments on commit c155df8

Please sign in to comment.