Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants