Is it possible to develop with Silverlight on a Mac? - silverlight

I've been searching through the Microsoft Silverlight site, and I am guessing the answer to my question will be no.
But is there any non official or official version of the Silverlight development SDK for Mac OS?
I want to avoid installing Windows, but I want to develop in Silverlight.

The answer is yes, you surely can. You will need to use eclipse. It isn't as easy, but it sure is possible.
Good luck!
Link Heaven:
Eclipse 4 Silverlight
A video of Shawn Wildermuth showing this at the MIX09 Conference

There is also MonoDevelop which is going to support it soon, but its not quite there.

Assuming the answer you get does turn out to be "No"...
I use a VM (Parallels) to run Windows XP on my Mac Pro. The performance of Visual Studio 2008 is actually fine in this setup.

I'm using Mac OS X to develop with Silverlight 3, using IronRuby and IronPython and TextMate. It is very pleasant to use!
You can grab the Silverlight 3 Beta Runtime for Mac here and use it together with AgDlr. Grab the binaries of AgDlr here.
If you want to see samples of code that do work this way, have a look at AgDlr demos.
hope this helps!

Related

Silverlight 4 SDK

I have to modify a very legacy Silverlight 4 application in VS2012.
But I cannot found where can I download SL4 SDK.
Does somebody know where could I find it?
Unfortunately it is not an option to upgraded it to SL5.
Br,
Jozsef
It looks like the WayBack Machine has it.
http://web.archive.org/web/20120503175703/http://www.microsoft.com/en-us/download/confirmation.aspx?id=18149
I have confirmed that the Tools download has the SDK in it.
From the Microsoft search results:
https://www.microsoft.com/en-us/download/search.aspx?q=silverlight&first=21
You take the bad URL:
http://www.microsoft.com/en-us/download/details.aspx?id=18149
To the way back machine, it will point you in the right direction.
The accepted answer actually provides a link to Silverlight 4 tools for VS2010 but I needed Silverlight 4 SDK
I found this link https://download.microsoft.com/download/B/9/B/B9BDD218-6974-4816-A309-0FC85A105521/sdk/silverlight_sdk.exe, it's not valid anymore but using Wayback Machine I was able to get that file. Here is the link https://web.archive.org/web/20151018151935/https://download.microsoft.com/download/B/9/B/B9BDD218-6974-4816-A309-0FC85A105521/sdk/silverlight_sdk.exe

MvvmCross for WPF and Xamarin.Mac: is it possible?

I'd like to ask anyone out there whether is possible, as of today, to develop a Windows/MacOS cross platform application using WPF (in Visual Studio) and Xamarin.Mac (in Xamarin Studio for Mac). I searched the web, twitted people (Stuart, I know you pointed me to loqu8 build some days ago, but I'm just stuck :P) but nothing really useful came up. So, my questions are:
First and foremost: is it possible?
Is it production ready? If not, how much stable it is? Are there any plans for improving it in the next months?
How do I use MvvmCross in Xamarin Studio, since it seems that NuGet isn't supported on MacOS, and NuGet packages don't target Xamarin.Mac anyway?
How do I create a PCL in Visual Studio since Xamarin.Mac isn't insalled on Windows? Do I have to create it on MacOS and the copy the project in Visual Studio?
More could follow...
Thanks for any answers!
First and foremost: is it possible?
Yes. Several developers have used it.
But it's not a "main target" for MvvmCross - our main focus is still on Windows, Droid and iOS which is what users have requested the most.
Is it production ready? If not, how much stable it is? Are there any plans for improving it in the next months?
It's not included in the main nuget packages - because nuget doesn't really support monomac or xammac packages very well. There are no plans to change this that I know of.
You have to build it yourself. You can do this from the main mvvmcross repo - or from branches like https://github.com/loqu8/MvvmCross/ who have done a lot of work on it.
How do I use MvvmCross in Xamarin Studio, since it seems that NuGet isn't supported on MacOS, and NuGet packages don't target Xamarin.Mac anyway?
Currently the best advice is to build and use the assemblies yourself.
How do I create a PCL in Visual Studio since Xamarin.Mac isn't insalled on Windows? Do I have to create it on MacOS and the copy the project in Visual Studio?
You can add additional PCL targets using the XML files - see old posts like http://slodge.blogspot.co.uk/2012/12/cross-platform-winrt-monodroid.html about how we previously did this for MonoDroid/Touch
To build MonoMac/XamMac projects in VS, see http://tofutim.blogspot.co.uk/2013/11/adding-monomac-and-xammac-to-visual.html
Cross platform WPF = speaking language of all people around the world in the best way possible
Cross platform WPF+(Blend and Visual Studio) = Doing poetry for all languages around the world in the best way possible
What better tool a programmer on the earth could wish for?
C# will become the most powerful cross platform programming languae

silverlight for wince6.0

