Merge pull request #93 from Microsoft/dev/mtaron/designcleanup

Design Assembly Cleanup
This commit is contained in:
Drew Gillies 2016-03-01 16:41:01 -08:00
Родитель a9b72d7ea7 3aa73fd297
Коммит 56b1d7a0df
5 изменённых файлов: 71 добавлений и 162 удалений

Просмотреть файл

@ -66,33 +66,25 @@ Global
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|Any CPU.Build.0 = Debug|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|ARM.ActiveCfg = Debug|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|ARM.Build.0 = Debug|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|x64.ActiveCfg = Debug|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|x64.Build.0 = Debug|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|x86.ActiveCfg = Debug|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|x86.Build.0 = Debug|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|x86.ActiveCfg = Debug|x86
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Debug|x86.Build.0 = Debug|x86
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Release|Any CPU.ActiveCfg = Release|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Release|Any CPU.Build.0 = Release|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Release|ARM.ActiveCfg = Release|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Release|ARM.Build.0 = Release|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Release|x64.ActiveCfg = Release|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Release|x64.Build.0 = Release|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Release|x86.ActiveCfg = Release|Any CPU
{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}.Release|x86.Build.0 = Release|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|ARM.ActiveCfg = Debug|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|ARM.Build.0 = Debug|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|x64.ActiveCfg = Debug|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|x64.Build.0 = Debug|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|x86.ActiveCfg = Debug|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|x86.Build.0 = Debug|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|x86.ActiveCfg = Debug|x86
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Debug|x86.Build.0 = Debug|x86
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Release|Any CPU.Build.0 = Release|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Release|ARM.ActiveCfg = Release|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Release|ARM.Build.0 = Release|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Release|x64.ActiveCfg = Release|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Release|x64.Build.0 = Release|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Release|x86.ActiveCfg = Release|Any CPU
{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}.Release|x86.Build.0 = Release|Any CPU
{9A26166B-1E98-4723-9B42-FB64BDC231E6}.Debug|Any CPU.ActiveCfg = Debug|x86

Просмотреть файл

