A Swiss Army knife for developers.
C# blazorcross-platformcsharpdesktopdesktop-appdesktop-applicationdeveloper-toolsextensiblefluentfluent-designlinuxmacosmicasyntax-highlightingtypescriptwindowswindows-10windows-11winui
Added MSIX and UWP project
Etienne Baudoux3e62856282ee
diff --git a/.gitattributes b/.gitattributesnew file mode 100644index 000000000..1ff0c4230--- /dev/null+++ b/.gitattributes@@ -0,0 +1,63 @@+###############################################################################+# Set default behavior to automatically normalize line endings.+###############################################################################+* text=auto++###############################################################################+# Set default behavior for command prompt diff.+#+# This is need for earlier builds of msysgit that does not have it on by+# default for csharp files.+# Note: This is only used by command line+###############################################################################+#*.cs diff=csharp++###############################################################################+# Set the merge driver for project and solution files+#+# Merging from the command prompt will add diff markers to the files if there+# are conflicts (Merging from VS is not affected by the settings below, in VS+# the diff markers are never inserted). Diff markers may cause the following+# file extensions to fail to load in VS. An alternative would be to treat+# these files as binary and thus will always conflict and require user+# intervention with every merge. To do so, just uncomment the entries below+###############################################################################+#*.sln merge=binary+#*.csproj merge=binary+#*.vbproj merge=binary+#*.vcxproj merge=binary+#*.vcproj merge=binary+#*.dbproj merge=binary+#*.fsproj merge=binary+#*.lsproj merge=binary+#*.wixproj merge=binary+#*.modelproj merge=binary+#*.sqlproj merge=binary+#*.wwaproj merge=binary++###############################################################################+# behavior for image files+#+# image files are treated as binary by default.+###############################################################################+#*.jpg binary+#*.png binary+#*.gif binary++###############################################################################+# diff behavior for common document formats+#+# Convert binary document formats to text before diffing them. This feature+# is only available from the command line. Turn it on by uncommenting the+# entries below.+###############################################################################+#*.doc diff=astextplain+#*.DOC diff=astextplain+#*.docx diff=astextplain+#*.DOCX diff=astextplain+#*.dot diff=astextplain+#*.DOT diff=astextplain+#*.pdf diff=astextplain+#*.PDF diff=astextplain+#*.rtf diff=astextplain+#*.RTF diff=astextplaindiff --git a/.gitignore b/.gitignoreindex 1ee53850b..c56d452e1 100644--- a/.gitignore+++ b/.gitignore@@ -4,7 +4,6 @@## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore# User-specific files-*.rsuser*.suo*.user*.userosscache@@ -13,24 +12,14 @@# User-specific files (MonoDevelop/Xamarin Studio)*.userprefs-# Mono auto generated files-mono_crash.*-# Build results-[Dd]ebug/[Dd]ebugPublic/-[Rr]elease/-[Rr]eleases/x64/x86/-[Ww][Ii][Nn]32/-[Aa][Rr][Mm]/-[Aa][Rr][Mm]64/bld/[Bb]in/[Oo]bj/[Ll]og/-[Ll]ogs/# Visual Studio 2015/2017 cache/options directory.vs/@@ -44,10 +33,9 @@ Generated\ Files/[Tt]est[Rr]esult*/[Bb]uild[Ll]og.*-# NUnit+# NUNIT*.VisualState.xmlTestResult.xml-nunit-*.xml# Build Results of an ATL Project[Dd]ebugPS/@@ -61,9 +49,7 @@ BenchmarkDotNet.Artifacts/project.lock.jsonproject.fragment.lock.jsonartifacts/--# ASP.NET Scaffolding-ScaffoldingReadMe.txt+**/Properties/launchSettings.json# StyleCopStyleCopReport.xml@@ -71,13 +57,12 @@ StyleCopReport.xml# Files built by Visual Studio*_i.c*_p.c-*_h.h+*_i.h*.ilk*.meta*.obj*.iobj*.pch-*.pdb*.ipdb*.pgc*.pgd@@ -88,7 +73,6 @@ StyleCopReport.xml*.tlh*.tmp*.tmp_proj-*_wpftmp.csproj*.log*.vspscc*.vssscc@@ -131,6 +115,9 @@ _ReSharper*/*.[Rr]e[Ss]harper*.DotSettings.user+# JustCode is a .NET coding add-in+.JustCode+# TeamCity is a build add-in_TeamCity*@@ -141,11 +128,6 @@ _TeamCity*.axoCover/*!.axoCover/settings.json-# Coverlet is a free, cross platform Code Coverage Tool-coverage*.json-coverage*.xml-coverage*.info-# Visual Studio code coverage results*.coverage*.coveragexml@@ -183,7 +165,7 @@ publish/*.azurePubxml# Note: Comment the next line if you want to checkin your web deploy settings,# but database connection strings (with potential passwords) will be unencrypted-*.pubxml+# *.pubxml*.publishproj# Microsoft Azure Web App publish settings. Comment the next line if you want to@@ -193,8 +175,6 @@ PublishScripts/# NuGet Packages*.nupkg-# NuGet Symbol Packages-*.snupkg# The packages folder can be ignored because of Package Restore**/[Pp]ackages/*# except build/, which is used as an MSBuild target.@@ -219,14 +199,12 @@ BundleArtifacts/Package.StoreAssociation.xml_pkginfo.txt*.appx-*.appxbundle-*.appxupload# Visual Studio cache files# files ending in .cache can be ignored*.[Cc]ache# but keep track of directories ending in .cache-!?*.[Cc]ache/+!*.[Cc]ache/# OthersClientBin/@@ -239,7 +217,7 @@ ClientBin/*.publishsettingsorleans.codegen.cs-# Including strong name files can present a security risk+# Including strong name files can present a security risk# (https://github.com/github/gitignore/pull/2483#issue-259490424)#*.snk@@ -270,9 +248,6 @@ ServiceFabricBackup/*.bim.layout*.bim_*.settings*.rptproj.rsuser-*- [Bb]ackup.rdl-*- [Bb]ackup ([0-9]).rdl-*- [Bb]ackup ([0-9][0-9]).rdl# Microsoft FakesFakesAssemblies/@@ -308,8 +283,12 @@ paket-files/# FAKE - F# Make.fake/-# CodeRush personal settings-.cr/personal+# JetBrains Rider+.idea/+*.sln.iml++# CodeRush+.cr/# Python Tools for Visual Studio (PTVS)__pycache__/@@ -334,7 +313,7 @@ __pycache__/# OpenCover UI analysis resultsOpenCover/-# Azure Stream Analytics local run output+# Azure Stream Analytics local run outputASALocalRun/# MSBuild Binary and Structured Log@@ -343,20 +322,5 @@ ASALocalRun/# NVidia Nsight GPU debugger configuration file*.nvuser-# MFractors (Xamarin productivity tool) working folder+# MFractors (Xamarin productivity tool) working folder.mfractor/--# Local History for Visual Studio-.localhistory/--# BeatPulse healthcheck temp database-healthchecksdb--# Backup folder for Package Reference Convert tool in Visual Studio 2017-MigrationBackup/--# Ionide (cross platform F# VS Code tools) working folder-.ionide/--# Fody - auto-generated XML schema-FodyWeavers.xsddiff --git a/init.cmd b/init.cmdnew file mode 100644index 000000000..5bef08da3--- /dev/null+++ b/init.cmd@@ -0,0 +1,3 @@+@set PS1UnderCmd=1+powershell.exe -ExecutionPolicy bypass -Command "& '%~dpn0.ps1'" %*+@set PS1UnderCmd=diff --git a/init.ps1 b/init.ps1new file mode 100644index 000000000..1fcd0aa22--- /dev/null+++ b/init.ps1@@ -0,0 +1,48 @@+Function Get-MsBuildPath {+ try {+ & "${env:ProgramFiles}\microsoft visual studio\installer\vswhere.exe" -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe | select-object -first 1+ }+ catch {+ & "${env:ProgramFiles(x86)}\microsoft visual studio\installer\vswhere.exe" -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe | select-object -first 1+ }+}++Function Restore-PackagesUnder($searchRoot) {+ # Restore VS solution dependencies+ Get-ChildItem $searchRoot -rec |? { $_.FullName.EndsWith('.sln') } |% {+ Write-Host "Restoring packages for $($_.FullName)..." -ForegroundColor $HeaderColor+ & "$toolsPath\Restore-NuGetPackages.ps1" -Path $_.FullName -Verbosity $nugetVerbosity -MSBuildPath $MSBuildPath+ }++ # Restore vcxproj dependencies+ $nugetPath = & "$PSScriptRoot\tools\Get-NuGetTool.ps1"+ Get-ChildItem $searchRoot -rec |? { $_.FullName.EndsWith('.vcxproj') } |% {+ $packages = Join-Path -Path $_.PSParentPath -ChildPath "nuget.config"+ if (Test-Path $packages) {+ Write-Host "Restoring packages for $(Convert-Path $_.PSParentPath)..." -ForegroundColor $HeaderColor+ & $nugetPath restore $(Convert-Path $_.PSParentPath)+ }+ }+}++Push-Location $PSScriptRoot+try {+ $EnvVarsSet = $false+ $HeaderColor = 'Green'+ $toolsPath = "$PSScriptRoot\tools"+ $nugetVerbosity = 'minimal'+ $MSBuildPath = Get-MsBuildPath+ if ($VerbosePreference -eq 'continue') { $nugetVerbosity = 'Detailed' }++ & "$PSScriptRoot\tools\Get-NuGetTool.ps1" | Out-Null+ Restore-PackagesUnder "$PSScriptRoot\src"++ Write-Host "Successfully restored all dependencies" -ForegroundColor Yellow+}+catch {+ Write-Error $error[0]+ exit $lastexitcode+}+finally {+ Pop-Location+}diff --git a/nuget.config b/nuget.confignew file mode 100644index 000000000..6c5373639--- /dev/null+++ b/nuget.config@@ -0,0 +1,11 @@+<?xml version="1.0" encoding="utf-8"?>+<configuration>+ <config>+ <add key="repositoryPath" value="packages" />+ <add key="globalPackagesFolder" value="packages" />+ </config>+ <packageSources>+ <clear />+ <add key="nuget" value="https://api.nuget.org/v3/index.json" />+ </packageSources>+</configuration>\ No newline at end of filediff --git a/src/DevTools.sln b/src/DevTools.slnnew file mode 100644index 000000000..b67a376a5--- /dev/null+++ b/src/DevTools.sln@@ -0,0 +1,84 @@++Microsoft Visual Studio Solution File, Format Version 12.00+# Visual Studio Version 16+VisualStudioVersion = 16.0.31624.102+MinimumVisualStudioVersion = 10.0.40219.1+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dev", "dev", "{2C2B8C64-7BA1-4244-86E1-48CA7D85D7D9}"+EndProject+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F8A9E843-7AC1-414A-8F27-A8F416D2D489}"+EndProject+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "startup", "startup", "{93B72B9C-08BA-4838-9163-3ED67EC3EB9F}"+EndProject+Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "DevTools.Startup", "dev\startup\DevTools.Startup\DevTools.Startup.wapproj", "{361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTools.Uwp", "dev\startup\DevTools.Uwp\DevTools.Uwp.csproj", "{E3E4E200-B380-4207-9A7E-4C9421904502}"+EndProject+Global+ GlobalSection(SolutionConfigurationPlatforms) = preSolution+ Debug|ARM = Debug|ARM+ Debug|ARM64 = Debug|ARM64+ Debug|x64 = Debug|x64+ Debug|x86 = Debug|x86+ Release|ARM = Release|ARM+ Release|ARM64 = Release|ARM64+ Release|x64 = Release|x64+ Release|x86 = Release|x86+ EndGlobalSection+ GlobalSection(ProjectConfigurationPlatforms) = postSolution+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|ARM.ActiveCfg = Debug|ARM+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|ARM.Build.0 = Debug|ARM+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|ARM.Deploy.0 = Debug|ARM+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|ARM64.ActiveCfg = Debug|ARM64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|ARM64.Build.0 = Debug|ARM64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|ARM64.Deploy.0 = Debug|ARM64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|x64.ActiveCfg = Debug|x64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|x64.Build.0 = Debug|x64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|x64.Deploy.0 = Debug|x64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|x86.ActiveCfg = Debug|x86+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|x86.Build.0 = Debug|x86+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Debug|x86.Deploy.0 = Debug|x86+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|ARM.ActiveCfg = Release|ARM+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|ARM.Build.0 = Release|ARM+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|ARM.Deploy.0 = Release|ARM+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|ARM64.ActiveCfg = Release|ARM64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|ARM64.Build.0 = Release|ARM64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|ARM64.Deploy.0 = Release|ARM64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|x64.ActiveCfg = Release|x64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|x64.Build.0 = Release|x64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|x64.Deploy.0 = Release|x64+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|x86.ActiveCfg = Release|x86+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|x86.Build.0 = Release|x86+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7}.Release|x86.Deploy.0 = Release|x86+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Debug|ARM.ActiveCfg = Debug|ARM+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Debug|ARM.Build.0 = Debug|ARM+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Debug|ARM64.ActiveCfg = Debug|ARM64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Debug|ARM64.Build.0 = Debug|ARM64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Debug|x64.ActiveCfg = Debug|x64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Debug|x64.Build.0 = Debug|x64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Debug|x86.ActiveCfg = Debug|x86+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Debug|x86.Build.0 = Debug|x86+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|ARM.ActiveCfg = Release|ARM+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|ARM.Build.0 = Release|ARM+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|ARM.Deploy.0 = Release|ARM+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|ARM64.ActiveCfg = Release|ARM64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|ARM64.Build.0 = Release|ARM64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|ARM64.Deploy.0 = Release|ARM64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|x64.ActiveCfg = Release|x64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|x64.Build.0 = Release|x64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|x64.Deploy.0 = Release|x64+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|x86.ActiveCfg = Release|x86+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|x86.Build.0 = Release|x86+ {E3E4E200-B380-4207-9A7E-4C9421904502}.Release|x86.Deploy.0 = Release|x86+ EndGlobalSection+ GlobalSection(SolutionProperties) = preSolution+ HideSolutionNode = FALSE+ EndGlobalSection+ GlobalSection(NestedProjects) = preSolution+ {93B72B9C-08BA-4838-9163-3ED67EC3EB9F} = {2C2B8C64-7BA1-4244-86E1-48CA7D85D7D9}+ {361DB7BC-BE7B-41A2-A29A-978A9E3B4AA7} = {93B72B9C-08BA-4838-9163-3ED67EC3EB9F}+ {E3E4E200-B380-4207-9A7E-4C9421904502} = {93B72B9C-08BA-4838-9163-3ED67EC3EB9F}+ EndGlobalSection+ GlobalSection(ExtensibilityGlobals) = postSolution+ SolutionGuid = {78B10789-385B-4F7D-8E06-D86143CD76B5}+ EndGlobalSection+EndGlobaldiff --git a/src/Directory.Build.props b/src/Directory.Build.propsnew file mode 100644index 000000000..01f87ae1c--- /dev/null+++ b/src/Directory.Build.props@@ -0,0 +1,35 @@+<Project>+ <PropertyGroup>+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>+ <Platform Condition=" '$(Platform)' == '' ">x64</Platform>++ <Windows10SDKVersion>10.0.19041.0</Windows10SDKVersion>+ <Windows10MinSDKVersion>10.0.16299.0</Windows10MinSDKVersion>+ <LangVersion>latest</LangVersion>++ <!-- Defines the bin and obj folder paths -->+ <RepoRoot>$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))\</RepoRoot>+ <BaseOutputPath>$(RepoRoot)bin\</BaseOutputPath>+ <BaseIntermediateOutputPath>$(RepoRoot)obj\$(Platform)\$(Configuration)\$(MSBuildProjectName)\</BaseIntermediateOutputPath>+ <OutputPath>$(BaseOutputPath)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutputPath>+ <PackagesConfigRestorePath>$(RepoRoot)packages\</PackagesConfigRestorePath>++ <!-- Enable generation of .tt files -->+ <TransformOnBuild>true</TransformOnBuild>+ <OverwriteReadOnlyOutputFiles>true</OverwriteReadOnlyOutputFiles>+ <TransformOutOfDateOnly>false</TransformOutOfDateOnly>+ </PropertyGroup>++ <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '16.0' ">+ <VisualStudioVersion>16.0</VisualStudioVersion>+ </PropertyGroup>++ <PropertyGroup Condition="'$(Configuration)' == 'Debug'">+ <!-- In Debug mode, don't generate .tt files at each build. -->+ <TransformOutOfDateOnly>true</TransformOutOfDateOnly>+ </PropertyGroup>++ <PropertyGroup>+ <RestoreProjectStyle>PackageReference</RestoreProjectStyle>+ </PropertyGroup>+</Project>\ No newline at end of filediff --git a/src/Directory.Build.targets b/src/Directory.Build.targetsnew file mode 100644index 000000000..2d8e3a3f6--- /dev/null+++ b/src/Directory.Build.targets@@ -0,0 +1,29 @@+<Project>+ <ItemGroup>+ <PackageReference Include="Newtonsoft.Json">+ <Version>12.0.3</Version>+ </PackageReference>+ <PackageReference Include="System.Composition">+ <Version>5.0.0</Version>+ </PackageReference>+ <PackageReference Include="System.Runtime.CompilerServices.Unsafe">+ <Version>5.0.0</Version>+ </PackageReference>+ </ItemGroup>++ <!-- Update Assembly Version info on build -->+ <PropertyGroup>+ <SetVersionPath>$(RepoRoot)tools\SetVersionTask.dll</SetVersionPath>+ </PropertyGroup>+ <UsingTask TaskName="SetVersion" AssemblyFile="$(SetVersionPath)" />+ <Target Name="UpdateVersionNumber" Condition="Exists('$(SetVersionPath)') AND '$(Configuration)' == 'Release'">+ <Message Text="Updating Version..." />+ <SetVersion+ FileName="$(RepoRoot)src\dev\shared\SharedAssemblyInfo.cs"+ AssemblyVersion="$([System.DateTime]::Now.ToString(yyyy.MM.dd.0))"+ AssemblyFileVersion="$([System.DateTime]::Now.ToString(yyyy.MM.dd.0))" />+ </Target>+ <Target Name="BeforeBuild" DependsOnTargets="UpdateVersionNumber"/>++ <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v16.0\TextTemplating\Microsoft.TextTemplating.targets" />+</Project>\ No newline at end of filediff --git a/src/dev/shared/SharedAssemblyInfo.cs b/src/dev/shared/SharedAssemblyInfo.csnew file mode 100644index 000000000..5b23aa6e8--- /dev/null+++ b/src/dev/shared/SharedAssemblyInfo.cs@@ -0,0 +1,37 @@+//------------------------------------------------------------------------------+// <auto-generated>+// This code was generated by a tool.+//+// Changes to this file may cause incorrect behavior and will be lost if+// the code is regenerated.+// </auto-generated>+//------------------------------------------------------------------------------++using System.Reflection;+++// General Information about an assembly is controlled through the following+// set of attributes. Change these attribute values to modify the information+// associated with an assembly.+[assembly: AssemblyDescription("")]+[assembly: AssemblyConfiguration("")]+[assembly: AssemblyCompany("Etienne BAUDOUX")]+[assembly: AssemblyProduct("DevTools")]+[assembly: AssemblyCopyright("© Etienne BAUDOUX. All rights reserved.")]+[assembly: AssemblyTrademark("")]+[assembly: AssemblyCulture("")]++++// Version information for an assembly consists of the following four values:+//+// Major Version+// Minor Version+// Build Number+// Revision+//+// You can specify all the values or you can default the Build and Revision Numbers+// by using the '*' as shown below:+// [assembly: AssemblyVersion("1.0.*")]+[assembly: AssemblyVersion("0.0.0.0")]+[assembly: AssemblyFileVersion("0.0.0.0")]diff --git a/src/dev/startup/DevTools.Startup/Assets/Logo/LockScreenLogo.scale-200.png b/src/dev/startup/DevTools.Startup/Assets/Logo/LockScreenLogo.scale-200.pngnew file mode 100644index 000000000..735f57adbBinary files /dev/null and b/src/dev/startup/DevTools.Startup/Assets/Logo/LockScreenLogo.scale-200.png differdiff --git a/src/dev/startup/DevTools.Startup/Assets/Logo/SplashScreen.scale-200.png b/src/dev/startup/DevTools.Startup/Assets/Logo/SplashScreen.scale-200.pngnew file mode 100644index 000000000..023e7f1feBinary files /dev/null and b/src/dev/startup/DevTools.Startup/Assets/Logo/SplashScreen.scale-200.png differdiff --git a/src/dev/startup/DevTools.Startup/Assets/Logo/Square150x150Logo.scale-200.png b/src/dev/startup/DevTools.Startup/Assets/Logo/Square150x150Logo.scale-200.pngnew file mode 100644index 000000000..af49fec1aBinary files /dev/null and b/src/dev/startup/DevTools.Startup/Assets/Logo/Square150x150Logo.scale-200.png differdiff --git a/src/dev/startup/DevTools.Startup/Assets/Logo/Square44x44Logo.scale-200.png b/src/dev/startup/DevTools.Startup/Assets/Logo/Square44x44Logo.scale-200.pngnew file mode 100644index 000000000..ce342a2ecBinary files /dev/null and b/src/dev/startup/DevTools.Startup/Assets/Logo/Square44x44Logo.scale-200.png differdiff --git a/src/dev/startup/DevTools.Startup/Assets/Logo/Square44x44Logo.targetsize-24_altform-unplated.png b/src/dev/startup/DevTools.Startup/Assets/Logo/Square44x44Logo.targetsize-24_altform-unplated.pngnew file mode 100644index 000000000..f6c02ce97Binary files /dev/null and b/src/dev/startup/DevTools.Startup/Assets/Logo/Square44x44Logo.targetsize-24_altform-unplated.png differdiff --git a/src/dev/startup/DevTools.Startup/Assets/Logo/StoreLogo.png b/src/dev/startup/DevTools.Startup/Assets/Logo/StoreLogo.pngnew file mode 100644index 000000000..7385b56c0Binary files /dev/null and b/src/dev/startup/DevTools.Startup/Assets/Logo/StoreLogo.png differdiff --git a/src/dev/startup/DevTools.Startup/Assets/Logo/Wide310x150Logo.scale-200.png b/src/dev/startup/DevTools.Startup/Assets/Logo/Wide310x150Logo.scale-200.pngnew file mode 100644index 000000000..288995b39Binary files /dev/null and b/src/dev/startup/DevTools.Startup/Assets/Logo/Wide310x150Logo.scale-200.png differdiff --git a/src/dev/startup/DevTools.Startup/DevTools.Startup.wapproj b/src/dev/startup/DevTools.Startup/DevTools.Startup.wapprojnew file mode 100644index 000000000..a96026297--- /dev/null+++ b/src/dev/startup/DevTools.Startup/DevTools.Startup.wapproj@@ -0,0 +1,77 @@+<?xml version="1.0" encoding="utf-8"?>+<Project ToolsVersion="16.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+ <ItemGroup Label="ProjectConfigurations">+ <ProjectConfiguration Include="Debug|x86">+ <Configuration>Debug</Configuration>+ <Platform>x86</Platform>+ </ProjectConfiguration>+ <ProjectConfiguration Include="Release|x86">+ <Configuration>Release</Configuration>+ <Platform>x86</Platform>+ </ProjectConfiguration>+ <ProjectConfiguration Include="Debug|x64">+ <Configuration>Debug</Configuration>+ <Platform>x64</Platform>+ </ProjectConfiguration>+ <ProjectConfiguration Include="Release|x64">+ <Configuration>Release</Configuration>+ <Platform>x64</Platform>+ </ProjectConfiguration>+ <ProjectConfiguration Include="Debug|ARM">+ <Configuration>Debug</Configuration>+ <Platform>ARM</Platform>+ </ProjectConfiguration>+ <ProjectConfiguration Include="Release|ARM">+ <Configuration>Release</Configuration>+ <Platform>ARM</Platform>+ </ProjectConfiguration>+ <ProjectConfiguration Include="Debug|ARM64">+ <Configuration>Debug</Configuration>+ <Platform>ARM64</Platform>+ </ProjectConfiguration>+ <ProjectConfiguration Include="Release|ARM64">+ <Configuration>Release</Configuration>+ <Platform>ARM64</Platform>+ </ProjectConfiguration>+ </ItemGroup>+ <PropertyGroup>+ <WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>+ </PropertyGroup>+ <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />+ <PropertyGroup>+ <ProjectGuid>361db7bc-be7b-41a2-a29a-978a9e3b4aa7</ProjectGuid>+ <TargetPlatformVersion>$(Windows10SDKVersion)</TargetPlatformVersion>+ <TargetPlatformMinVersion>$(Windows10MinSDKVersion)</TargetPlatformMinVersion>+ <DefaultLanguage>en-US</DefaultLanguage>+ <AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>+ <GenerateAppInstallerFile>False</GenerateAppInstallerFile>+ <AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>+ <GenerateTestArtifacts>True</GenerateTestArtifacts>+ <AppxBundlePlatforms>x86|x64</AppxBundlePlatforms>+ <HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>+ <AppxPackageDir>..\..\..\..\bin\AppPackages\</AppxPackageDir>+ <AppxBundle>Always</AppxBundle>+ <EntryPointProjectUniqueName>..\DevTools.Uwp\DevTools.Uwp.csproj</EntryPointProjectUniqueName>+ </PropertyGroup>+ <ItemGroup>+ <AppxManifest Include="Package.appxmanifest">+ <SubType>Designer</SubType>+ </AppxManifest>+ </ItemGroup>+ <ItemGroup>+ <Content Include="Assets\Logo\SplashScreen.scale-200.png" />+ <Content Include="Assets\Logo\LockScreenLogo.scale-200.png" />+ <Content Include="Assets\Logo\Square150x150Logo.scale-200.png" />+ <Content Include="Assets\Logo\Square44x44Logo.scale-200.png" />+ <Content Include="Assets\Logo\Square44x44Logo.targetsize-24_altform-unplated.png" />+ <Content Include="Assets\Logo\StoreLogo.png" />+ <Content Include="Assets\Logo\Wide310x150Logo.scale-200.png" />+ </ItemGroup>+ <ItemGroup>+ <ProjectReference Include="..\DevTools.Uwp\DevTools.Uwp.csproj" />+ </ItemGroup>+ <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />+ <ItemGroup>+ <PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.19041.8" PrivateAssets="all" />+ </ItemGroup>+</Project>\ No newline at end of filediff --git a/src/dev/startup/DevTools.Startup/Package.appxmanifest b/src/dev/startup/DevTools.Startup/Package.appxmanifestnew file mode 100644index 000000000..18050953a--- /dev/null+++ b/src/dev/startup/DevTools.Startup/Package.appxmanifest@@ -0,0 +1,57 @@+<?xml version="1.0" encoding="utf-8"?>++<Package+ xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"+ xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"+ xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"+ IgnorableNamespaces="uap mp">++ <Identity+ Name="020c5ec9-262d-4acd-92d0-26ec6e869879"+ Publisher="CN=ebaud"+ Version="1.0.0.0" />++ <!-- TODO: maybe we need to remove this when adding runFullTrust capability -->+ <mp:PhoneIdentity PhoneProductId="c12088ee-f979-4809-8039-7851a3aa2b7a" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>++ <Properties>+ <DisplayName>DevTools</DisplayName>+ <PublisherDisplayName>ebaud</PublisherDisplayName>+ <Logo>Assets\Logo\StoreLogo.png</Logo>+ </Properties>++ <Dependencies>+ <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />+ <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />+ </Dependencies>++ <Resources>+ <Resource Language="x-generate"/>+ </Resources>++ <Applications>+ <Application Id="App"+ Executable="$targetnametoken$.exe"+ EntryPoint="$targetentrypoint$">+ <uap:VisualElements+ DisplayName="DevTools"+ Description="DevTools"+ BackgroundColor="transparent"+ Square150x150Logo="Assets\Logo\Square150x150Logo.png"+ Square44x44Logo="Assets\Logo\Square44x44Logo.png">+ <uap:DefaultTile Wide310x150Logo="Assets\Logo\Wide310x150Logo.png" />+ <uap:SplashScreen Image="Assets\Logo\SplashScreen.png" />+ <uap:InitialRotationPreference>+ <uap:Rotation Preference="landscape"/>+ <uap:Rotation Preference="portrait"/>+ <uap:Rotation Preference="landscapeFlipped"/>+ <uap:Rotation Preference="portraitFlipped"/>+ </uap:InitialRotationPreference>+ </uap:VisualElements>+ </Application>+ </Applications>++ <Capabilities>+ <Capability Name="internetClient" />+ </Capabilities>+</Package>diff --git a/src/dev/startup/DevTools.Uwp/App.xaml b/src/dev/startup/DevTools.Uwp/App.xamlnew file mode 100644index 000000000..2e47563df--- /dev/null+++ b/src/dev/startup/DevTools.Uwp/App.xaml@@ -0,0 +1,7 @@+<Application+ x:Class="DevTools.Uwp.App"+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"+ xmlns:local="using:DevTools.Uwp">++</Application>diff --git a/src/dev/startup/DevTools.Uwp/App.xaml.cs b/src/dev/startup/DevTools.Uwp/App.xaml.csnew file mode 100644index 000000000..006523719--- /dev/null+++ b/src/dev/startup/DevTools.Uwp/App.xaml.cs@@ -0,0 +1,90 @@+using System;+using Windows.ApplicationModel;+using Windows.ApplicationModel.Activation;+using Windows.UI.Xaml;+using Windows.UI.Xaml.Controls;+using Windows.UI.Xaml.Navigation;++namespace DevTools.Uwp+{+ /// <summary>+ /// Provides application-specific behavior to supplement the default Application class.+ /// </summary>+ sealed partial class App : Application+ {+ /// <summary>+ /// Initializes the singleton application object. This is the first line of authored code+ /// executed, and as such is the logical equivalent of main() or WinMain().+ /// </summary>+ public App()+ {+ this.InitializeComponent();+ this.Suspending += OnSuspending;+ }++ /// <summary>+ /// Invoked when the application is launched normally by the end user. Other entry points+ /// will be used such as when the application is launched to open a specific file.+ /// </summary>+ /// <param name="e">Details about the launch request and process.</param>+ protected override void OnLaunched(LaunchActivatedEventArgs e)+ {+ Frame rootFrame = Window.Current.Content as Frame;++ // Do not repeat app initialization when the Window already has content,+ // just ensure that the window is active+ if (rootFrame == null)+ {+ // Create a Frame to act as the navigation context and navigate to the first page+ rootFrame = new Frame();++ rootFrame.NavigationFailed += OnNavigationFailed;++ if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)+ {+ //TODO: Load state from previously suspended application+ }++ // Place the frame in the current Window+ Window.Current.Content = rootFrame;+ }++ if (e.PrelaunchActivated == false)+ {+ if (rootFrame.Content == null)+ {+ // When the navigation stack isn't restored navigate to the first page,+ // configuring the new page by passing required information as a navigation+ // parameter+ rootFrame.Navigate(typeof(MainPage), e.Arguments);+ }+ // Ensure the current window is active+ Window.Current.Activate();+ }+ }++ /// <summary>+ /// Invoked when Navigation to a certain page fails+ /// </summary>+ /// <param name="sender">The Frame which failed navigation</param>+ /// <param name="e">Details about the navigation failure</param>+ void OnNavigationFailed(object sender, NavigationFailedEventArgs e)+ {+ throw new Exception("Failed to load Page " + e.SourcePageType.FullName);+ }++ /// <summary>+ /// Invoked when application execution is being suspended. Application state is saved+ /// without knowing whether the application will be terminated or resumed with the contents+ /// of memory still intact.+ /// </summary>+ /// <param name="sender">The source of the suspend request.</param>+ /// <param name="e">Details about the suspend request.</param>+ private void OnSuspending(object sender, SuspendingEventArgs e)+ {+ var deferral = e.SuspendingOperation.GetDeferral();+ //TODO: Save application state and stop any background activity+ deferral.Complete();+ }+ }+}diff --git a/src/dev/startup/DevTools.Uwp/DevTools.Uwp.csproj b/src/dev/startup/DevTools.Uwp/DevTools.Uwp.csprojnew file mode 100644index 000000000..683381083--- /dev/null+++ b/src/dev/startup/DevTools.Uwp/DevTools.Uwp.csproj@@ -0,0 +1,143 @@+<?xml version="1.0" encoding="utf-8"?>+<Project ToolsVersion="16.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />+ <PropertyGroup>+ <ProjectGuid>{E3E4E200-B380-4207-9A7E-4C9421904502}</ProjectGuid>+ <OutputType>AppContainerExe</OutputType>+ <AppDesignerFolder>Properties</AppDesignerFolder>+ <RootNamespace>DevTools.Uwp</RootNamespace>+ <AssemblyName>DevTools.Uwp</AssemblyName>+ <DefaultLanguage>en-US</DefaultLanguage>+ <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>+ <TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">$(Windows10SDKVersion)</TargetPlatformVersion>+ <TargetPlatformMinVersion>$(Windows10MinSDKVersion)</TargetPlatformMinVersion>+ <MinimumVisualStudioVersion>16</MinimumVisualStudioVersion>+ <FileAlignment>512</FileAlignment>+ <ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>+ <WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>+ <AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>+ </PropertyGroup>+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">+ <DebugSymbols>true</DebugSymbols>+ <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>+ <DebugType>full</DebugType>+ <PlatformTarget>x86</PlatformTarget>+ </PropertyGroup>+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">+ <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>+ <Optimize>true</Optimize>+ <DebugType>pdbonly</DebugType>+ <PlatformTarget>x86</PlatformTarget>+ <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>+ </PropertyGroup>+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">+ <DebugSymbols>true</DebugSymbols>+ <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>+ <DebugType>full</DebugType>+ <PlatformTarget>ARM</PlatformTarget>+ </PropertyGroup>+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">+ <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>+ <Optimize>true</Optimize>+ <DebugType>pdbonly</DebugType>+ <PlatformTarget>ARM</PlatformTarget>+ <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>+ </PropertyGroup>+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">+ <DebugSymbols>true</DebugSymbols>+ <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>+ <DebugType>full</DebugType>+ <PlatformTarget>ARM64</PlatformTarget>+ <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>+ </PropertyGroup>+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">+ <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>+ <Optimize>true</Optimize>+ <DebugType>pdbonly</DebugType>+ <PlatformTarget>ARM64</PlatformTarget>+ <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>+ </PropertyGroup>+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">+ <DebugSymbols>true</DebugSymbols>+ <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>+ <DebugType>full</DebugType>+ <PlatformTarget>x64</PlatformTarget>+ </PropertyGroup>+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">+ <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>+ <Optimize>true</Optimize>+ <DebugType>pdbonly</DebugType>+ <PlatformTarget>x64</PlatformTarget>+ <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>+ </PropertyGroup>+ <PropertyGroup>+ <RestoreProjectStyle>PackageReference</RestoreProjectStyle>+ </PropertyGroup>+ <ItemGroup>+ <Compile Include="..\..\shared\SharedAssemblyInfo.cs">+ <Link>Properties\SharedAssemblyInfo.cs</Link>+ </Compile>+ <Compile Include="App.xaml.cs">+ <DependentUpon>App.xaml</DependentUpon>+ </Compile>+ <Compile Include="MainPage.xaml.cs">+ <DependentUpon>MainPage.xaml</DependentUpon>+ </Compile>+ <Compile Include="Properties\AssemblyInfo.cs" />+ </ItemGroup>+ <ItemGroup>+ <AppxManifest Include="Package.appxmanifest">+ <SubType>Designer</SubType>+ </AppxManifest>+ </ItemGroup>+ <ItemGroup>+ <Content Include="Properties\Default.rd.xml" />+ <Content Include="..\DevTools.Startup\Assets\Logo\LockScreenLogo.scale-200.png">+ <Link>Assets\Logo\LockScreenLogo.scale-200.png</Link>+ </Content>+ <Content Include="..\DevTools.Startup\Assets\Logo\SplashScreen.scale-200.png">+ <Link>Assets\Logo\SplashScreen.scale-200.png</Link>+ </Content>+ <Content Include="..\DevTools.Startup\Assets\Logo\Square150x150Logo.scale-200.png">+ <Link>Assets\Logo\Square150x150Logo.scale-200.png</Link>+ </Content>+ <Content Include="..\DevTools.Startup\Assets\Logo\Square44x44Logo.scale-200.png">+ <Link>Assets\Logo\Square44x44Logo.scale-200.png</Link>+ </Content>+ <Content Include="..\DevTools.Startup\Assets\Logo\Square44x44Logo.targetsize-24_altform-unplated.png">+ <Link>Assets\Logo\Square44x44Logo.targetsize-24_altform-unplated.png</Link>+ </Content>+ <Content Include="..\DevTools.Startup\Assets\Logo\StoreLogo.png">+ <Link>Assets\Logo\StoreLogo.png</Link>+ </Content>+ <Content Include="..\DevTools.Startup\Assets\Logo\Wide310x150Logo.scale-200.png">+ <Link>Assets\Logo\Wide310x150Logo.scale-200.png</Link>+ </Content>+ </ItemGroup>+ <ItemGroup>+ <ApplicationDefinition Include="App.xaml">+ <Generator>MSBuild:Compile</Generator>+ <SubType>Designer</SubType>+ </ApplicationDefinition>+ <Page Include="MainPage.xaml">+ <Generator>MSBuild:Compile</Generator>+ <SubType>Designer</SubType>+ </Page>+ </ItemGroup>+ <ItemGroup>+ <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">+ <Version>6.2.12</Version>+ </PackageReference>+ </ItemGroup>+ <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">+ <VisualStudioVersion>14.0</VisualStudioVersion>+ </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.+ <Target Name="BeforeBuild">+ </Target>+ <Target Name="AfterBuild">+ </Target>+ -->+</Project>\ No newline at end of filediff --git a/src/dev/startup/DevTools.Uwp/MainPage.xaml b/src/dev/startup/DevTools.Uwp/MainPage.xamlnew file mode 100644index 000000000..715b765d6--- /dev/null+++ b/src/dev/startup/DevTools.Uwp/MainPage.xaml@@ -0,0 +1,14 @@+<Page+ x:Class="DevTools.Uwp.MainPage"+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"+ xmlns:local="using:DevTools.Uwp"+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"+ mc:Ignorable="d"+ Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">++ <Grid>++ </Grid>+</Page>diff --git a/src/dev/startup/DevTools.Uwp/MainPage.xaml.cs b/src/dev/startup/DevTools.Uwp/MainPage.xaml.csnew file mode 100644index 000000000..e699c4416--- /dev/null+++ b/src/dev/startup/DevTools.Uwp/MainPage.xaml.cs@@ -0,0 +1,17 @@+using Windows.UI.Xaml.Controls;++// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409++namespace DevTools.Uwp+{+ /// <summary>+ /// An empty page that can be used on its own or navigated to within a Frame.+ /// </summary>+ public sealed partial class MainPage : Page+ {+ public MainPage()+ {+ this.InitializeComponent();+ }+ }+}diff --git a/src/dev/startup/DevTools.Uwp/Package.appxmanifest b/src/dev/startup/DevTools.Uwp/Package.appxmanifestnew file mode 100644index 000000000..14847081a--- /dev/null+++ b/src/dev/startup/DevTools.Uwp/Package.appxmanifest@@ -0,0 +1,49 @@+<?xml version="1.0" encoding="utf-8"?>++<Package+ xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"+ xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"+ xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"+ IgnorableNamespaces="uap mp">++ <Identity+ Name="c12088ee-f979-4809-8039-7851a3aa2b7a"+ Publisher="CN=ebaud"+ Version="1.0.0.0" />++ <mp:PhoneIdentity PhoneProductId="c12088ee-f979-4809-8039-7851a3aa2b7a" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>++ <Properties>+ <DisplayName>DevTools.Uwp</DisplayName>+ <PublisherDisplayName>ebaud</PublisherDisplayName>+ <Logo>Assets\Logo\StoreLogo.png</Logo>+ </Properties>++ <Dependencies>+ <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />+ </Dependencies>++ <Resources>+ <Resource Language="x-generate"/>+ </Resources>++ <Applications>+ <Application Id="App"+ Executable="$targetnametoken$.exe"+ EntryPoint="DevTools.Uwp.App">+ <uap:VisualElements+ DisplayName="DevTools.Uwp"+ Square150x150Logo="Assets\Logo\Square150x150Logo.png"+ Square44x44Logo="Assets\Logo\Square44x44Logo.png"+ Description="DevTools.Uwp"+ BackgroundColor="transparent">+ <uap:DefaultTile Wide310x150Logo="Assets\Logo\Wide310x150Logo.png"/>+ <uap:SplashScreen Image="Assets\Logo\SplashScreen.png" />+ </uap:VisualElements>+ </Application>+ </Applications>++ <Capabilities>+ <Capability Name="internetClient" />+ </Capabilities>+</Package>\ No newline at end of filediff --git a/src/dev/startup/DevTools.Uwp/Properties/AssemblyInfo.cs b/src/dev/startup/DevTools.Uwp/Properties/AssemblyInfo.csnew file mode 100644index 000000000..1590d147d--- /dev/null+++ b/src/dev/startup/DevTools.Uwp/Properties/AssemblyInfo.cs@@ -0,0 +1,3 @@+using System.Reflection;++[assembly: AssemblyTitle("DevTools.UWP")]\ No newline at end of filediff --git a/src/dev/startup/DevTools.Uwp/Properties/Default.rd.xml b/src/dev/startup/DevTools.Uwp/Properties/Default.rd.xmlnew file mode 100644index 000000000..af00722cd--- /dev/null+++ b/src/dev/startup/DevTools.Uwp/Properties/Default.rd.xml@@ -0,0 +1,31 @@+<!--+ This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most+ developers. However, you can modify these parameters to modify the behavior of the .NET Native+ optimizer.++ Runtime Directives are documented at https://go.microsoft.com/fwlink/?LinkID=391919++ To fully enable reflection for App1.MyClass and all of its public/private members+ <Type Name="App1.MyClass" Dynamic="Required All"/>++ To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32+ <TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />++ Using the Namespace directive to apply reflection policy to all the types in a particular namespace+ <Namespace Name="DataClasses.ViewModels" Serialize="All" />+-->++<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">+ <Application>+ <!--+ An Assembly element with Name="*Application*" applies to all assemblies in+ the application package. The asterisks are not wildcards.+ -->+ <Assembly Name="*Application*" Dynamic="Required All" />+++ <!-- Add your application specific runtime directives here. -->+++ </Application>+</Directives>\ No newline at end of filediff --git a/tools/Get-NuGetTool.ps1 b/tools/Get-NuGetTool.ps1new file mode 100644index 000000000..4f640959e--- /dev/null+++ b/tools/Get-NuGetTool.ps1@@ -0,0 +1,35 @@+<#+.SYNOPSIS+ Downloads the NuGet.exe tool and returns the path to it.+.PARAMETER NuGetVersion+ The version of the NuGet tool to acquire.+#>+Param(+ [Parameter()]+ [string]$NuGetVersion='5.2.0'+)++# Value is documented here: https://msdn.microsoft.com/en-us/library/windows/desktop/ms723207(v=vs.85).aspx+$YesToAllOnAnyDialogs = 16++function Expand-ZIPFile($file, $destination) {+ if (!(Test-Path $destination)) { $null = mkdir $destination }+ $shell = new-object -com shell.application+ $zip = $shell.NameSpace((Resolve-Path $file).Path)+ foreach ($item in $zip.items()) {+ $shell.Namespace((Resolve-Path $destination).Path).copyhere($item, $YesToAllOnAnyDialogs) | Out-Null+ }+}++$binaryToolsBasePath = "$env:localappdata\Temp"+$binaryToolsPath = "$binaryToolsBasePath\$NuGetVersion"+if (!(Test-Path $binaryToolsPath)) { $null = mkdir $binaryToolsPath }+$nugetPath = "$binaryToolsPath\nuget.exe"++# Ignore the nuget.exe that came in the bundle and use the version we want to use.+if (!(Test-Path $nugetPath)) {+ Write-Host "Downloading nuget.exe $NuGetVersion..." -ForegroundColor Yellow+ (New-Object System.Net.WebClient).DownloadFile("https://dist.nuget.org/win-x86-commandline/v$NuGetVersion/NuGet.exe", $nugetPath)+}++$nugetPathdiff --git a/tools/README.md b/tools/README.mdnew file mode 100644index 000000000..c351cbf9d--- /dev/null+++ b/tools/README.md@@ -0,0 +1 @@+- SetVersionTask.dll -> https://github.com/markheath/setversiontask\ No newline at end of filediff --git a/tools/Restore-NuGetPackages.ps1 b/tools/Restore-NuGetPackages.ps1new file mode 100644index 000000000..72e1aaa55--- /dev/null+++ b/tools/Restore-NuGetPackages.ps1@@ -0,0 +1,40 @@+<#+.SYNOPSIS+ Restores NuGet packages.+.PARAMETER Path+ The path of the solution, directory, packages.config or project.json file to restore packages from.+ If not specified, the current directory is used.+.PARAMETER MSBuildPath+ The path to directory that contains MSBuild.exe that should be used for package restore.+ Optional, but may be necessary if you have multiple installs of VS2017 and the 'guessed'+ installation is the wrong version or has an insufficient set of workloads installed.+.PARAMETER Verbosity+ The verbosity for the nuget restore command.+#>+[CmdletBinding(SupportsShouldProcess=$true,ConfirmImpact='Low')]+Param(+ [Parameter(Position=1)]+ [string]$Path=(Get-Location),+ [Parameter()]+ [ValidateSet('Quiet','Minimal','Normal','Detailed','Diagnostic')]+ [string]$Verbosity='normal',+ [Parameter()]+ [string]$MSBuildPath,+ [Parameter()]+ [string]$NuGetVersion='5.2.0'+)++if ($Path.EndsWith('.sln')) {+ if ($PSCmdlet.ShouldProcess($Path, 'dotnet restore')) {+ Write-Verbose "Restoring NuGet packages for $Path with verbosity $Verbosity"+ dotnet restore $Path -v $Verbosity+ Invoke-Expression '& "$MSBuildPath" $Path /t:restore /v:$Verbosity'+ if ($lastexitcode -ne 0) { throw }+ }++ $slnDir = Split-Path -Path $Path -Parent+ $packagesConfig = Join-Path $slnDir "\nuget.config"+ if (Test-Path $packagesConfig) {+ & "$PSScriptRoot\Restore-NuGetPackages.ps1" -Path $packagesConfig -Verbosity $Verbosity -MSBuildPath $MSBuildPath -NuGetVersion $NuGetVersion+ }+}diff --git a/tools/SetVersionTask.dll b/tools/SetVersionTask.dllnew file mode 100644index 000000000..f45044024Binary files /dev/null and b/tools/SetVersionTask.dll differ