Issue with Silverlight 5 beta and Silverlight April 2010 Toolkit - silverlight

There seems to be an issue with SL 5 beta and the SL April 2010 Toolkit.
After converting a Silverlight Solution (which compiled well under SL 4!) to SL5 I get the following error:
The tag 'TreeViewDragDropTarget' does not exist in XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit'
Any ideas?

http://marktinderholt.wordpress.com/2011/07/12/silverlight-toolkit-for-silverlight-5-beta

http://forums.silverlight.net/p/215249/509930.aspx
Someone with a similar problem, his solution was to re-download and reinstall the toolkit. I'd say give it a shot. Though this seems like a common problem between many versions of Silverlight not just 5. I hope this helps.

Related

What happened to RichTextBoxOverflow in Silverlight 5?

Found bunch of articles with code (assuming it was ran at some point of time) using RichTextBox and RichTextBoxOverflow (supposedly introduced in Silverlight 5)..
I cant find RichTextBoxOverflow in the Silverlight controls.
Had it been cut out on release? Or moved to some obscure dll ?
RichTextBoxOverflow was introduced in Silverlight 5 beta, but it was cut from Silverlight 5 final release.
I don't think it was released at all by that name (see this forum post). But there's RichTextBlockOverflow though.

Any issues with LightSwitch Beta 2 and Silverlight 5?

Just about ready to move to LightSwitch Beta 2 and was wondering if anyone ran into any issues with installing Silverlight 5 Beta after that? Thanks.
There seems to be a common problem with the Toolkit because Microsoft hasn't released one specifically for Silverlight 5. That's all I've heard of though, if your toying around go ahead and try it, if you are doing something professionally I'd wait until the beta is over and they release.

The tag 'Interaction.Behaviors' does not exist in VS2010 (Blend 3)

There seems to be a problem with support for the Interactivity namespace of Blend 3 in the VS2010 xaml editor. I have the following installed:
VS2010
Blend 3 + Blend 3 SDK
I am trying to compile a demo project that is targeted at .Net 4 Client Profile and has a reference to System.Windows.Interactivity (in the Blend 3 folder).
In the object browser everything appears to be fine. I can also access Interaction.Behaviours from code-behind, but if I put the namespace xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" in the xaml file and try to use it, the intellisense is blank.
If I copy something in there anyway, the compiler says:
The tag 'Interaction.Behaviors' does not exist in XML namespace 'http://schemas.microsoft.com/expression/2010/interactivity'.
Do I need to install Blend 4 RC or something?
#TomTom and all SDK 4.0 suggestors:
There is a huge killer criteria that prevents many develpers like me from downloading and using SDK 4.0 even if it is for free: It uses .NET 4.0.
You may ask what's wrong with .NET 4.0? Nothing, except as for today (2013-06-13) still many of our customers don't have it installed on their servers (on the clients it's usually no problem). So if you develop software that should also run on servers, you are forced to use .NET 3.5 even if .NET 4.5 would be state-of-the-art.
#everybody
Does anybody have a solution to Andre Luus original question? How must the namespace import in XAML look like in VS2010 if "System.Windows.Interactivity.dll" of Blend SDK 3.5 for WPF is referenced? (Or was <i:Interaction.Behaviors> named differently in 3.5?)
Addendum:
The solution is:
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
The answer from adam linked to the Blend SDK 4.0 for silverlight, if you have this problem in WPF programs you should install this version instead.
If you don't have Blend 4, you can just install the Blend 4 SDK by itself to get the current behavior assemblies.
Behavior and MouseDragElementBehavior belong to Microsoft.Expression.Interaction.dll and System.Windows.Interactivity.dll, please add references to those two assemblies and then rebuild your solution.
Get Blend 4 - free upgrade for you. Available for download at Microsoft (get the trial, it will auto-activate after install if Blend 3 is installed).
Installing the NuGet package Microsoft Expression Blend SDK maintained by JetBrains will solve the issue.
Install-Package JetBrains.System.Windows.Interactivity

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.

Where to get the older version silverlight 3?

I installed silverlight 4 recently, but we still have legacy projects need to be tested on silverlight 3. Where can I get it?
Thanks!
Mike
The Silverlight 4 plugin will behave like the Silverlight 3 plugin when the XAP version indicates its built with Silverlight 3. This includes any bugs that Silverlight 3 had where the fixes for these bugs would break an existing Silverlight 3 app. This is known as "quirksmode" (sounds familiar).
Whilst it is probably best for belts and braces to test Silverlight 3 apps on the actual Silverlight 3 plugin you will probably find that the same problems will be picked up even if you are using the Silverlight 4 plugin.
Use google or that link.
Isn't this it? http://www.silverlight.net/getstarted/silverlight3/

Resources