Problems building F# projects:"The target "Build" does not exist in the project."

Igor Lankin's Avatar

Igor Lankin

26 Oct, 2013 12:13 AM

Hi,

I am having problems building a Visual Studio 2012 solution which contains F# projects:
https://ci.appveyor.com/project/pgn-net/build

When it comes to buiding the F# project [1], the build failes with the message "The target "Build" does not exist in the project."
It seems like the target files are not found as described here: http://hello-fsharp.azurewebsites.net/ [2]

Is there a Microsoft.FSharp.Targets available in the build environment? I already tried to include the F# compiler into the github repo (as described in [2]), but this didn't work either. :/

[1] https://github.com/iigorr/pgn.net/blob/c0fdc472027ad861d8e977572617d1bcf5d7713b/src/pgn.Parse/pgn.Parse.fsproj
[2] http://hello-fsharp.azurewebsites.net/

  1. Support Staff 1 Posted by Feodor Fitsner on 26 Oct, 2013 01:15 AM

    Feodor Fitsner's Avatar

    Hi Igor,

    I've installed "F# tools" on build servers. It works now (I used "MSBuild" scenario). There is only one warning that Microsoft.FSharp.Targets included twice, but this could be easily fixed.

    Please let me know if there is anything else I can do for you! :)

    -Feodor

  2. Feodor Fitsner closed this discussion on 26 Oct, 2013 01:15 AM.

  3. Igor Lankin re-opened this discussion on 26 Oct, 2013 08:28 AM

  4. 2 Posted by Igor Lankin on 26 Oct, 2013 08:28 AM

    Igor Lankin's Avatar

    Hi Feodor,

    thanks you very much for fixing this so amazingly fast! The build works and all tests pass pass

    :+1: for AppVeyor. Keep up the good work!

    Cheers,

    Igor

  5. 3 Posted by Igor Lankin on 26 Oct, 2013 08:29 AM

    Igor Lankin's Avatar

    Oops, I didn't mean to reopen the ticket. Sorry.

  6. Support Staff 4 Posted by Feodor Fitsner on 26 Oct, 2013 02:24 PM

    Feodor Fitsner's Avatar

    Thanks for update and kind words! :)

    It's automatically reopened when you do comment.

  7. Feodor Fitsner closed this discussion on 26 Oct, 2013 02:24 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac