Fable: dotnet core only

Created on 17 Nov 2017  ยท  5Comments  ยท  Source: fable-compiler/Fable

Description

Should avoid dependencie to mono for tooling or remove usage of them.
I'm trying to create a dev fable docker image.

The image contains node image and dotnet 2.0.3 sdk.
I want to only use dotnet cli to compile my fable projet.

Repro code

  • create simple netcoreapp2.0 project
  • Remove paket stuff like target
  • add one by one nuget package using cli including dotnet-fable
  • execute

    • dotnet restore

    • cd src

    • yarn install

    • dotnet fable webpack --port free -- -p

this is an exemple ..

Expected and actual results

do the job without error o/

Related information

Actual error

Module build failed: Error: MSBuild failed with exitCode 1 Working Directory: 'D:\Repos\boost-support\src' Exe Path: 'dotnet' Args: 'msbuild D:\Repos\boost-support\src\Client.fsproj /p:SkipCompilerExecution=true /p:ProvideCommandLineArgs=true /p:CopyBuildOutputToOutputDirectory=false /p:UseCommonOutputDirectory=true /t:_Inspect_FscArgs /p:_Inspect_FscArgs_OutFile=C:\Users\vbourdon\AppData\Local\Temp\tmpFB4A.tmp.FscArgs.txt /p:DesignTimeBuild=true /t:_Inspect_GetResolvedProjectReferences /p:_Inspect_GetResolvedProjectReferences_OutFile=C:\Users\vbourdon\AppData\Local\Temp\tmpFB4B.tmp.GetResolvedProjectReferences.txt /t:_Inspect_GetProperties /p:_Inspect_GetProperties_OutFile=C:\Users\vbourdon\AppData\Local\Temp\tmpFB4C.tmp.GetProperties.txt /nologo /verbosity:quiet'
    at Loader.fableUtils.client.send.then.r (D:\Repos\boost-support\node_modules\fable-loader\index.js:67:22)

Most helpful comment

@enricosada promised to have version until Xmas. :hugs:

Am 17.11.2017 16:15 schrieb "Alfonso Garcia-Caro" <[email protected]

:

Hmm, looks like this is an MSBuild error. That's weird because MSBuild
should be installed as part of dotnet SDK ๐Ÿค”

In any case, it's going to be difficult to remove the Mono dependency as
of now for non-trivial projects because Fable relies on Paket to resolve
the dependency order of Nuget references. We have to wait until @forki
https://github.com/forki and @matthid https://github.com/matthid
migrate Paket to netcore ;)

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fable-compiler/Fable/issues/1235#issuecomment-345271000,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNGDPr7krFkl3PRMbtJQLtn2Po4hAks5s3aMTgaJpZM4QiKuc
.

All 5 comments

Hmm, looks like this is an MSBuild error. That's weird because MSBuild should be installed as part of dotnet SDK ๐Ÿค”

In any case, it's going to be difficult to remove the Mono dependency as of now for non-trivial projects because Fable relies on Paket to resolve the dependency order of Nuget references. We have to wait until @forki and @matthid migrate Paket to netcore ;)

@enricosada promised to have version until Xmas. :hugs:

Am 17.11.2017 16:15 schrieb "Alfonso Garcia-Caro" <[email protected]

:

Hmm, looks like this is an MSBuild error. That's weird because MSBuild
should be installed as part of dotnet SDK ๐Ÿค”

In any case, it's going to be difficult to remove the Mono dependency as
of now for non-trivial projects because Fable relies on Paket to resolve
the dependency order of Nuget references. We have to wait until @forki
https://github.com/forki and @matthid https://github.com/matthid
migrate Paket to netcore ;)

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fable-compiler/Fable/issues/1235#issuecomment-345271000,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNGDPr7krFkl3PRMbtJQLtn2Po4hAks5s3aMTgaJpZM4QiKuc
.

@alfonsogarciacaro What do you mean by

Fable relies on Paket to resolve the dependency order of Nuget references
not sure to understand

๐ŸŽ„ ๐ŸŽ <= a xmas paket @forki are you Santa ?

Paket is creating a file which lists the dependency tree in topological
order. Fable needs that info so that it can order file imports for you.

Regarding Santa. Yes I really hope we can pull that stunt

Am 17.11.2017 16:34 schrieb "Vincent B." notifications@github.com:

@alfonsogarciacaro https://github.com/alfonsogarciacaro What do you mean
by

Fable relies on Paket to resolve the dependency order of Nuget references
not sure to understand

๐ŸŽ„ ๐ŸŽ <= a xmas paket @forki https://github.com/forki are you Santa ?

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fable-compiler/Fable/issues/1235#issuecomment-345276348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNG8fgGQwxGwlffmFKdbhbogaCx4Zks5s3aeBgaJpZM4QiKuc
.

Ionide has a netcore-only option now. When Paket follows suit we'll be able to remove Mono from the list of Fable requirements :smile: I'll close the issue for now as we can't do anything from here at the moment.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alfonsogarciacaro picture alfonsogarciacaro  ยท  3Comments

MangelMaxime picture MangelMaxime  ยท  3Comments

SirUppyPancakes picture SirUppyPancakes  ยท  3Comments

forki picture forki  ยท  3Comments

MangelMaxime picture MangelMaxime  ยท  3Comments