Repository navigation
[WIP] Add netcore using .NET CLI - #47
enricosada wants to merge 22 commits into
Conversation
c475691 to
8da00cf
Compare
the Or someones has ideas? /cc @dsyme @KevinRansom |
|
Hi Enrico, The BinaryFormatter namespace declaration is indeed a leftover from a feature that has long been removed. You can safely remove it. Regarding AppSettings, I think it would be best if all the relevant API was cleared off for CLR builds, as opposed to raising NotSupportedExceptions in the midst of execution. |
|
ok about binaryformatter, one #ifdef less 😄 i'll ifdef the whole appsettings api out instead of throw. I was asking because maybe you had a replacement in mind, but remove it it's safer atm the overload bug is something i dont know how to workaround, if noone find an idea we need to wait the fix of fsc |
|
closed in favor of #57 |
There are three issues:
BinaryFormattersnot supported by netcore afaik (it's used? or only the open namespace?)Configurationfor appsettings, not supported by netcore afaik (maybe use Microsoft.Framework.Configuration package?Only the bug with overload stop the build, i made the appsettings fail with not supported exception atm
I'll add appveyor build soon
But having .net cli installed (only windows works atm, there is a bug), from repo root
dotnet restorecd src/Argudotnet buildthere is a temporary smoke test prject in
src/Argu.Dotnetcli.Tests(it can be removed or moved after)cd src/Argu.Dotnetcli.Testsdotnet build --framework net46to check net46 works./bin/Debug/net46/win7-x64/Argu.Dotnetcli.Tests.exeto run itwhen
dnxcoreworkscd src/Argu.Dotnetcli.Testsdotnet run --framework dnxcore50When everything is green, the built assembly can be added to current
Argunuget package for netcore framework