Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

App broken moving from beta2 -> 3.0 rc1

Closed Thread
 
Thread Tools Display Modes
Old 10-04-2006   #1 (permalink)
Griff
Guest


 

App broken moving from beta2 -> 3.0 rc1

I've had some pretty significant breaks in making the switch and yet have yet
found a good


Example

In beta 2 release, this worked (it sits in one of my resource dictionary
files and is used as the content of a button using a {StaticResource xxxxxxx}
statement./

<ControlTemplate x:Key="CloseOrderButtonIcon">
<Image Source="c:\\Program Files\\Icons\\closeorder.png"/>
</ControlTemplate>

The image file in question was never a resource in the project - just a file
on the hard disk that it picked up at runtime.

Then with .NET 3.0 rc1 (I didn't install anything between) the Image line
causes the thing to fail at runtime.

I'd be keen to know what the simplest equivalent is.



I have noticed other changes. i.e. stricter enforcement of other threads
not being able to write to UI controls directly. Anything that broke then
deserved to. But I do get messages about accessing things from the wrong
thread that really make no sense to me.

What I'm after is a really good breaking changes list but so far have not
found it.

--
Griff
(trying to make an industrial UI with XAML/WPF/c#)
Old 10-05-2006   #2 (permalink)
Griff
Guest


 

RE: App broken moving from beta2 -> 3.0 rc1 FIXED

Thanks to a helpful hint that it was my installation at fault, I found and
fixed the problem.

My WIC (Windows Imaging Component) files and somehow ended up as the wrong
version with all the CTP's I'd had installed.

Found Robert A. Wlodarczyk's Blog (MSFT) with the fix outlined.
http://blogs.msdn.com/rwlodarc/archi...25/607131.aspx

(It refers to beta 2 but the same fix works for 3.0 rc1).

All working again.











--
Griff
(trying to make an industrial UI with XAML/WPF/c#)


"Griff" wrote:

> I've had some pretty significant breaks in making the switch and yet have yet
> found a good
>
>
> Example
>
> In beta 2 release, this worked (it sits in one of my resource dictionary
> files and is used as the content of a button using a {StaticResource xxxxxxx}
> statement./
>
> <ControlTemplate x:Key="CloseOrderButtonIcon">
> <Image Source="c:\\Program Files\\Icons\\closeorder.png"/>
> </ControlTemplate>
>
> The image file in question was never a resource in the project - just a file
> on the hard disk that it picked up at runtime.
>
> Then with .NET 3.0 rc1 (I didn't install anything between) the Image line
> causes the thing to fail at runtime.
>
> I'd be keen to know what the simplest equivalent is.
>
>
>
> I have noticed other changes. i.e. stricter enforcement of other threads
> not being able to write to UI controls directly. Anything that broke then
> deserved to. But I do get messages about accessing things from the wrong
> thread that really make no sense to me.
>
> What I'm after is a really good breaking changes list but so far have not
> found it.
>
> --
> Griff
> (trying to make an industrial UI with XAML/WPF/c#)

Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lots of problems - regedit is broken, taskbar is misbehaving, audio is broken.. HELP! Elspeth Vista General 3 07-02-2008 05:19 PM
I got Beta2 on DVD now what for RC1? Willy4360 Vista General 3 09-08-2006 06:19 PM
I lost my cdkey of Vista beta2, and I dont have beta2 in my pc... =?Utf-8?B?Y3Jpc3RpYW4gemVicmFs?= Vista General 1 09-06-2006 07:36 PM
I lost my cdkey of Vista beta2, and I dont have beta2 in my pc... =?Utf-8?B?Y3Jpc3RpYW4gemVicmFs?= Vista General 0 09-06-2006 07:32 PM
How do I uninstall IE7 beta2 that came with Vista beta2? =?Utf-8?B?Qm9i?= Vista installation & setup 2 07-21-2006 02:27 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50