I get the error
The file /DocomGUI;component/Resources/logo.jpg is not part of the project or its 'Build Action' property is not set to 'Resource'.
But the logo.jpg file is definitely part of the project and the Build Actions is also set to "Resource".

It resides within the /Resources/ folder in the root of the project and is also in the Resources.resx file with the same name.

I tried rebuilding the solution, cleaning it and still, the error pops up. What else could go wrong so that the file can't be found?
The code:
<Window x:Class="DocomGUI.AboutWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="AboutWindow" Height="180" Width="220" Background="LightGray" MinWidth="220" MinHeight="115" MaxWidth="220" MaxHeight="115">
<Grid>
<Label Margin="0,66,24,48">DocomGUI</Label>
<Label Height="30" Margin="12,0,12,12" Name="VersionLabel" VerticalAlignment="Bottom"></Label>
<Image Margin="12,12,12,0" Stretch="Fill" Height="48" VerticalAlignment="Top" Source="/DocomGUI;component/Resources/logo.jpg" />
</Grid>
</Window>