1
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 (folder)
- Right click on the "folder"
- Add
- Resource Dictionary ...
Obtenho:
<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:teste.pasta" contains a blue wavy that indicates the error "Undefined CLR-Namespace. ..."
What is wrong here?