3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows 10 Version 1903 ではWPFでTargetPlatformVersionが使えない

3
Posted at

WPFアプリ(.Net Framework)からUWP APIの Windows.Devices.Sensors を使うには、下記サイトに記載の通り、「*.csproj」に「TargetPlatformVersion」を追加します。

Send a local toast notification from desktop C# apps - Windows UWP applications | Microsoft Docs

しかし、Windows 10 Version 1903 では下図のように参照マネージャーを開くと、「参照が Windows SDK に見つかりませんでした。」と表示されます。
※Windows 10 Version 1809 では上記サイトのように、一覧が表示される

2019-07-15_161609.png

原因は Windows 10 Version 1903 の問題のようで、下記リンク先に記載がありました。

c# - No references were found in the windows sdk (Windows 1903) - Stack Overflow

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?