Wednesday, March 26, 2008

Vista SP 1 LIVE at last!

I'm glad to see that it is indeed a fact.

You can download the long awaited update here. Microsoft has published also a stand alone package installer (and the x64 version) as well as it will be published to the regular Windows Update.

I am eager to see the difference :)

cheers,
Anton

Thursday, March 20, 2008

VS2008 bug crashes the IDE

Hello again.
I was playing with WPF last couple of days and I discovered a strange bug in the VS 2008 IDE. It crashes the whole IDE (devenv.exe) with just single line of XAML !

So, here is the bug report: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=333036

And this is short description how to reproduce:

  1. Create a simple "WPF Windows Application" project.
  2. Open the Window1.xaml
  3. In the XAML view, put TextBlock control
  4. After adding the TextBlock control, the XAML should be like this:
    <Window x:Class="WpfApp.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>
    <TextBlock Text="DummyTextBlock">
    <!-- put ToolTip here -->
    </TextBlock>
    </Grid>
    </Window>
  5. Now replace the "<!-- put ToolTip here -->" with this:
    <ToolTip>
    And let VS IDE to auto-complete the closing tag.
    1. Caution! Indeed we should have:
      <TextBlock Text="DummyTextBlock">
      <ToolTip></ToolTip>
      </TextBlock>
    2. But not (which is the correct syntax):
      <TextBlock Text="DummyTextBlock">
      <TextBlock.ToolTip>
      <ToolTip></ToolTip>
      </TextBlock.ToolTip>
      </TextBlock>

Now, by the moment the VS auto completes your ToolTip tag and underscores it, the IDE will crash.

Please, if you can confirm the bug, go to https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=333036 and click "Validate".

Cheers,
Anton

Friday, March 7, 2008

First impression on Silverlight 2.0

As I told there is a fresh new build of Silverlight - Silverlight 2.0. Happy to hear that I downloaded and install ....

Now what - cannot open the old Silverlight 1.1 projects. The VS gives the following error:
The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\Silverlight\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct and that the file exists on the disk

The hint/solution is here: http://silverlight.net/forums/p/10762/34264.aspx and it appears that we, as developers should not be afraid to edit the .csproj files - why should we ?

Just curious - if I am forced to uninstall any previous versions of Silverlight along with SDKs and VS tools (it is a prerequisite and the installation does not continue until you install them), why then the new Silverlight is put into new folder and there is no automatic backward compatibility.

Looking forward for the next release :)

cheers,
Anton

New releases from Microsoft

Hello,
Just to inform you that Microsoft has just released the new Beta 1 of Silverlight 2, as well as ASP.NET MVC Preview 2.

Great information about these technologies, as well as many others you can find at: http://asp.net/downloads/3.5-extensions/

For those of you who would ask - To install the Silverlight 2 Beta 1 you will need uninstall any previous versions of Silverlight, Silverlight tools for Visual Studio and Silverlight SDK. And for the MVC Preview 2 it is recommended that you uninstall first the ASP.NET MVC December preview.

Cheers,
Anton