Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Visual Studio Beta 2 RSS

17 replies

Last post Aug 04, 2007 12:19 AM by samsp

(0)
  • JaapAap

    JaapAap

    Member

    4 Points

    2 Posts

    Re: Re: Visual Studio Beta 2

    Jul 31, 2007 12:12 PM | LINK

    But does it run with VS C# 2008 beta 2 Express? I am trying to install the silverlight tools but get a "You have to install Visual Studio 2008 beta 2" while I have installed the Express version.

     TiA

  • andy.wang

    andy.wang

    Member

    104 Points

    58 Posts

    Re: Re: Visual Studio Beta 2

    Jul 31, 2007 11:58 PM | LINK

     Hi

    have you tried to use a webapp to call the silverlight class lib? My program works really well before i upgrade VS.net/silverlight to the new version. Right now,i cannot call the silverlight class lib or silverlight project. But i can create a silverlight project and it works well.

  • andy.wang

    andy.wang

    Member

    104 Points

    58 Posts

    Re: Re: Visual Studio Beta 2

    Aug 01, 2007 04:22 PM | LINK

    JaapAap, Silverlight alpha feresh must work with visual studio 2008 beta2.

  • samsp

    samsp

    Member

    282 Points

    96 Posts

    Microsoft

    Re: Re: Re: Visual Studio Beta 2

    Aug 01, 2007 06:11 PM | LINK

    The silverlight tools require the full installation of VS beta2, they will not work with express. The silverlight support requires both class library support and web project support, which are not both present in any of the express sku's. We have heard the feedback and are looking at how to solve the problem, but don't have an imminent solution, so please use the pro sku or above.

  • Ahmad3D

    Ahmad3D

    Member

    4 Points

    5 Posts

    Re: Re: Re: Re: Visual Studio Beta 2

    Aug 02, 2007 06:58 AM | LINK

    I was working with VS 2008 Beta 1 and it worked well, but I had so many difficulties to upgrade my project to work with Beta 2. there are some changes, for example If I set a width property in Blend to "Auto", after I build the project a ParseError comes up telling that the value for width is not valid, or Visibility = Visible.Hidden is no longer usable.

  • JaapAap

    JaapAap

    Member

    4 Points

    2 Posts

    Re: Re: Re: Re: Visual Studio Beta 2

    Aug 02, 2007 08:29 AM | LINK

    thanks, did that and it works

  • andy.wang

    andy.wang

    Member

    104 Points

    58 Posts

    Re: Re: Re: Re: Visual Studio Beta 2

    Aug 02, 2007 03:44 PM | LINK

    Hello samsp

    As you said, silverlight 1.1 refresh supports both web project and silvelight class lib. Now i have a problem is that, i created a silverlight class lib and call it in the web app. the program can parse the xaml file, but can not init it from xaml file. i am not sure what's the problem. my code is like this:

    XamlResourceAttribute attribute = Attribute.GetCustomAttribute(GetType(), typeof(XamlResourceAttribute), true) as XamlResourceAttribute;
                    if (attribute != null)
                    {
                        xaml = LoadXamlResource(attribute.ResourceName);       // xaml is the text
                    }     

                    FrameworkElement frameworkElement = InitializeFromXaml(xaml);
                    _rootCanvas = frameworkElement as Canvas;
                    if (frameworkElement != null && _rootCanvas == null)
                    {
                        throw new InvalidXamlException("", xaml);
                    }

    error occures in  "FrameworkElement frameworkElement = InitializeFromXaml(xaml);"

    but the parsed string, that's xaml, can be opened as a xml file. But the famework element can not be initialized from this string. i am puzzled with this question 3 days.

     thanks

  • samsp

    samsp

    Member

    282 Points

    96 Posts

    Microsoft

    Re: Re: Re: Re: Visual Studio Beta 2

    Aug 04, 2007 12:19 AM | LINK

    Sorry, this is probably a better question for the "Programming with .Net forum".