Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Add missing dependency to System.Reflection.Emit
Browse files Browse the repository at this point in the history
Moq doesn't just require the `System.Reflection.Emit` package because
`Castle.Core` requires it; Moq also uses the functionality provided by
that package directly when mocking delegate types. Therefore, add it
as an explicit dependency.
  • Loading branch information
stakx committed Jul 8, 2018
1 parent 9747eff commit 7639655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Moq.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<group targetFramework=".NETStandard1.3">
<dependency id="NETStandard.Library" version="1.6.1" />
<dependency id="System.Linq.Queryable" version="4.3.0" />
<dependency id="System.Reflection.Emit" version="4.3.0" />
<dependency id="System.Reflection.TypeExtensions" version="4.3.0" />
<dependency id="Castle.Core" version="4.3.1" />
<dependency id="System.Threading.Tasks.Extensions" version="4.3.0" />
Expand Down
1 change: 1 addition & 0 deletions Source/Moq.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.Linq.Queryable" Version="4.3.0" />
<PackageReference Include="System.Reflection.Emit" Version="4.3.0" />
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.4.0" />
</ItemGroup>

Expand Down

0 comments on commit 7639655

Please sign in to comment.