-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Put C# port under solution #24
base: master
Are you sure you want to change the base?
Conversation
- Add DiffMatchPatch project - Add DiffMatchPatchTest project for xUnit tests
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
I signed it! |
CLAs look good, thanks! |
Hi, thanks for this PR. The main issue here is how to support the existing developers who depend on the DMP library. They have automated build scripts that pull DMP into their projects. Wouldn't this PR break all existing developers? |
@rolshevsky if you're interested, I am maintaining a 'canonical C#' version of the original C# version at https://github.com/jhgbrt/google-diff-match-patch-csharp/. |
I'd like to see this merged, if possible. Would the potential breakage for other developers be remedied if instead of moving the csharp file, it stayed where it was? |
@mattkoch614 @NeilFraser , I think, for saving compatibility I can restore |
It is possible to add the sln and csproj files without breaking the folder structure:
|
@NeilFraser, @jhgbrt, @mattkoch614 - I was updated PR with the following changes:
@mattkoch614 I have some doubts about #47 where we included original |
@rolshevsky Thanks for the information. @rolshevsky @jhgbrt @NeilFraser Forgive me if I am missing something. |
Yeah, exactly, I mean if we left path as-is and then start patching the library API (#25) - this will be a breaking change for existing users. But in case if we just deprecate existing But again, it's just my understanding of the problem here. @NeilFraser please, correct me if I'm wrong. |
I would be pretty useful to have a more modern c# version of this. It seems to me that, if we want to assume full compatibility, the only way forward is to use the existing cs file as-is with a solution/project. |
@Poltuu to some extends, it is implemented in that way already. I left original |
The reason of this PR is moving all C# related files under solution, as a target I used
.netstandard2.0
.Benefits:
netstandard
as a targetNuGet
package in futureSource code of core functionality I left as-is.
View of
![rider64_2018-07-20_21-52-04](https://user-images.githubusercontent.com/4366995/43020761-c4f92816-8c69-11e8-98ab-101a1113ed9f.png)
Solution explorer
: