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

feat: .NET Core Support #3969

Merged
merged 43 commits into from
Aug 24, 2022
Merged

feat: .NET Core Support #3969

merged 43 commits into from
Aug 24, 2022

Conversation

lokitoth
Copy link
Member

@lokitoth lokitoth commented Jun 9, 2022

WIP branch for .NET Core Support

Needs:

  • Rebase to VW current
  • Merge in: Linux build
  • Merge in: NuGet generation

@@ -6,5 +6,55 @@
],
Copy link
Member Author

@lokitoth lokitoth Jun 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • delete this

@@ -0,0 +1,32 @@
message(STATUS "Building .NET Framework Bindings")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • delete this

@@ -45,6 +45,9 @@ public void Test1and2()

Assert.AreEqual((float)expected, actual, 1e-6, "Learn output differs on line: " + lineNr);

ulong vwStr_examplesPerPass = vwStr.PerformanceStatistics.NumberOfExamplesPerPass;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • debug spew leftovers

@rajan-chari
Copy link
Member

Nice!

SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/binaries/")
endif()

add_custom_target(launch_vs COMMAND set "BinaryOutputBase=${CMAKE_BINARY_DIR}/binaries" && start "${CMAKE_BINARY_DIR}/vowpal_wabbit.sln")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome.

@@ -31,6 +31,10 @@ public static class ReflectionHelper
/// <remarks>Can't constraint on Func (or would have to have 11 overloads) nor is it possible to constaint on delegate.</remarks>
public static System.Delegate CompileToFunc<T>(this Expression<T> sourceExpression)
{
#if NETSTANDARD
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check for mis-merge.

@@ -44,6 +44,7 @@ private static void Ingest(VowpalWabbitAsync<CbAdfShared, CbAdfAction> vw, IEnum

[TestMethod]
[TestCategory("Vowpal Wabbit")]
//[Ignore]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove line

@@ -2,20 +2,20 @@

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete file

@@ -2,29 +2,38 @@
"configurations": [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete file

Copy link
Member

@rajan-chari rajan-chari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Let's ship!

@rajan-chari rajan-chari marked this pull request as ready for review July 21, 2022 15:50
@PeterDraex
Copy link

I'm excited for this :)

@lokitoth lokitoth force-pushed the dev/DotNetCore branch 2 times, most recently from 454435f to 9516a5f Compare August 22, 2022 16:53
@lokitoth lokitoth merged commit 51a8435 into VowpalWabbit:master Aug 24, 2022
@PeterDraex
Copy link

When will this get released? :)

@olgavrou
Copy link
Collaborator

@PeterDraex probably first couple weeks of September

@PeterDraex
Copy link

@olgavrou: probably first couple weeks of September

Hi, is there any update on the expected release date?

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

Successfully merging this pull request may close these issues.

5 participants