Has anybody had any luck with the following combination
F# 2.0
Silverlight v3
.NET Framework 4.0
VS 2010
I have been trying all night and I just can't seem to adopt any of the existing smaples out there to run...
My goal is to have a silverlight application 100% backed by F#; the examples that are referenced as working are mostly C# silverlight apps calling F# Libraries. Which in practice should be fine - but I am really trying to impress my girlfriend :)
VS Info (in case it matters):
Microsoft Visual Studio 2010 Version 10.0.30128.1 RC1Rel Microsoft
.NET Framework Version 4.0.30128
RC1Rel
Installed Version: Professional
Microsoft Visual F# 2010
01018-315-4422943-70575 Microsoft Visual F# 2010
This game is entirely F# + SIlverlight (no C#), has Xaml, etc.
Have you seen this post by Luke Hoban? Looks like the templates he created are a little out of date but it might be possible to hack them to work with VS 2010 RTM.
Related
I saw set of people have the same problem and I tried some it, But I do not know why I still cannot see the design view!!
The output type is Windows Application.
Design view is working properly in VS 2013.
I created this project using MVVM Light Templates; So I do not know if there is a missing stuff in project file.
I also had the same problem until few minutes ago.
I've noticed that Blend 2013 on my PC was supporting up to .NET Framework 4.5.1
But the project on Visual Studio was done with .NET Framework 4.6.1
I changed the Framework to 4.5.1, since that was the latest Blend supports, and that was it. Problem solved.
you can go to
Tools>Options>Documents and in default document view option select which view you liked.
I would like to add some scripting support to a Silverlight 4 application that I'm working on. I have the latest stable releases of both IronRuby and IronPython installed on my machine with Visual Studio 2010. I looked at some samples of using the ScriptEngine class with both IronRuby and IronPython. I even got it to work in a small Windows Forms app to make sure my code works. However, I can't seem to Add Reference for the required Assemblies/DLLs to my Silverlight 4 application.
Here's my ScriptEngine code:
ScriptEngine engine = Ruby.CreateEngine();
engine.Runtime.Globals.SetVariable("MainPage", this);
string code = "MainPage.txtTitle.Text = \"Hello from IronRuby!\"";
engine.Execute(code);
And, here's my using statements that it requires:
using IronRuby;
using Microsoft.Scripting.Hosting;
When I try to Add Reference to the following Assemblies/DLLs from the IronRuby 1.0 release, Visual Studio 2010 doesn't let me add them and provides no exception message as to why. As a result I am unable to compile the solution.
IronRuby.dll
IronRuby.Libraries.dll
IronRuby.Libraries.YAML.dll
Microsoft.Dynamic.dll
Microsoft.Scripting.Debugging.dll
Microsoft.Scripting.dll
I assume that the reason Visual Studio 2010 isn't letting me add the Assemblies/DLLs is because they are compiled for .NET and not Silverlight.
Does anyone know where I can get Silverlight 4 versions of those assemblies or exactly what I'm doing incorrectly?
Any help would be appreciated. Thanks!
The Silverlight versions for both IronRuby 1.0 and IronPython 1.0 are hidden in the IronRuby 1.0 for .NET 2.0 SP1 (Zip archive) downloadable from http://ironruby.codeplex.com/releases. In the zip look for silverlight\bin.
The IronRuby 1.1 Silverlight release is also available. IronPython 1.1 for Silverlight however is nowhere to be found. The DLR isn't getting the love from Microsoft it deserves, little documentation, binaries are very hard to find, the future for IronRuby and IronPython doesn't look bright...
Just a note to Koen's answer:
The IronPython\Silverlight\bin .dlls from IronPython 2.6.x are .NET 3.5 binaries (work fine in Silverlight 4). The .NET 4 binaries for Silverlight 4 will be available with IronPython 2.7 (currently in alpha).
I was looking for some kind of scripting engine compatible with Silverlight, and after hours of research, I've found one. I had not tested yet but I just discovered a project called PaxScript.net that has support for Silverlight 3/4/5. According to the author, you can script using VB.NET, C# and Delphi.NET. It does generate byte-code. I don't know why this project is not known, maybe lack of "disclosure".
I have some code which is in Silverlight 3. I am unable to move to SL4 at this time.
I would however like to use VS 2010 to do my SL 3 development... and SL4 development.
The idea of both runtimes coexisting on 1 machine i thought I heard Microsoft got
right this time in VS 2010.
is this correct?
if yes, then Where can I find the instructions how to set this up?
thanks for any help you can provide,
Sincerely,
J
Silverlight is not side-by-side. VS 2010 provides multi-targeting support for the full .NET framework, which is side-by-side, but NOT Silverlight.
There can only be one version of the Silverlight plugin and runtime on the machine.
That said, if you want to build code targeting one or the other, that is possible by checking in the Silverlight versions to your source enlistment. This post is a little outdated but provides an example for doing this for SL2 and SL3.
In 2008 Artur Carvalho asked for an Alternative IDE for Silverlight and was told to look at Visual Studio Express.
Is that still the valid answer in 2010 or are there other IDEs one should consider (cost/ OS it runs on / stability)?
I'm trying to get a feel for silverlight development before commiting cash. So I don't need enterprize level tools or a license to distribute ..
Would MonoDevelop and Moonlight be an option?
On Windows I haven't heard about anything besides Visual Studio Express 2010. On Mac you can use Eclipse for Silverlight.
As for me, I don't develop SL daily rather occasionally and starting with Blend 3 I can actually use Blend for most of my smaller personal projects and don't bother to install VS although I have a licence for it. Blend now has a decent support for Intellisense and most UI stuff is easier in Blend. Yes, Blend is not free.
I am wondering whether it's feasible to host the Visual Studio 2010 editor in my WPF application - I understand the new editor is written in WPF.
If so, what control should I use?
Not an answer to your exact question (though I would bet that hosting part of vs.net isn't readily supported or licensed)...
SharpDevelop makes their code editor, Avalon Edit, available as a standalone. I'm using the beta WPF version and it is quite nice. It's got configurable syntax highlighting and auto completion support.
I can confirm that this is not supported in Visual Studio 2010 or Visual Studio 2008.
See http://blogs.msdn.com/wpfsldesigner/pages/general-wpf-and-silverlight-designer-faq.aspx item 5.
Thanks
Mark Wilson-Thomas
Program Manager, WPF & Silverlight Designer Team, Visual Studio
Not all of the Microsoft applications is based on the available-to-all controls. I don't see any reason, why the VS2010 should be the exclusion.
I'm sure the SharpDevelop one is probably the best option, however you could also look at ScintillaNET. This is used by MyGeneration and it very configurable.