@ -3,10 +3,7 @@
extern alias WindowsRuntime;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using Microsoft.Windows.Design.Metadata;
using Microsoft.Windows.Design.PropertyEditing;
using Microsoft.Windows.Design.PropertyEditing.Editors;
@ -31,29 +28,26 @@ namespace Microsoft.Xaml.Interactivity.Design
#region IncrementalUpdateBehavior
AddAttributes<IncrementalUpdateBehavior>(
new DescriptionAttribute(Resources.Description_IncrementalUpdateBehavior)
);
new DescriptionAttribute(Resources.Description_IncrementalUpdateBehavior));
AddAttributes<IncrementalUpdateBehavior>(
"Phase",
nameof(IncrementalUpdateBehavior.Phase),
new DescriptionAttribute(Resources.Description_IncrementalUpdateBehavior_Phase),
new CategoryAttribute(Resources.Category_Common_Properties));
#endregion
#region EventTriggerBehavior
AddAttributes<EventTriggerBehavior>(
new DescriptionAttribute(Resources.Description_EventTriggerBehavior)
);
new DescriptionAttribute(Resources.Description_EventTriggerBehavior));
AddAttributes<EventTriggerBehavior>(
"EventName",
nameof(EventTriggerBehavior.EventName),
new DescriptionAttribute(Resources.Description_EventTriggerBehavior_EventName),
CreateEditorAttribute<EventPickerPropertyValueEditor>(),
new CategoryAttribute(Resources.Category_Common_Properties)
);
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<EventTriggerBehavior>(
"SourceObject",
nameof(EventTriggerBehavior.SourceObject),
new DescriptionAttribute(Resources.Description_EventTriggerBehavior_SourceObject),
CreateEditorAttribute<ElementBindingPickerPropertyValueEditor>(),
new CategoryAttribute(Resources.Category_Common_Properties));
@ -65,22 +59,21 @@ namespace Microsoft.Xaml.Interactivity.Design
#region DataTriggerBehavior
AddAttributes<DataTriggerBehavior>(
new DefaultBindingPropertyAttribute("Binding")
);
new DefaultBindingPropertyAttribute(nameof(DataTriggerBehavior.Binding)));
AddAttributes<DataTriggerBehavior>(
"Binding",
nameof(DataTriggerBehavior.Binding),
new DescriptionAttribute(Resources.Description_DataTriggerBehavior_Binding),
CreateEditorAttribute<PropertyBindingPickerPropertyValueEditor>(),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<DataTriggerBehavior>(
"ComparisonCondition",
nameof(DataTriggerBehavior.ComparisonCondition),
new DescriptionAttribute(Resources.Description_DataTriggerBehavior_ComparisonCondition),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<DataTriggerBehavior>(
"Value",
nameof(DataTriggerBehavior.Value),
new DescriptionAttribute(Resources.Description_DataTriggerBehavior_Value),
new CategoryAttribute(Resources.Category_Common_Properties),
new TypeConverterAttribute(typeof(StringConverter)));
@ -92,23 +85,22 @@ namespace Microsoft.Xaml.Interactivity.Design
#region ChangePropertyAction
AddAttributes<ChangePropertyAction>(
new DescriptionAttribute(Resources.Description_ChangePropertyAction)
);
new DescriptionAttribute(Resources.Description_ChangePropertyAction));
AddAttributes<ChangePropertyAction>(
"PropertyName",
nameof(ChangePropertyAction.PropertyName),
CreateEditorAttribute<PropertyPickerPropertyValueEditor>(),
new CategoryAttribute(Resources.Category_Common_Properties),
new DescriptionAttribute(Resources.Description_ChangePropertyAction_PropertyName));
AddAttributes<ChangePropertyAction>(
"TargetObject",
nameof(ChangePropertyAction.TargetObject),
new DescriptionAttribute(Resources.Description_ChangePropertyAction_TargetObject),
CreateEditorAttribute<ElementBindingPickerPropertyValueEditor>(),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<ChangePropertyAction>(
"Value",
nameof(ChangePropertyAction.Value),
new DescriptionAttribute(Resources.Description_ChangePropertyAction_Value),
new CategoryAttribute(Resources.Category_Common_Properties),
new BrowsableAttribute(false));
@ -118,36 +110,36 @@ namespace Microsoft.Xaml.Interactivity.Design
#region InvokeCommandAction
AddAttributes<InvokeCommandAction>(
new DescriptionAttribute(Resources.Description_InvokeCommandAction),
new DefaultBindingPropertyAttribute("Command"));
new DefaultBindingPropertyAttribute(nameof(InvokeCommandAction.Command)));
AddAttributes<InvokeCommandAction>(
"Command",
nameof(InvokeCommandAction.Command),
new CategoryAttribute(Resources.Category_Common_Properties),
CreateEditorAttribute<PropertyBindingPickerPropertyValueEditor>(),
new DescriptionAttribute(Resources.Description_InvokeCommandAction_Command));
AddAttributes<InvokeCommandAction>(
"CommandParameter",
nameof(InvokeCommandAction.CommandParameter),
new TypeConverterAttribute(typeof(StringConverter)),
new CategoryAttribute(Resources.Category_Common_Properties),
new DescriptionAttribute(Resources.Description_InvokeCommandAction_CommandParameter),
new EditorBrowsableAttribute(EditorBrowsableState.Advanced));
AddAttributes<InvokeCommandAction>(
"InputConverter",
nameof(InvokeCommandAction.InputConverter),
new CategoryAttribute(Resources.Category_Common_Properties),
new DescriptionAttribute(Resources.Description_InvokeCommandAction_InputConverter),
new EditorBrowsableAttribute(EditorBrowsableState.Advanced));
AddAttributes<InvokeCommandAction>(
"InputConverterParameter",
nameof(InvokeCommandAction.InputConverterParameter),
new TypeConverterAttribute(typeof(StringConverter)),
new CategoryAttribute(Resources.Category_Common_Properties),
new DescriptionAttribute(Resources.Description_InvokeCommandAction_InputConverterParameter),
new EditorBrowsableAttribute(EditorBrowsableState.Advanced));
AddAttributes<InvokeCommandAction>(
"InputConverterLanguage",
nameof(InvokeCommandAction.InputConverterLanguage),
new CategoryAttribute(Resources.Category_Common_Properties),
new DescriptionAttribute(Resources.Description_InvokeCommandAction_InputConverterLanguage),
new TypeConverterAttribute(typeof(CultureInfoNamesConverter)),
@ -156,16 +148,15 @@ namespace Microsoft.Xaml.Interactivity.Design
#region ControlStoryboardAction
AddAttributes<ControlStoryboardAction>(
new DescriptionAttribute(Resources.Description_ControlStoryboardAction)
);
new DescriptionAttribute(Resources.Description_ControlStoryboardAction));
AddAttributes<ControlStoryboardAction>(
"ControlStoryboardOption",
nameof(ControlStoryboardAction.ControlStoryboardOption),
new DescriptionAttribute(Resources.Description_ControlStoryboardAction_ControlStoryboardOption),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<ControlStoryboardAction>(
"Storyboard",
nameof(ControlStoryboardAction.Storyboard),
new DescriptionAttribute(Resources.Description_ControlStoryboardAction_Storyboard),
new CategoryAttribute(Resources.Category_Common_Properties),
CreateEditorAttribute<StoryboardPickerPropertyValueEditor>(),
@ -174,22 +165,21 @@ namespace Microsoft.Xaml.Interactivity.Design
#region GotoStateAction
AddAttributes<GoToStateAction>(
new DescriptionAttribute(Resources.Description_GoToStateAction)
);
new DescriptionAttribute(Resources.Description_GoToStateAction));
AddAttributes<GoToStateAction>(
"StateName",
nameof(GoToStateAction.StateName),
CreateEditorAttribute<StatePickerPropertyValueEditor>(),
new DescriptionAttribute(Resources.Description_GoToStateAction_StateName),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<GoToStateAction>(
"UseTransitions",
nameof(GoToStateAction.UseTransitions),
new DescriptionAttribute(Resources.Description_GoToStateAction_UseTransitions),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<GoToStateAction>(
"TargetObject",
nameof(GoToStateAction.TargetObject),
new CategoryAttribute(Resources.Category_Common_Properties),
new DescriptionAttribute(Resources.Description_GoToStateAction_TargetObject),
CreateEditorAttribute<ElementBindingPickerPropertyValueEditor>());
@ -197,17 +187,16 @@ namespace Microsoft.Xaml.Interactivity.Design
#region NavigateToPageAction
AddAttributes<NavigateToPageAction>(
new DescriptionAttribute(Resources.Description_NavigateToPageAction)
);
new DescriptionAttribute(Resources.Description_NavigateToPageAction));
AddAttributes<NavigateToPageAction>(
"TargetPage",
nameof(NavigateToPageAction.TargetPage),
CreateEditorAttribute<PagePickerPropertyValueEditor>(),
new DescriptionAttribute(Resources.Description_NavigateToPageAction_TargetPage),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<NavigateToPageAction>(
"Parameter",
nameof(NavigateToPageAction.Parameter),
new DescriptionAttribute(Resources.Description_NavigateToPageAction_Parameter),
new CategoryAttribute(Resources.Category_Common_Properties),
new TypeConverterAttribute(typeof(StringConverter)));
@ -215,18 +204,17 @@ namespace Microsoft.Xaml.Interactivity.Design
#region PlaySoundAction
AddAttributes<PlaySoundAction>(
new DescriptionAttribute(Resources.Description_PlaySoundAction)
);
new DescriptionAttribute(Resources.Description_PlaySoundAction));
AddAttributes<PlaySoundAction>(
"Source",
nameof(PlaySoundAction.Source),
CreateEditorAttribute<UriPropertyValueEditor>(),
new DescriptionAttribute(Resources.Description_PlaySoundAction_Source),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<PlaySoundAction>(
"Volume",
new NumberRangesAttribute(0, 0, 1, 1, false),
nameof(PlaySoundAction.Volume),
new NumberRangesAttribute(0, 0, 1, 1, canBeAuto: false),
new NumberIncrementsAttribute(0.001, 0.01, 0.1),
new DescriptionAttribute(Resources.Description_PlaySoundAction_Volume),
new CategoryAttribute(Resources.Category_Common_Properties));
@ -237,17 +225,17 @@ namespace Microsoft.Xaml.Interactivity.Design
AddAttributes<CallMethodAction>(
new DescriptionAttribute(Resources.Description_CallMethodAction),
new DefaultBindingPropertyAttribute("TargetObject"));
new DefaultBindingPropertyAttribute(nameof(CallMethodAction.TargetObject)));
AddAttributes<CallMethodAction>(
"TargetObject",
nameof(CallMethodAction.TargetObject),
new PropertyOrderAttribute(order = PropertyOrder.CreateAfter(order)),
new DescriptionAttribute(Resources.Description_CallMethodAction_TargetObject),
CreateEditorAttribute<ElementBindingPickerPropertyValueEditor>(),
new CategoryAttribute(Resources.Category_Common_Properties));
AddAttributes<CallMethodAction>(
"MethodName",
nameof(CallMethodAction.MethodName),
new PropertyOrderAttribute(order = PropertyOrder.CreateAfter(order)),
new DescriptionAttribute(Resources.Description_CallMethodAction_MethodName),
new CategoryAttribute(Resources.Category_Common_Properties));
@ -288,27 +276,4 @@ namespace Microsoft.Xaml.Interactivity.Design
}
}
public static class RuntimeMethodExtensions
{
public static MethodInfo GetRuntimeMethodExt(this Type type, string name, params Type[] types)
{
List<string> typeNames = new List<string>();
foreach (Type localType in types)
{
typeNames.Add(localType.Name);
}
// Find potential methods with the correct name and the right number of parameters
// and parameter names
var potentials = (from ele in type.GetRuntimeMethods()
where ele.Name.Equals(name)
let param = ele.GetParameters()
where param.Length == types.Length
&& param.Select(p => p.ParameterType.Name).SequenceEqual(typeNames)
select ele);
// Maybe check if we have more than 1? Or not?
return potentials.FirstOrDefault();
}
}
}

