Skip to content

Conversation

@qmfrederik
Copy link
Contributor

This PR adds some additional changes to make the project compile & the tests run on .NET Core.

Here's what I have

git checkout -- . git clean -xfd . .paket\paket.bootstrapper.exe .paket\paket.exe install dotnet restore cd tests\CommandLine.Tests\ dotnet build dotnet test 

which results in:

=== TEST EXECUTION SUMMARY === CommandLine.Tests Total: 274, Errors: 0, Failed: 0, Skipped: 0, Time: 1.409s SUMMARY: Total: 1 targets, Passed: 1, Failed: 0. 

Let me know if this work for you (& if this can be merged to master & we can have a NuGet release which includes support for .NET Core :))

@nemecnemec merged commit 49d0850 into gsscoder:dotnet-coreJul 8, 2016
@nemec
Copy link
Collaborator

nemec commented Jul 8, 2016

Hey do you know how to make dotnet restore use the local project as a dependency instead of trying NuGet? When it attempts to restore CommandLine.Tests/project.json it fails because:

Unable to resolve 'CommandLine (>= 2.0.275)' for '.NETCoreApp,Version=v1.0' 

Which is obvious, since CommandLine for .net core isn't uploaded to NuGet yet :)

P.S. I'm trying this on Linux, maybe that's an issue.

@qmfrederik
Copy link
ContributorAuthor

@nemec You can use -f [path to CommandLine/bin/Debug] for that.

Normally dotnet restore should be able to find your other projects based on your global.json configuration, but somehow didn't quite get that working.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@qmfrederik@nemec