Branch: master
Find file History
kvalev and rpetrusha WPF's sample csproj files are not up to date (#506)
* Adapt csproj files

* Update README
Latest commit 5df9246 Jan 31, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
WPF-WinRT-Core WPF's sample csproj files are not up to date (#506) Jan 30, 2019
WPF-WinRT-NetFx Add WinRT Sample (#387) Nov 29, 2018
README.md Add WinRT Sample (#387) Nov 29, 2018
WPF-WinRT.sln Add WinRT Sample (#387) Nov 29, 2018

README.md

WPF-WinRT

This sample shows how to consume the Windows 10 API from .NET Core and .Net Framework projects.

Pre-requisites

To access Win10 APIs you need to have the Windows SDK installed. You can add it from the Visual Studio setup or download from here

Configure the reference in your project

You can reference the winmd by using the Add Reference dialog or adding the following to your .csproj file:

  <ItemGroup>
    <Reference Include="Windows">
      <HintPath>$(MSBuildProgramFiles32)\Windows Kits\10\UnionMetadata\10.0.16299.0\Windows.winmd</HintPath>
      <Private>False</Private>
    </Reference>
  </ItemGroup>