File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11
11
<AssemblyName >Files</AssemblyName >
12
12
<DefaultLanguage >en-US</DefaultLanguage >
13
13
<TargetPlatformIdentifier >UAP</TargetPlatformIdentifier >
14
- <TargetPlatformVersion Condition =" '$(TargetPlatformVersion)' == '' " >10.0.18327 .0</TargetPlatformVersion >
14
+ <TargetPlatformVersion Condition =" '$(TargetPlatformVersion)' == '' " >10.0.17763 .0</TargetPlatformVersion >
15
15
<TargetPlatformMinVersion >10.0.17134.0</TargetPlatformMinVersion >
16
16
<MinimumVisualStudioVersion >14</MinimumVisualStudioVersion >
17
17
<FileAlignment >512</FileAlignment >
289
289
<ItemGroup >
290
290
<None Include =" Files_TemporaryKey.pfx" />
291
291
</ItemGroup >
292
- <ItemGroup />
292
+ <ItemGroup >
293
+ <SDKReference Include =" WindowsDesktop, Version=10.0.17763.0" >
294
+ <Name >Windows Desktop Extensions for the UWP</Name >
295
+ </SDKReference >
296
+ </ItemGroup >
293
297
<PropertyGroup Condition =" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' " >
294
298
<VisualStudioVersion >14.0</VisualStudioVersion >
295
299
</PropertyGroup >
Original file line number Diff line number Diff line change 5
5
using System . Diagnostics ;
6
6
using System . IO ;
7
7
using System . Linq ;
8
+ using System . Threading . Tasks ;
9
+ using Windows . ApplicationModel ;
8
10
using Windows . ApplicationModel . Core ;
9
11
using Windows . Devices . Enumeration ;
10
12
using Windows . Devices . Usb ;
@@ -224,6 +226,11 @@ private void NavView_ItemInvoked(Microsoft.UI.Xaml.Controls.NavigationView sende
224
226
225
227
}
226
228
229
+ public static async Task LaunchExe ( string executablePath )
230
+ {
231
+ ApplicationData . Current . LocalSettings . Values [ "executable" ] = executablePath ;
232
+ await FullTrustProcessLauncher . LaunchFullTrustProcessForCurrentAppAsync ( ) ;
233
+ }
227
234
}
228
235
public class SelectItem : INotifyPropertyChanged
229
236
{
You can’t perform that action at this time.
0 commit comments