hubFS: THE place for F#

. . . are you on The Hub?
Welcome to hubFS: THE place for F# Sign in | Join | Help
in Search

A bug with fsc.exe when a resource file is included?

Last post 08-24-2007, 19:29 by benpanda. 2 replies.
Sort Posts: Previous Next
  •  08-22-2007, 12:54 3550

    A bug with fsc.exe when a resource file is included?

    Downloaded and installed 1.9.2.9 using the msi, tried to compile the sample "sample101", got following error. Tried through vs 2005, same thing. It looks like  when you have a resx file included, resxc.exe will be called to compile the resource file, but the command has a extra quote which breaks the whole thing....

    --> Executing 'C:\Program Files\FSharp-1.9.2.9\bin\resxc.exe -o "C:\Program Files\FSharp-1.9.2.9\samples\fsharp\Samples101\SampleForm.resources" "C:\Program Files\FSharp-1.9.2.9\samples\fsharp\Samples101\SampleForm.resx"'... in directory 'C:\Program Files\FSharp-1.9.2.9\samples\fsharp\Samples101'

    'C:\Program' is not recognized as an internal or external command,operable program or batch file.

    Is this a bug?

  •  08-22-2007, 15:17 3551 in reply to 3550

    Re: A bug with fsc.exe when a resource file is included?

    Yes, a bug. Compile the resource to a .resources file by hand using "resxc.exe", and include that on the command line instead. Modify the command line using the options on the project.

    don

     

     

  •  08-24-2007, 19:29 3560 in reply to 3551

    Re: A bug with fsc.exe when a resource file is included?

    thx
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems