Skip to content

Commit 2959ce0

Browse files
committed
Fix package reference positioning in Commas.csproj
Reordered the `libse` package reference to align with best practices and added explanatory comments. These clarifications ensure better understanding of dependency management and runtime assembly resolution.
1 parent 032c241 commit 2959ce0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/Commas/Commas.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="libse" IncludeAssets="compile"/>
18-
1917
<!-- https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#controlling-dependency-assets-->
18+
<!-- Note: these nuget package are already part of the main app (Subtititle Edit) so we are only using them here to allow the plugin to compaile-->
19+
<!-- https://learn.microsoft.com/en-us/dotnet/framework/deployment/how-the-runtime-locates-assemblies#locating-the-assembly-through-probing (runtime will find these assembly in Application base)-->
20+
<PackageReference Include="libse" IncludeAssets="compile"/>
2021
<PackageReference Include="Newtonsoft.Json" IncludeAssets="compile"/>
2122
</ItemGroup>
2223

0 commit comments

Comments
 (0)