Skip to content

Commit

Permalink
for default use cases avoid having extra binaries from MLC dep.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkkirschner committed Apr 22, 2024
1 parent a127282 commit 55a61b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/NodeServices/DynamoServices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<NoWarn>MSB3539;CS1591;NUnit2005;NUnit2007;CS0618;CS0612;CS0672</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="8.0.0" />
<!--exclude these dependencies as Sys.Ref.MetadataLoadContext.dll is already pulled in from other projects and the transitive deps are part of the .net8 runtime.-->
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="8.0.0" ExcludeAssets="runtime" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
It also contains useful static events and event data for monitoring workspace and execution changes.</summary>
<copyright>Copyright Autodesk 2023</copyright>
<dependencies>
<group targetFramework="netstandard2.0" />
<group targetFramework="netstandard2.0">
<dependency id="System.Reflection.MetadataLoadContext" version="8.0.0" />
</group>
<!--when targeting .net8 metadataloadcontext's transitive deps can be loaded from the runtime-->
<group targetFramework="net8.0">
<dependency id="System.Reflection.MetadataLoadContext" version="8.0.0" exclude="build,analyzers,runtime" />
</group>
</dependencies>
</metadata>
<files>
Expand Down

0 comments on commit 55a61b4

Please sign in to comment.