Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Castle Core dependencies for .Net Standard 1.5 #534

Closed
stcallan opened this issue Aug 21, 2020 · 5 comments
Closed

Castle Core dependencies for .Net Standard 1.5 #534

stcallan opened this issue Aug 21, 2020 · 5 comments

Comments

@stcallan
Copy link

stcallan commented Aug 21, 2020

Does Castle.Core have any dependencies on .Net Standard 2.0 ?

We can see there are dependencies for .Net Standard 1.5

Just looking at this here:
image

Thanks!

@jonorossi
Copy link
Member

Safe to use on .NET Standard 2.0 as long as it isn't an AOT platform (like some of the Xamarin platforms). We have added .NET Standard 2.0 in the next major version (#407), it just hasn't been released yet.

@SonnyCampbellUnity
Copy link

@jonorossi Does it have the same list of dependencies as netstandard 1.5, or has that changed at all?

@stakx
Copy link
Member

stakx commented Aug 21, 2020

Does it have the same list of dependencies as netstandard 1.5, or has that changed at all?

The .netstandard2.x targest should end up having far fewer package dependencies (on the order of 1-2 in total) compared to netstandard1.x; see

<ItemGroup Condition="'$(TargetFramework)'=='net45'">
<Reference Include="System.Configuration" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0' OR '$(TargetFramework)'=='netstandard2.1'">
<PackageReference Include="System.Diagnostics.EventLog" Version="4.7.0" />
</ItemGroup>
.

@jonorossi
Copy link
Member

@SonnyCampbellUnity all those dependencies (which was Microsoft's guidance at the time of .NET Standard 1.x) are gone, minimal list now with the .NET Standard library dependency.

@SonnyCampbellUnity
Copy link

Thanks guys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants