Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

wslapi.h not found #67

Open
nandesu opened this issue Oct 15, 2019 · 1 comment
Open

wslapi.h not found #67

nandesu opened this issue Oct 15, 2019 · 1 comment

Comments

@nandesu
Copy link

nandesu commented Oct 15, 2019

Greetings Team,

Seems I'm missing a library package somewhere, but not finding much online about where to get this header file.

Severity Code Description Project File Line Suppression State Suppression State
Error C1083 Cannot open include file: 'wslapi.h': No such file or directory C:\Users\nandesu\source\repos\WSL-DistroLauncher\DistroLauncher\DistroLauncher.vcxproj C:\Users\nandesu\source\repos\WSL-DistroLauncher\DistroLauncher\stdafx.h 27

Any assistance is greatly appreciated.

@Biswa96
Copy link

Biswa96 commented Oct 16, 2019

Update Windows SDK to latest version.

@jonathanlyonmoore
Copy link

jonathanlyonmoore commented Oct 13, 2020

You should install the 2019 build tools that fixed your error but I'm still geeting one error

C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(
2354,3): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Mi
crosoft\WindowsXaml\v16.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the expression in the Impo
rt declaration "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\WindowsXaml\v16.0\Micr
osoft.Windows.UI.Xaml.Cpp.targets" is correct, and that the file exists on disk

@jonathanlyonmoore
Copy link

Make sure the UWP is installed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants