Can't find “Resources” file in wpf
问题 I'm newbe in WPF. I need to add reference on the resources file resx and get strings from it. <Window x:Class="SelectObjectsWindow.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:res="clr-namespace:SelectObjectsWindow.Properties" Title="{x:Static res:Resources.Res1}" Height="350" Width="525"> <Grid> .... </Grid> I got an error: The name "Resources" does not exist in the namespace "clr-namespace