Skip to content

Commit

Permalink
Merge pull request #1074 from Microsoft/dev
Browse files Browse the repository at this point in the history
1.4.1
  • Loading branch information
deltakosh authored Apr 4, 2017
2 parents 83919eb + a483c2f commit 75ecc93
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 104 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\Microsoft.Toolkit.Uwp.DeveloperTools.XML</DocumentationFile>
<RunCodeAnalysis>true</RunCodeAnalysis>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<PlatformTarget>x86</PlatformTarget>
Expand Down Expand Up @@ -100,11 +102,14 @@
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<NoWarn>
</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RunCodeAnalysis>true</RunCodeAnalysis>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
Expand Down Expand Up @@ -138,4 +143,19 @@
<Target Name="AfterBuild">
</Target>
-->
<Target Name="Before_PrepareLibraryLayout" BeforeTargets="PrepareLibraryLayout">
<PropertyGroup>
<Saved_OutputPath>$(OutputPath)</Saved_OutputPath>
<Saved_TargetPath>$(TargetPath)</Saved_TargetPath>
<OutputPath>$(OutDir)</OutputPath>
<TargetPath>
</TargetPath>
</PropertyGroup>
</Target>
<Target Name="After_PrepareLibraryLayout" AfterTargets="PrepareLibraryLayout">
<PropertyGroup>
<OutputPath>$(Saved_OutputPath)</OutputPath>
<TargetPath>$(Saved_TargetPath)</TargetPath>
</PropertyGroup>
</Target>
</Project>
Original file line number Diff line number Diff line change
@@ -1,33 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file contains Runtime Directives, specifications about types your application accesses
through reflection and other dynamic code patterns. Runtime Directives are used to control the
.NET Native optimizer and ensure that it does not remove code accessed by your library. If your
library does not do any reflection, then you generally do not need to edit this file. However,
if your library reflects over types, especially types passed to it or derived from its types,
then you should write Runtime Directives.
The most common use of reflection in libraries is to discover information about types passed
to the library. Runtime Directives have three ways to express requirements on types passed to
your library.
1. Parameter, GenericParameter, TypeParameter, TypeEnumerableParameter
Use these directives to reflect over types passed as a parameter.
2. SubTypes
Use a SubTypes directive to reflect over types derived from another type.
3. AttributeImplies
Use an AttributeImplies directive to indicate that your library needs to reflect over
types or methods decorated with an attribute.
For more information on writing Runtime Directives for libraries, please visit
https://go.microsoft.com/fwlink/?LinkID=391919
-->
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Library Name="Microsoft.Toolkit.Uwp.DeveloperTools">

<!-- add directives for your library here -->

</Library>
</Directives>

6 changes: 6 additions & 0 deletions Microsoft.Toolkit.Uwp.SampleApp/Shell.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@
<Setter Target="ExpandButton.Content" Value="" />

<Setter Target="Splitter.Visibility" Value="Collapsed" />

<Setter Target="HamburgerMenu.DisplayMode" Value="CompactOverlay" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="MediumState">
Expand All @@ -242,6 +244,8 @@
<Setter Target="ExpandButton.Content" Value="" />

<Setter Target="Splitter.Visibility" Value="Collapsed" />

<Setter Target="HamburgerMenu.DisplayMode" Value="CompactInline" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="WideState">
Expand All @@ -262,6 +266,8 @@
<Setter Target="ExpandButton.Content" Value="" />

<Setter Target="Splitter.Visibility" Value="Visible" />

<Setter Target="HamburgerMenu.DisplayMode" Value="CompactInline" />
</VisualState.Setters>

