Fody / NullGuard

Adds null argument checks to an assembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET Core support

TomMarius opened this issue · comments

Hello,

it would be great to support .NET Core. Right now it fails saying that the type Attribute is defined in an unreferenced 'mscorlib' assembly.

Referencing NullGuard.Fody doesn't break my AspNet Core project in any way. However the method parameters are not seem to be checked by NullGuard in runtime.

Please let package consumers know if there are any plans for supporting NetCore.

I think supporting .NET Core will be difficult if Fody itself isn't supported on .NET Core 😐

@304NotModified could you clarify what do you mean?

Well this library is dependent of Fody, which doesn't support .NET Core (yet)? See Fody/Fody#206

@304NotModified I see. I completely forgot there's this dependency (obvious though)

its now supported by fody Fody/Fody#206

yes it's supported since 2.0 (currently 2.0.7 is the latest: https://www.nuget.org/packages/Fody/2.0.7)

@SimonCropp Thank you for finishing this. I noticed there is no new (pre) release yet though. I don't know if this is intentional, thought I'd let you know. Ill just have to be patient :)

this should now be on nuget