Skip to content

Commit

Permalink
fix(net8): update to new assembly location property
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-is-cute committed Mar 12, 2024
1 parent 04ef6b0 commit b1bb3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util/DependencyHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal static class DependencyHelper {
}

internal static async Task<bool> CheckDependencies(Plugin plugin) {
var dllPath = Path.GetDirectoryName(plugin.GetType().Assembly.Location)!;
var dllPath = plugin.Interface.AssemblyLocation.FullName;
var infoFilePath = Path.Join(dllPath, $"{InternalName}.deps.json");
var infoFileJson = await FileHelper.ReadAllTextAsync(infoFilePath);
var info = JsonConvert.DeserializeObject<DependencyInfo>(infoFileJson)!;
Expand Down

0 comments on commit b1bb3a2

Please sign in to comment.