Просмотреть файл

@ -3,7 +3,7 @@
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{A3161818-5AA8-4A7C-A6CD-B19EDA5F3AE1}</ProjectGuid>
<OutputType>library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
@ -13,6 +13,7 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<WindowsSdkVersion>10.0</WindowsSdkVersion>
<OutputPath>..\..\..\out\$(SolutionName)\bin\$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>..\..\..\out\$(SolutionName)\obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
@ -23,16 +24,24 @@
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xaml.Interactions">
@ -48,9 +57,7 @@
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xaml" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="WindowsBase" />
@ -66,30 +73,6 @@
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>
<!--<Reference Include="System.Runtime">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.dll</HintPath>
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>-->
<Reference Include="System.Runtime.InteropServices.WindowsRuntime">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.InteropServices.WindowsRuntime.dll</HintPath>
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>
<Reference Include="System.Runtime.WindowsRuntime">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.WindowsRuntime.dll</HintPath>
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>
<Reference Include="System.Runtime.WindowsRuntime.UI.Xaml">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.WindowsRuntime.UI.Xaml.dll</HintPath>
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="MetadataTableProvider.cs" />

Просмотреть файл

@ -34,19 +34,5 @@ namespace Microsoft.Xaml.Interactivity.Design
{
attributeTableBuilder.AddCustomAttributes(typeof(T), attribute);
}
private void AddAttribute(string type, Attribute attribute)
{
attributeTableBuilder.AddCustomAttributes(Type.GetType(type), attribute);
}
private void AddAttribute<T>(string propertyName, Attribute attribute)
{
attributeTableBuilder.AddCustomAttributes(typeof(T), propertyName, attribute);
}
private void AddAttribute(string type, string propertyName, Attribute attribute)
{
attributeTableBuilder.AddCustomAttributes(Type.GetType(type), propertyName, attribute);
}
}
}

Просмотреть файл

@ -3,7 +3,7 @@
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{76BF4E75-B1E7-4BFA-AE67-BAF6800DAC78}</ProjectGuid>
<OutputType>library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
@ -13,6 +13,7 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<WindowsSdkVersion>10.0</WindowsSdkVersion>
<OutputPath>..\..\..\out\$(SolutionName)\bin\$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>..\..\..\out\$(SolutionName)\obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
@ -23,16 +24,24 @@
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xaml.Interactivity">
@ -48,9 +57,7 @@
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xaml" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="WindowsBase" />
@ -66,30 +73,6 @@
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>
<!--<Reference Include="System.Runtime">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.dll</HintPath>
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>-->
<Reference Include="System.Runtime.InteropServices.WindowsRuntime">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.InteropServices.WindowsRuntime.dll</HintPath>
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>
<Reference Include="System.Runtime.WindowsRuntime">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.WindowsRuntime.dll</HintPath>
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>
<Reference Include="System.Runtime.WindowsRuntime.UI.Xaml">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.WindowsRuntime.UI.Xaml.dll</HintPath>
<Aliases>WindowsRuntime</Aliases>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="MetadataTableProvider.cs" />