Bug 31655 - Wrong fsharp F# rpm packages for Fedora (and CentOS, ...)
Summary: Wrong fsharp F# rpm packages for Fedora (and CentOS, ...)
Alias: None
Product: Installers
Classification: Mono
Component: General ()
Version: 4.0.0
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Jo Shields
Depends on:
Reported: 2015-07-06 08:27 UTC by Ondra Pelech
Modified: 2016-09-20 18:58 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Ondra Pelech 2015-07-06 08:27:23 UTC
I'm a beginning F# programmer on Fedora 20.
I installed both Mono and F# from the http://download.mono-project.com/repo/centos/ repository.
But I have problems building F# projects:


the problem seems to be that the F# rpm packages do not contain the proper files at the proper places (the file in question be Microsoft.FSharp.Targets)
there should be


but there is only

/usr/lib/mono/Microsoft F#/v4.0/Microsoft.FSharp.Targets
/usr/lib/mono/Microsoft F#/v4.5/Microsoft.FSharp.Targets
/usr/lib/mono/Microsoft SDKs/F#/3.0/Framework/v4.0/Microsoft.FSharp.Targets
/usr/lib/mono/Microsoft SDKs/F#/3.0/Framework/v4.5/Microsoft.FSharp.Targets
/usr/lib/mono/Microsoft SDKs/F#/3.1/Framework/v4.0/Microsoft.FSharp.Targets
/usr/lib/mono/Microsoft SDKs/F#/3.1/Framework/v4.5/Microsoft.FSharp.Targets

which doesn't seem to be enough, and the build fails with something like:

  1) Building /Users/adronhall/Coderz/ProjectScaffold/sharpKataStringCalculator.sln failed with exitcode 1.
  2) : /Users/adronhall/Coderz/ProjectScaffold/src/sharpKataStringCalculator/sharpKataStringCalculator.fsproj(0,0): Target named 'Rebuild' not found in the project.
  3) : /Users/adronhall/Coderz/ProjectScaffold/tests/sharpKataStringCalculator.Tests/sharpKataStringCalculator.Tests.fsproj(0,0): /Users/adronhall/Coderz/ProjectScaffold/tests/sharpKataStringCalculator.Tests/sharpKataStringCalculator.Tests.fsproj: The required attribute "Project" in Import is empty

(there's quick'n'dirty hack to work around this issue, described in the GitHub issue comments)
Comment 1 Rodrigo Kumpera 2015-07-06 10:49:55 UTC
Hi Jo,

Could you take a look at this one?