c# - Cannot add any control on the workspace [Catastrophic failure] -


there problem developer machine when created project on silverlight. @ moment add control on grid shows exception , layout destroyed.

here steps replicate problem.

  • create new silverlight application
  • uncheck host silverlight application in new web site
  • choose silverlight version: silverlight 5

and creates blank project file

enter image description here

when tried add code inside grid

<button content="button"          horizontalalignment="left"          margin="67,125,0,0"          verticalalignment="top" width="75"/> 

it generates exception: see below

enter image description here

>> click here see full screen image <<

the 2 stacktraces generated:

at ms.internal.xcpimports.methodex(intptr ptr, string name, cvalue[] cvdata) @ ms.internal.xcpimports.methodex(dependencyobject obj, string name) @ ms.internal.xcpimports.uielement_updatelayout(uielement element) 

and

at ms.internal.xcpimports.checkhresult(uint32 hr) @ ms.internal.xcpimports.frameworkelement_measureoverride(frameworkelement element, size availablesize) @ system.windows.frameworkelement.measureoverride(size availablesize) @ system.windows.frameworkelement.measureoverride(intptr nativetarget, single inwidth, single inheight, single& outwidth, single& outheight) 

i have rebuilt project seems not working. stills show exception. @ moment remove button inside grid returns on previous blank project. can't add controls inside grid. did missed here? i'm new one. it's first time create silverlight project file.

did here experienced same error message?

if question has been asked before kindly me redirect on page because can't find it.


by way, here's inside development machine:

  • windows 7 ultimate (x64)
  • microsoft visual studio 2012 v 11.0.50.727.1 rtmrel
  • silverlight developer runtime 5.1.20125.0 (x64)
  • silverlight sdk 5.0.61118.0

update 1

i tried doing in blend still same error thrown,

enter image description here


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -