-
Notifications
You must be signed in to change notification settings - Fork 230
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
Add support for .NET Core #23
Comments
…ted all Hashtables to Dictionaries, and all ArrayList to List #23
…ilds. Going to move ical.net over... #23
idiomatic xproj usage until the tooling (ReSharper, Visual Studio) improves. All .Net Core changes were back-ported to the non-Core library, so this should be easy-ish in the future. Right now, though, we have two side-by-side versions of ical.net in the repo. The .Net Core version is in the `ical-core` directory. #23
Normally I wouldn't merge half-completed work back into |
Any thoughts to migrating to xunit? |
To xUnit from nUnit? I haven't thought about it. |
Hi Rian I'd like to contribute on ASP.NET Core branch. Is there one? How far are you in porting it? Thanks and have a great day, |
@kdaveid - I'd be thrilled for someone else to also work on this. I don't love managing build configurations and pipelines. This PR has some information on where the .NET Core port stands now: #28 The non-Core code has diverged a little bit, as I've been on a deleting/simplification spree, but I haven't written any new code that will be incompatible with .NET Core, AFAIK. I see several possibilities: Option 1: delete all the directories underneath Option 2: Add another build configuration to the When I got up the energy, I was going to give option 2 a go. My guiding thoughts are these:
|
Option #1 is the one me and my team have been doing. It is better to bite the bullet on migrating to the new project structure, rather than trying to shoehorn stuff into csproj. I believe the .NET team is working on tooling to make this migration automatic. |
I don't think so, @khalidabuhakmeh.
https://blogs.msdn.microsoft.com/dotnet/2016/05/23/changes-to-project-json/ |
Maybe: |
Hi, Beside the fact that NUnit does not work (yet) is your code ready for dotnet core ? |
Yup. I'm about to push up a branch, or replace the v3 project, I haven't decided which. I wish nunit would hurry up and get their act together. |
I swapped the .NET Core version for the v3 version. .NET Core was based on v3 (line for line). I view .NET Core as the next major revision of ical.net. When VS2017 drops for real, and nunit is working, I'll publish a real v3 on nuget. In the meantime, you can clone the repo, and compile the binaries yourself if you need a .NET Core version. |
Hmm, weird. I created the stuff under the That directive basically says "find and compile all .cs files under the directory trees". I wonder if there were duplicates or something? If you have your Output log still (or can re-create the error), I'd love to see it. -- Anyway, there are two steps left to incoporating it into the nuget package:
I could get away with nunit not working so long as all fixes are back-ported to v2 where I can still run the test suite. |
No, my VS2017 is from 3-4 weeks ago. This is why I don't usually mess with pre-release stuff: it's a moving target and a complete time-waster. |
Bumping now that VS17 Finally was released |
What is the current status? |
Waiting for nunit + ReSharper support. |
@rianjs Would you be ok with migrating to xunit? I could probably spare some time to help you with it. Also could you publish a prerelease on NuGet of the current version? |
I'm not convinced it's worth the time. The nunit people are working on real .NET Core support, and R# is (apparently) right around the corner. If we get to June-July and there's still no real .Net core nunit, I'll be more interested switching to xUnit. In the meantime, doing the work (there's about 350 unit tests) just to move a shipping date closer doesn't seem worth it.
Sure, I'll see if I can do that. |
netstandard1.6 nuget package: The API is slightly different. Off the top of my head, all the interface version of calendar components are gone:
That sort of thing. It should be fairly intuitive. |
I probably should have named it 3.0.1-net-core-alpha instead. Oh well. |
.NET Core nuget prerelease package #23
@rianjs I'm fine with that. Let me know if/once you would like my help. |
If you try it out, let me know if it doesn't behave as expected. Ideally I'd like to retire the Framework versions, and just have .NET Core versions, as I believe Framework versions will use .NET Core libraries, assuming the API surface area (netstandard version) overlaps. |
Yeah, .NET Standard is really awesome for creating libraries.
I was to impatient and got the tests running with xunit in my local dev
env.^^
For some strange reason the dotnet process crashes during some of the
tests. Also a few of the other tests generally fail.
I'll probably push the changes to my fork tomorrow and will let you know if
I find some actual errors.
…On Wed, Mar 22, 2017, 21:54 Rian Stockbower ***@***.***> wrote:
If you try it out, let me know if it doesn't behave as expected.
Ideally I'd like to retire the Framework versions, and just have .NET Core
versions, as I believe Framework versions will use .NET Core libraries,
assuming the API surface area (netstandard version) overlaps.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADKSk31x3hYNRceekYj4sp0aKa1B1KCQks5roYqLgaJpZM4JD5hd>
.
|
Hey, thanks for pushing the I'm giving it a try in a sample .NET Core console app. I made a quick pull request to the .nuspec to add the NodaTime dependency, but I have one other issue. EDIT: See #253 |
Let's fork off separate issues, using this as a master ticket:
|
This has been done for a while now. |
Could you update where things are with respect to .net core support? Does version 4.x have core support or is it still back in the 3.x.beta releases? |
I'm using 4.x in a .NET Core project right now. |
The text was updated successfully, but these errors were encountered: