A project template for creating a command-line application which can use WinRT APIs (and can only run on Windows 8) For instance, you can... Dim files = Await Windows.Storage.KnownFolders.PicturesLibrary.GetFilesAsync()
Technically, (1) the template adds TargetPlatformVersion=8.0 to the project template so it's allowed to reference WinRT, and requires Windows 8, (2) adds VBRuntime=Embed so you only use the subset of VB runtime functions that are allowed in windows app store, (3) adds references to Windows.winmd, (4) adds references to standard reference libraries that are used in windows app store apps -- System.Net.Http.dll, System.Runtime.WindowsRuntime.dll, System.Runtime.dll, System.Threading.Tasks.dll, System.IO.dll, System.Runtime.InteropServices.WindowsRuntime.dll, (5) adds project-level imports for System.IO and System.Runtime.InteropServices.WindowsRuntime, so you can use the WinRT-interop extension methods in those namespaces, (6) sets it to Option Strict On. |