Client Ip: 38.107.191.80
Local Time (GMT +1):
9/5/2010 3:10:58 PM
Client Ip: 38.107.191.80
Local Time (GMT +1):
9/5/2010 3:10:58 PM

XAML is great untill you move something
XAML is great untill you move something
Subject: XAML is great untill you move something

While trying to find a nice way to structure and organize my files within a WPF application, I went ahead, created some folders, moved a few files, and yet again all sorts of problems start showing up.

 

After moving some images, the following error comes up:

 

The file Resources\Images\editcopy.png is not part of the project or its 'Build Action' property is not set to 'Resource'.

 

Nice, isn’t it? I tried setting the Build Action to ‘Embedded Resource’, and the errors went away. But now, running the application no longer shows my image. After thinking that this successful rebuild would solve things, I changed the build action back to ‘Resource’, and hey: the error is back. Cleaning and rebuilding has no effect. Restarting Visual Studio 2008 also doesn’t help. Deleting the image and re-adding it again also has no effect.

 

Just another bug to join the ranks of the ones I’ve found so far.

Created On: [1/25/2008 4:01:54 PM] By: Nick Kusters Last Modified On: [1/25/2008 4:01:54 PM] By: Nick Kusters (1336 views over 953 days)