I just got VS2013 and opened my VS2010 project. However, now I do not see any xaml constructs. The problem is that styles are not applied:
<UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Themes/Colors.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary>
Gives me an error:
Error 1 An error occurred while looking up the resource dictionary "/Themes/Colors.xaml".
This works great in VS2010. The build option is installed on the page. All target environments are installed on .NET 4.
The directory structure is as follows:
Host\Themes\Colors.xaml Plugins\EqPlugin\Source\ProblemFile.xaml
Topics are defined in the VEParameters project and announced 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:EQPlugin;assembly=VEParameterTool">
The file in which the error occurred is located in the EqPlugIn directory and is declared:
<UserControl x:Class="EQPlugin.EQControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:src="clr-namespace:VEParameterTool;assembly=VEParameterTool" xmlns:l="clr-namespace:EQPlugin" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:oxy="http://oxyplot.codeplex.com" mc:Ignorable="d">
I tried to change the paths to the relative paths, but this did not work, I deleted and re-added the assemblies, I restarted, etc., all projects are built for the same structure. I do not know what else to try.
visual-studio-2013 wpf
Andy
source share