Search
Thursday, November 20, 2008 ..:: Blendblog.net ::.. Register  Login
 Bloggers Minimize

 Print   
 Sponsors Minimize

 Print   
 Users Online Minimize
Membership Membership:
Latest New User Latest: areel
New Today New Today: 0
New Yesterday New Yesterday: 0
User Count Overall: 15

People Online People Online:
Visitors Visitors: 0
Members Members: 0
Total Total: 0

Online Now Online Now:

 Print   
 Welcome to blendblog.net! Minimize

If you are a developer or designer who is creating cutting edge user interface experiences using Microsoft Expression Blend you've just found a great resource!  The purpose of this site is to share our experience with this brand new product.  As with any new piece of software there is a ton to discover.  Bugs will be revealed and workarounds discovered, hopefully this can be a resource to share in the discovery process!

While this site will focus largely on Expression Blend, it will also encompass WPF, Visual Studio, Silverlight, and other .net 3.5 technologies as they relate to the creation of great software.

Please login using your Microsoft LiveID or register a new account.  Doing so will let you comment on any of the blog entries on the site.  We look forward to helping you in your endeavors as well as you helping others in theirs!  We'd love to have more bloggers on our site...if you are interested please register and contact us!


 Print   
 Visual Studio 2008 terminates without notice when entering TextBlock in FlowDocument XAML Minimize
Location: BlogsRob Tuch    
Posted by: RobTuch 1/10/2008 5:32 PM

You may encounter an unpleasant surprise when editing FlowDocument XAML (see http://msdn2.microsoft.com/en-us/library/aa970786.aspx for background on FlowDocument content).

If in, the FlowDocument XAML that follows, you attempt to insert a TextBlock (or any element not inline-derived) between the Run-element lines (Line 1 Line 2) then Visual Studio will just vanish without warning.   Expression Blend does not quit, but it does not complain about a TextBlock as an invalid child of a Paragraph...

  
<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300">
    <Grid>
        <RichTextBox Margin="10,10,12,13" Name="RichTextBox1" >
            <FlowDocument>
                <Paragraph>
                    <Run>Line 1</Run>
                    <Run>Line 2</Run>
                </Paragraph>
                <BlockUIContainer>
                    <TextBlock></TextBlock>
                </BlockUIContainer>
            </FlowDocument>
        </RichTextBox>
    </Grid>
</Window>

Permalink |  Trackback

Comments (1)   Add Comment
Re: Visual Studio 2008 terminates without notice when entering TextBlock in FlowDocument XAML    By Sean on 1/10/2008 7:58 PM
I guess its save early and often in this first RTM of VS 2008...issues like these are killer when you have unsaved code and the IDE just disappears. I've confirmed this issue and it happens on my Vista based machine as well with VS 2008 RTM.


Your name:
Title:
Comment:
Add Comment   Cancel 

  
 Search Minimize

 Print   
 Archive Minimize

 Print   
 Blendblog Survey Minimize
Our next client application will be written using:




Submit Survey  View Results

 Print   
Copyright 2008 by blendblog.net   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by DotNetNuke Corporation