locked
Expression Blend 2.5 June 2008 CTP Gives not work with silverlight correctly. RRS feed

  • Question

  • I have a solution which has 4 projects in in.
    1. Simple Silverlight class library.
    2. a Web site project.
    3. A Silverlight client project
    4. A WCF Server project

    When I open it in expression blend and try to edit any of my XAML files it gives me this error
    "UserControl cannot be used in a silverlight project".

    If I create an Expression blend project and then import my project then it works fine.
    Saturday, June 14, 2008 12:05 PM

All replies

  •  Hi,

    Does this project work with VS 2008 with the latest VS tools for Silverlight 2 Beta 2?

    It would be great if you could provide a set of repro steps about how you created the solution (like order of creating the projects) or even share the project publicly.

    Thanks,
    Jeetendra Kukreja [MSFT]
    Sunday, June 15, 2008 9:39 PM
  • I get the same error message using either Expression Blend 1 or the latest download of Blend 2. Here is the simple XAML file I am trying to open from Visual Studio 2008:

    <UserControl x:Class="SilverlightApplication1.Page"

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

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

    Width="1000" Height="700">

    <Grid x:Name="LayoutRoot" Background="White">

    </Grid>

    I will try the  import work around.


    Frank learning vs 2005
    Friday, July 4, 2008 3:16 PM