hello
i want to build silverlight application for wince6.0. im not getting whether we have to use vs2008 r expression blend can you tel me which one is suitable to build for wince6.0
Silverlight "sort of" exists for Windows CE (see here: http://msdn.microsoft.com/en-us/library/ee502198.aspx ) but it's a version programmed via C++ that is, in many substantial ways, different from the Silverlight on a desktop PC, Mac, or Windows Phone 7.
I do not believe there is Blend support for this version of Silverlight, and the Visual Studio support is pretty limited. In fact, the whole framework is rather limited, as it's based on Silverlight 2, which is starting to feel pretty old at this point.
That said, hopefully the above link helps point you to samples and other documentation that can help.
Sorry, Silverlight doesn't support Windows CE 6.0. You can use the .NET Compact Framework instead, but it doesn't get you XAML or the other cool things that you might have been hoping for from Silverlight.

how to setup VS 2010 to allow debugging of Silverlight 3 and Silverlight 4

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.

DirectX programming on Windows, what is the preferred way?

I need to develop a part of a business application in a flashy eye candy way. Therefore wanted to see if I can use DirectX. Here's what I got.
First I read how using C/C++ is like shooting yourself on the foot and I should use DirectX.NET instead. I couldn't disagree. It's the 21st century.
Downloaded DirectX SDK but couldn't find the .NET assemblies in there. Searching the net now revealed that DirectX .NET (called MDX) is now obsolete (released in 2006). And that I should use XNA instead which was mainly developed for XBOX.
Downloaded XNA. But it won’t install because I don't have C#.NET Express 2005 SP1. Installed SP1 on my VS Pro 2005. But it won’t install still. It needs Express 2005 and exactly that single one version, not Pro, clearly not 2008.
Frustrated tried to download C#.NET Express which is free. But the link from MS which says C#.2005 actually downloads C#.2008, because C#.2005 is now obsolete.
And now I read that MS is now putting it's force behind WPF/silverlight. And XNA doesn't support DX10 and Vista doesn't come with DX9.
Now I have two choices:
Go 15 years back and code in plain old C/C++. At least C has proven itself to be timeless.
Try silverlight.
What would be your advice? Or am I missing something?
Udpate: Would like to add that DX10 is not backward compatible with any other DX version. SlimeDX looks really promissing. But as a very new package, I am not sure how much helpful the documentation and tutorials will be.
Udpate 2: It seems that the first download link that google brings up when searching for XNA download, which I used, is not the latest one. Thanks DouglasH for providing the link to v.3. Downloaing it. Probably it will work.
But then agian. Should I switch to WPF/Silverlight? Or go with XNA? Which one is better documented and future-profe?
More update: Vista realy doesn't come with DirectX 9 preinstalled [check by googling]. At least it didn't on my machine bnough last year. Googling for it revealed that I have to manually install DirectX 9 on Vista after downloading it from MS. But my attemet failed beucase hardware drivers for DX9/vista were missing or didn't work. I got the idea that it's not supported that well.
MS has stopped supporting the .net DirectX libraries. There is an open source alternative called SlimDX, and it works well. The documentation leaves some to be desired, but it can be puzzled together by using the DirectX C++ documentation and some common sense.
WPF does pretty good 3D stuff, and there are lot of fish eye panels and source code available for WPF, yes since MS has gone ways from their technology, in today's terms, we can not focus on only one technology by MS to make entire one business application.
Sure we are also tired of using multiple different versions of technologies even to do smallest parts, but I believe they are doing great job by serving billion machines, it sure isnt easy but WPF and .NET seem to be most stable technologies by microsoft and also they are spending good money on making completely managed operating system as well.
If you ever go back to C or C++, you might want to check out Simple DirectMedia Layer (SDL).
IMHO, it is much easier than DirectX.
URL: http://www.libsdl.org/
DirectX is fully backwards-compatible. Any DX9 application will run on Vista and DX10. As for XNA and VS2005 - that's a bit weird. That would make XNA effectively useless. Check if you haven't missed something.
couple of points, which version of XNA did you download. Here is the link for XNA Studio 3.0 which will run on Visual Studio 2008. http://www.microsoft.com/downloads/details.aspx?FamilyId=7D70D6ED-1EDD-4852-9883-9A33C0AD8FEE&displaylang=en
2nd, I sure hope that Vista has Direct X 9, since that is the version of direct X that the DWM runs on in Vista. I think you will find the DLLs for Direct X 9 and before and the DLL,s for DirectX 10 loaded in Vista. Or for that Matter Windows 7 which will also have directX 11 (edit 2 note that the DWM is built on DirectX10, with a software emulator for systems that don't have 3d video hardware, a dx10ondx9 drivers for those with directx 9 cards and of course full support for directx 10 cards).
edit,
Additionally if you downloaded the March directx sdk, you download, directx 9.0c, directx 10, 10.1 and the beta of directX 11. and I would have to check if DirectX 8.x is still included or not although DirectX 9 is backwards compatible with most of that platform.
Though I never worked directly with DirectX (little bit with OpenGL) - I would take WPF. The least-painful to implement (transparency, gradients, brushes, animations, etc.) and it provides solid-performance from what I have seen and experienced myself.
But yes, it's not platform-independent.

Resources