fsprojects / ProjectScaffold

A prototypical .NET solution (file system layout and tooling), recommended for F# projects
http://fsprojects.github.io/ProjectScaffold
The Unlicense
515 stars 154 forks source link

clone/build does not work on Mac #332

Closed jackfoxy closed 5 years ago

jackfoxy commented 5 years ago

Description

clone/build does not work on Mac

Repro steps

from twitter report, needs more info

jackfoxy commented 5 years ago

Some information I picked up might be relevant:

To use dotnet build on non-windows for non-netstandard/netcoreapp frameworks you need to supply the path to the mono BCL libraries like so: export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/

Here's an example you may like: https://github.com/fsprojects/FSharp.TypeProviders.SDK/blob/master/netfx.props You can copy this file and include it in your fsprojs to get the same effect

jackfoxy commented 5 years ago

@jeremyabbott I got this feedback over twitter I get build failures on /usr/local/share/dotnet/sdk/2.1.301/Microsoft.Common.CurrentVersion.targets(1179,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.7" were not found.

Perhaps we should rollback the mutitargetting to net461? https://twitter.com/paytonrules/status/1022321025135112192

jeremyabbott commented 5 years ago

I’ll take a look ASAP.

-- Jeremy Abbott

On July 26, 2018 at 09:50:12, Jack Fox (notifications@github.com) wrote:

@jeremyabbott https://github.com/jeremyabbott I got this feedback over twitter I get build failures on /usr/local/share/dotnet/sdk/2.1.301/Microsoft.Common.CurrentVersion.targets(1179,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.7" were not found.

Perhaps we should rollback the mutitargetting to net461? https://twitter.com/paytonrules/status/1022321025135112192

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fsprojects/ProjectScaffold/issues/332#issuecomment-408162236, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8iPnBgST2Y2hxkLFQBSL5pX5KeiGAhks5uKfNEgaJpZM4VG08i .

jackfoxy commented 5 years ago

I'm declaring this fixed. If any other Mac issues arise we can open a new issue.