add support for net40 and net45#387
add support for net40 and net45#387moh-hassan wants to merge 0 commit intocommandlineparser:masterfrom moh-hassan:master
Conversation
|
Thanks for starting this. It was next on my list. Looks like fsharp project wont work on anything prior to 4.5. We can probably split that build off for any <4.5. I've been seeing requests for framework 3.5 support, although off the top of my head I can't think of how cumbersome that might be. |
Added explicit support for .NET 4.6.1 and .NET Core 2.0.
|
This looks good, although the FSharp package is failing because FSharp isnt supported at the net40 level. @moh-hassan Any ideas on how to prevent it from building when doing a net40 build? We can probably separate it out somehow. The build is getting complicated... lol |
|
Hi @ericnewton76 , With Condition: I generated Fsharp package by the command: I get a package: `CommandLineParser.FSharp.2.5.0.nupkg' in my modified pR Let me know i this done in your side, and ready for ping. I'm online now. Can you check the generated package. |
|
Gotcha. I'll do that
Thanks again
…On Fri, Feb 1, 2019 at 12:45 PM Mohamed Hassan ***@***.***> wrote:
Hi @ericnewton76 <https://github.com/ericnewton76> ,
You can use conditional build
Modify the xml project `CommandLine.csproj' and replace
<ItemGroup>
<PackageReference Include="FSharp.Core" Version="4.5.1" Condition="'$(BuildTarget)' == 'fsharp'" />
</ItemGroup>
With Condition:
<ItemGroup Condition="'$(TargetFramework)' != 'net40' and '$(BuildTarget)' == 'fsharp'">
<PackageReference Include="FSharp.Core" Version="4.5.1" Condition="'$(BuildTarget)' == 'fsharp'" />
</ItemGroup>
I generated Fsharp package by the command:
msbuild /t:pack /p:BuildTarget=fsharp
I get a package: `CommandLineParser.FSharp.2.5.0.nupkg' in my modified pR
the package include net40,net45,net461 and netstandard2
Let me know i this done in your side, and ready for ping. I'm online now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#387 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACG_zKbCtBjizh4vVSPgfj9u6M0YRd-Xks5vJH1MgaJpZM4Z4uJU>
.
--
E.Newton
Senior Software Craftsman
Cell: 407-497-1429
EMail: [email protected]
|
|
@ericnewton76 I run I fixed the failed test by using the solution I explained in the same issue All tests pass Successfully in both net461 and netcoreapp2.0 The test pass in CI Appveyor with the green success text: NET461
NETCoreApp2.0
The confliction in the merge is: which can be resolved manually |
|
What's the status of this issue? It would be really great if it could be merged soon |
|
@moh-hassan @ericnewton76 |
|
The PR is ready to be merged: The current Conflicting files:
It Can be resolved to: tests/CommandLine.Tests/Unit/Text/HelpTextTests.cs
can be resolved to: @ericnewton76 |
|
@vgalka-sl |
@moh-hassan Thank you! Seems Eric is busy, so we just have to wait. |
|
I have to resolve an error (not related to the current PR) after rebasing , may be due to merging a previous commit:
'VersionRequestedError' is duplicated in the same file: Error.cs in line63 and line68 Also, resolving the following compilation errors:
Can you confirm these modifications? Edit: |
|
The new PR#428 submitted by @Wind010 is fine and fix the issue of compilation errors and I can rebase Upstream after it's (PR#428) merged. |
|
Moving the PR to a separate branch in a new PR# 430 |
Uh oh!
There was an error while loading. Please reload this page.