Open theimowski opened 6 years ago
I think this is something interesting and might be related to what happened before regarding assembly versioning and Suave.
Ok maybe it is something entirely different, you can try to
This looks like you might have hit some strange incompat between a netstandard and an existing net461 api.
Description
I want to add
Suave.Experimental
and targetnet461
but using .net sdk-based project. When referencingSystem.Net.Mail.MailAddress
class, a .net core packageSystem.Net.Mail
is added instead of using the standardSystem.dll
4.0Repro steps
https://github.com/theimowski/repro-paket-system.net.mail
dotnet restore
dotnet build
dotnet run
Expected behavior
want to print:
Actual behavior
prints:
Known workarounds
¯\(ツ)/¯
TBH I'm not even sure if this is Paket-related, or rather F#-specific. Same happens if I don't use Paket on F# project: https://github.com/theimowski/repro-paket-system.net.mail/tree/fsharp_nopaket However if I use C# without Paket https://github.com/theimowski/repro-paket-system.net.mail/tree/csharp , I get an error build upon
dotnet build
:Any guidance would be helpful here