Advanced Forum Search Results
-
Redefined into a helper method here
-
This fixed the problem
-
We're getting this error quite frequently now, and it's putting a bit of a dent in our productivity.
We're developing an enterprise silverlight app, and the xap size is up to about 2.5 Meg (thanks to 3rd party
control libraries)
Any suggestions / work-arounds to get rid if this issue?
Using VS 2008 / SL3
-
This smacks of a bug in the SL DataContractSerializer.
Implemented a work-around by adding [KnownType(typeof(Task)] on the base class.
Weird, cause the xsd definition (generated on the client by svcUtil from the wsdl definition) the DataContractSerializer is supposed to look at specifically states that the collection property is a collection ...
-
Thanks for the reply, but it shouldn't be necessary to add Task to the KnownTypes, because it is specifically defined in the message contract on the service.
The message contract doesn't expose a base type, of which derived types needs to be added to known types in order for serialization to work.
Also - I even tried adding Task as a ...
-
I get the following error:
Additional information: Type 'XXX.Task' with data contract name 'Task:http://schemas.datacontract.org/2004/07/XXX' is not expected
The deserialization works when retrieving the parent object, but serialization does not.
The parent object being serialized has a collection of Task:
...
-
I just wanted to throw my 2 cents in here for the MS guys that may be reading this.
It would be gr8 if there was a "GetBinding" counterpart in SL3.
I have a scenario (not all that uncommon I would think) where I need to map a user action (like double-click) to business logic. In order to do this, I need to know what property of the ...
-
any updates on this issue?
I'm also getting it in SL 3, but for the life of me I can't reproduce it.
Using the work-around for now.
-
k - setting the build action to "Content" works, but now the image is not visible at design time :|
SL2 I just needed to have the image's build action as Resource, and I it worked fine (design and runtime)
-
For some reason, when I add a simple <image> tag pointing to a image which is a resource in the project, the designer in VS shows the png file, but it fails to display at runtime in the browser. Am I missing something? (developing with the silverlight 3 Beta 1 SDK)