locked
Blend 2.5 crashes continually RRS feed

  • Question

  • Hi,

    I have placed 2D content onto a plane and all works well in the xaml view. It compiles and it runs fine. However when I go to the Design view and randomly click around on the hierarchy then Blend crashes. Sometimes it takes a couple of clicks on different elements other times it takes quite a few click up and down the tree. When I re-open the project then sometimes it crashes immediately on open whereas others it takes a few clicks again up and down the hierarchy tree.

    Here is my markup but it behaves the same with the markup example from the msdn site.

    <Window

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    x:Class="plane2D.Window1"

    x:Name="Window"

    Title="Window1"

    Width="640" Height="480">

    <Grid x:Name="LayoutRoot">

    <Viewport3D ClipToBounds="true" Width="400" Height="300">

    <Viewport3D.Camera>

    <PerspectiveCamera FarPlaneDistance="10" LookDirection="0,0,-1" UpDirection="0,1,0" NearPlaneDistance="1" Position="0,0,1.88889" FieldOfView="39.5978" />

    </Viewport3D.Camera>

    <Viewport2DVisual3D>

    <Viewport2DVisual3D.Geometry>

    <MeshGeometry3D TriangleIndices="0,1,2 2,3,0 " Normals="0,1,0 0,1,0 0,1,0 0,1,0 "

    TextureCoordinates="0,0 0,1 1,1 1,0 "

    Positions="-0.5,0,-0.5 -0.5,0,0.5 0.5,0,0.5 0.5,0,-0.5 " />

    </Viewport2DVisual3D.Geometry>

    <Viewport2DVisual3D.Material>

    <DiffuseMaterial Viewport2DVisual3D.IsVisualHostMaterial="True" Brush="White"/>

    </Viewport2DVisual3D.Material>

    <Viewport2DVisual3D.Transform>

    <Transform3DGroup>

    <TranslateTransform3D OffsetX="0" OffsetY="0" OffsetZ="0"/>

    <ScaleTransform3D ScaleX="1" ScaleY="1" ScaleZ="1"/>

    <RotateTransform3D>

    <RotateTransform3D.Rotation>

    <AxisAngleRotation3D Angle="90" Axis="1 0 0"/>

    </RotateTransform3D.Rotation>

    </RotateTransform3D>

    <TranslateTransform3D OffsetX="0" OffsetY="0" OffsetZ="0"/>

    </Transform3DGroup>

    </Viewport2DVisual3D.Transform>

    <Button>my button</Button>

    </Viewport2DVisual3D>

    <ModelVisual3D>

    <ModelVisual3D.Content>

    <Model3DGroup >

    <AmbientLight Color="#333333" />

    <DirectionalLight Color="#FFFFFF" Direction="-0.612372,-0.5,-0.612372" />

    <DirectionalLight Color="#FFFFFF" Direction="0.612372,-0.5,-0.612372" />

    </Model3DGroup >

    </ModelVisual3D.Content>

    </ModelVisual3D>

    </Viewport3D>

    </Grid>

    </Window>


    steve
    Friday, May 9, 2008 9:25 AM

All replies

  • This is a bug that we fixed for Blend 2 RTM, but was not fixed in time for the Blend 2.5 March Preview. So I recommend using Blend 2 RTM for any production WPF or Silverlight 1 work. We can't tell for sure when the fix will make it into the Blend 2.5 preview train.

    -Unni
    Tuesday, May 13, 2008 12:30 AM
    Moderator