microsoft / DesktopBridgeToUWP-Samples

This repo contains the samples that demonstrate the usage patterns for the Desktop Conversion extensions.
MIT License
494 stars 271 forks source link

SecondaryTileSample NOT work, win10 1703, OS Build 15063.1387, VS2017 #74

Open AngelTs opened 6 years ago

AngelTs commented 6 years ago

1>------ Rebuild All started: Project: PhotoStoreDemo, Configuration: Debug Any CPU ------ 1> PhotoStoreDemo -> d:\$ABC$\SecondaryTileSample\PhotoStoreDemo\bin\Debug\PhotoStoreDemo.exe 2>------ Rebuild All started: Project: MyDesktopApp.Package, Configuration: Debug x86 ------ 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2492,5): warning APPX0104: Certificate file 'MyDesktopApp.Package_TemporaryKey.pfx' not found. 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2492,5): warning APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2608,5): warning : This project uses the 'runFullTrust' capability. You should use the Windows Application Packaging Project to produce the store and sideload packages. See https://go.microsoft.com/fwlink/?linkid=871803 for more information. 2>Done building project "MyDesktopApp.Package.jsproj". 3>------ Rebuild All started: Project: PhotoStoreDemo.AppxDebug, Configuration: Debug Any CPU ------ 3>d:\$ABC$\SecondaryTileSample\PhotoStoreDemo.AppxDebug\PhotoStoreDemo.AppxDebug.vsdproj(61,5): error : LayoutFile does not exist [d:\PhotoStoreDemo.exe] ========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========

AngelTs commented 6 years ago

I have some progress: I was able to start the program, BUT when select some picture and press "Pin to Start" button -> all suddenly crashed: "PhotoStoreDemo.SecondaryTitle_..... has stopped working"

AngelTs commented 6 years ago

When try to debug (set the "PhotoStoreDemo.AppxDebug" as a startup project and hit F5) have 1error and 3warnings:

1>------ Build started: Project: MyDesktopApp.Package, Configuration: Debug x86 ------ 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2492,5): warning APPX0104: Certificate file 'MyDesktopApp.Package_TemporaryKey.pfx' not found. 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2492,5): warning APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2608,5): warning : This project uses the 'runFullTrust' capability. You should use the Windows Application Packaging Project to produce the store and sideload packages. See https://go.microsoft.com/fwlink/?linkid=871803 for more information. 1>Done building project "MyDesktopApp.Package.jsproj". 2>------ Build started: Project: PhotoStoreDemo.AppxDebug, Configuration: Debug Any CPU ------ 2>d:\$ABC$\temp\SecondaryTileSample\PhotoStoreDemo.AppxDebug\PhotoStoreDemo.AppxDebug.vsdproj(61,5): error : LayoutFile does not exist [d:\PhotoStoreDemo.exe] ========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ========== ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========