Closed TOTBWF closed 6 years ago
This PR does require MSBuild 15 to compile, which explains why the CI checks are failing, as they use MsBuild 14 and Xbuild 14 (Which is now deprecated)
I think the MSBuild 15 issue can be resolved by modifying the appveyor.yml
and .travis.yml
files. Care to take a crack at it?
Looks like a few tests are failing on AppVeyor and Travis, probably related to a binding redirect. Also, please either remove SourceLink or update to the new version that works with .NET Core. Thank you for continuing to work on this!
@cloudRoutine it looks as though the config on AppVeyor is causing this to break. It's trying to run build.cmd NuGet
, which we replaced with build.cmd Pack
in appveyor.yml
.
@forki do you know why I would see a build error stating, 'Target "NuGet" is not defined.' when I don't have a "NuGet" target?
@TOTBWF I just submitted another PR to fix the build. Can you try merging?
Looks like the AppVeyor build is just broken on the pack stage, all the tests pass.
@enricosada, we are really close on this. Any chance you could help us figure out what's wrong with pack
?
cc @ChrSteinert too, who is a magician in this knid of work :)
Let me check
Seems to be a lot of love has been put into this already! :) I'll see if I can be of any help…
Is there a specific reason, why the packaging is done via dotnet CLI and not Paket? I got it working locally with Paket …
I guess this should do it 👍
@ChrSteinert the dotnet pack
should work with paket too (and is the preferred way with .net core sdk).
paket is integrated in the sdk, so that will helps (msbuild props like PackageLicenseUrl
etc are used, etc)
i tried and i think the issues is <IncludeSymbols>true</IncludeSymbols>
, that is used to generate another package (.symbols.nuget
), but paket target has a bug with that. Probaly author want to include the pdb, not generate another package for the symbols
I'll open and issue in paket repo. meanwhile i'll send a PR to fix this here
paket bug is https://github.com/fsprojects/Paket/issues/2689
System.Reactive already supports netstandard, so this PR updates the build files to both include netstandard as a target, as well as migrating them to the new, pared down fsproj format.