DataWindow doesnt work

Jun 12, 2011 at 10:59 PM

Hello! I do the following: create ner wpf project -> add Catel.Core & Catel.Windows via NuGet -> add

<Windows:DataWindow x:Class="WpfApplication2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:Windows="clr-namespace:Catel.Windows;assembly=Catel.Windows"
        Title="MainWindow" Height="350" Width="525">
->
namespace WpfApplication2
{
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow : DataWindow
	{
		public MainWindow()
		{
			InitializeComponent();
		}
	}
}

When I run the application it shows a tiny window with just the heading. There is no space for content and I'm not able to resize it,

.Net 4.0

When I add the same simple window to SocialMediaStream project, it works great. Please help!

Coordinator
Jun 14, 2011 at 9:20 AM

The .NET 4.0 version is corrupted due to a bug in the compiler. We recommend to use the 3.5 library until Catel 2.0 ships (it contains a fix for this).

Jun 14, 2011 at 8:55 PM

Thank you for reply! When could I expect it to be released?

Coordinator
Jun 14, 2011 at 9:14 PM

The release is scheduled for this summer (probably august). So for now you'll have to stick with the 3.5 version (1.4 release) or get the latest source and build it yourself.