In an empty project (test - WPF Application) I test two scenarios.
Scenario 1
- Right click on the project
- Add
- Resource Dictionary ... I get the following:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:teste">
</ResourceDictionary>
Scenario 2
- Right click on the project
- Add
- New Folder
- Right click on the "folder"
- Add
- Resource Dictionary ...
I get:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:teste.pasta">
</ResourceDictionary>
In this second scenario, "clr-namespace: test.folder" contains a blue wavy line that indicates the error "Undefined CLR-Namespace ..."
What's wrong here?