小编Luc*_*ler的帖子

No references were found in the windows sdk (Windows 1903)

I want to create simple toast notification to action center in windows 10 from a WPF app using this article.

But I got problem on Step 2:

Right click on the project => Add => Reference... => Windows => Core

在此处输入图片说明

What I checked:

  • Windows 10 SDK Installation: 在此处输入图片说明
  • Same issue with a WPF project

And this is my csproj file:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' …
Run Code Online (Sandbox Code Playgroud)

c# console-application visual-studio windows-10-sdk

5
推荐指数
3
解决办法
856
查看次数