Skip to content

Support for .NET Core #192

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

Closed
rstam opened this issue Jul 27, 2015 · 6 comments
Closed

Support for .NET Core #192

rstam opened this issue Jul 27, 2015 · 6 comments

Comments

@rstam
Copy link

rstam commented Jul 27, 2015

We use NSubstitute in a project that we are planning to port to .NET Core, but we are blocked by NSubstitute not supporting .NET Core.

Can support for .NET Core be added to NSubstitute?

@alexandrnikitin
Copy link
Member

I believe it can be and contribution is welcome :bowtie: A couple of links to start from devlooped/moq#168 castleproject/Core#90

@alexandrnikitin
Copy link
Member

There's a tool called .NET Portability Analyzer from Microsoft that gives you a report on how portable is your code. The tool can be found here, a blog post and a page in .NET Core documentation.

I ran it against NSubstitute core (no tests, no Castle.Core), included Mono because DNX uses Mono on non-Windows. The report. Seems not much work to do.

@alexandrnikitin alexandrnikitin changed the title NuGet package for .NET Core Support for .NET Core Aug 2, 2015
@alexandrnikitin alexandrnikitin mentioned this issue Aug 21, 2015
6 tasks
@alexandrnikitin
Copy link
Member

@rstam there are two approaches that add .NET Core support #193 #197. Please take a look when you have time. Probably you can use the compile library in your project already. Your feedback is welcome.

@BrianVallelunga
Copy link

I'm starting to plan for a new project and am thinking of using .NET Core as well. I'd love to have NSubstitute support. Unfortunately, I'm not well versed enough to contribute to the port right now.

@alexandrnikitin
Copy link
Member

@BrianVallelunga that's great to hear. We already have a working build for .NET Core in #197. You could try it by yourself. Feedback is really welcome!

@alexandrnikitin
Copy link
Member

Closed via #197

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

3 participants