</VisualState>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,72 +270,6 @@
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug %28Version 1511%29|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug %28Version 1511%29\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<DocumentationFile>bin\Debug\Microsoft.Windows.Toolkit.UI.Controls.XML</DocumentationFile>
<NoStdLib>true</NoStdLib>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>microsoft.toolkit.uwp.ui.controls.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug %28Anniversary Update%29|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug %28Anniversary Update%29\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<DocumentationFile>bin\Debug\Microsoft.Windows.Toolkit.UI.Controls.XML</DocumentationFile>
<NoStdLib>true</NoStdLib>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>microsoft.toolkit.uwp.ui.controls.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release %28Version 1511%29|AnyCPU'">
<OutputPath>bin\Release %28Version 1511%29\</OutputPath>
<DefineConstants>CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<DocumentationFile>bin\Release\Microsoft.Windows.Toolkit.UI.Controls.XML</DocumentationFile>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoStdLib>true</NoStdLib>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<RunCodeAnalysis>true</RunCodeAnalysis>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>microsoft.toolkit.uwp.ui.controls.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release %28Anniversary Update%29|AnyCPU'">
<OutputPath>bin\Release %28Anniversary Update%29\</OutputPath>
<DefineConstants>CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<DocumentationFile>bin\Release\Microsoft.Windows.Toolkit.UI.Controls.XML</DocumentationFile>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoStdLib>true</NoStdLib>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<RunCodeAnalysis>true</RunCodeAnalysis>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>microsoft.toolkit.uwp.ui.controls.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Publish|AnyCPU'">
<OutputPath>bin\Publish\</OutputPath>
<DefineConstants>CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<DocumentationFile>bin\Release\Microsoft.Toolkit.Uwp.UI.Controls.xml</DocumentationFile>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoStdLib>true</NoStdLib>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<RunCodeAnalysis>true</RunCodeAnalysis>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>microsoft.toolkit.uwp.ui.controls.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
5 changes: 5 additions & 0 deletions Microsoft.Toolkit.Uwp.UI.Controls/TileControl/TileControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@ private static async void OnImageSourceChanged(DependencyObject d, DependencyPro
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
private async Task<bool> LoadImageBrush(Uri uri)
{
if (DesignMode.DesignModeEnabled)
{
return false;
}

var strategy = Strategy;

if (strategy == UIStrategy.Composition)
Expand Down
18 changes: 9 additions & 9 deletions UWP Community Toolkit.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
VisualStudioVersion = 15.0.26228.10
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Toolkit.Uwp", "Microsoft.Toolkit.Uwp\Microsoft.Toolkit.Uwp.csproj", "{805F80DF-75C6-4C2F-8FD9-B47F6D0DF5A3}"
EndProject
Expand Down Expand Up @@ -238,14 +238,14 @@ Global
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Debug|x64.Build.0 = Debug|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Debug|x86.ActiveCfg = Debug|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Debug|x86.Build.0 = Debug|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|Any CPU.ActiveCfg = Publish|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|Any CPU.Build.0 = Publish|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|ARM.ActiveCfg = Publish|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|ARM.Build.0 = Publish|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|x64.ActiveCfg = Publish|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|x64.Build.0 = Publish|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|x86.ActiveCfg = Publish|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|x86.Build.0 = Publish|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|Any CPU.ActiveCfg = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|Any CPU.Build.0 = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|ARM.ActiveCfg = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|ARM.Build.0 = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|x64.ActiveCfg = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|x64.Build.0 = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|x86.ActiveCfg = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Publish|x86.Build.0 = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Release|Any CPU.Build.0 = Release|Any CPU
{E9FAABFB-D726-42C1-83C1-CB46A29FEA81}.Release|ARM.ActiveCfg = Release|Any CPU
Expand Down
1 change: 1 addition & 0 deletions build/Microsoft.Toolkit.Uwp.DeveloperTools.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
<file src="$binaries$\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.DeveloperTools.pdb" target="lib\uap10.0" />
<file src="$binaries$\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.DeveloperTools.pri" target="lib\uap10.0" />
<file src="$binaries$\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.DeveloperTools.xml" target="lib\uap10.0" />
<file src="$binaries$\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.DeveloperTools\**\*.*" target="lib\uap10.0\Microsoft.Toolkit.Uwp.DeveloperTools" />
</files>
</package>

0 comments on commit 75ecc93

Please sign in to comment.