Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 480021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:51:03+00:00 2026-05-13T00:51:03+00:00

Is there an easy way to create Silverlight 3 applications with F# (October CTP)?

  • 0

Is there an easy way to create Silverlight 3 applications with F# (October CTP)?
I have seen the F# for Silverlight, but that only works with the May CTP.

I am using Visual Studio Integrated Shell 2008.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:51:03+00:00Added an answer on May 13, 2026 at 12:51 am

    It is possible to use the May CTP templates with the October CTP version of F#

    Create your new project, then unload it and edit the hint path for the FSharp.Core.dll to point to the October CTP,

    <HintPath>$(ProgramFiles)\fsharp-1.9.7.8\Silverlight\2.0\bin\FSharp.Core.dll</HintPath>
    

    then reload the project and build.

    You do have to package the .xap file manually by e.g. using the chiron tool (or just zipping and renaming)

    The AppManifest.xaml file looks like

    <Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" 
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                RuntimeVersion="3.0.40818.0" 
                EntryPointAssembly="astroclock-fs" 
                EntryPointType="astroclock.fs.MyApp">
      <Deployment.Parts>
        <AssemblyPart x:Name="astroclock-fs" Source="astroclock-fs.dll" />
        <AssemblyPart x:Name="FSharp.Core" Source="FSharp.Core.dll" />
      </Deployment.Parts>
    </Deployment>
    

    where you fill in your own assembly name and entrypoint instead of mine

    Create a folder in $(ProjectDir) to hold all the files to be packaged and copy C:\Program Files\FSharp-1.9.7.8\Silverlight\2.0\bin\FSharp.Core.dll into it, along with the AppManifest.xaml above

    Create an empty file null.py in the folder to keep chiron quiet if you are using that tool

    Add the following post-build steps

    cd $(ProjectDir)
    copy /y $(OutDir)$(TargetFileName) [your directory with all the output] 
    "C:\Program Files\IronPython 2.0\Silverlight\bin\chiron.exe" /d:[your directory with all the output] /z:app.xap
    

    Create a test page to load app.xap

    Build project

    Load page in browser and enjoy

    ADDED

    You can make a permanent fix for the hint path needed to find FSharp.Core.dll by editing the template in C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplatesCache\FSharp\Silverlight\SilverlightLibrary3.zip\SilverlightLibrary.fsproj (and probably the version of the file in C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\FSharp\Silverlight\SilverlightLibrary3.zip just to be certain).

    And a working proof of concept (source and everything bundled into the xap) here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an easy way to create a list of only the time zones
In Entity Framework 4, is there any easy way to create an Entity that
Is there an easy way to create a class that is derived from IDispatch
Is there any easy way to create a class that uses IFormatProvider that writes
Is there an easy way to create a multiline string literal in C#? Here's
Is there a easy way to create documentation pages based on xml documentation in
Is there an easy way in javascript to only escape certain ranges of control
Is there an easy way to calculate the derivative of non-liner functions that are
Is there any easy way to create at least a template XML file using
Is there an easy way to create an acronym from a string in MATLAB?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.