views:

45

answers:

1

We are trying to use Static Resources within a 100% F# Silverlight application. Embeded within the XAML of the referencing control, everything works. But once I pull them out I am a loss. C# applications set the build action as: MSBuild:MarkupCompilePass1

Two questions

1) does VS 2010 support this tool yet in f# silverlight projects? 2) If not, then is there way to run it from a command line and then link the resource to the project staticaly?

Thx

T

A: 

Can you set the Build Action manually in VS in the F# project to match the C# Build Action? I haven't tried it, but seems like it has a decent chance of working maybe.

More generally, if you make the .fsproj file look like the .csproj file, I expect it will probably work, though it may not be easy to do this from within VS (may need to edit project file manually perhaps). I'd be interested to hear the results.

Brian
The last time I tried to make the project files look simiolar (was a RC version) it didn't work. I Can have my engineers working on the full version work with this...
akaphenom