DEV Community

Jung Gyuho
Jung Gyuho

Posted on • Edited on

1

Visual Studio 2022 에서 Win10 WDK 사용하기

Visual Studio 2019 설치
Visual Studio 2022 설치

Windows SDK 10.0.19041
Windows WDK 10.0.19041

  • Visual Studio 2019 용 WDK Extension 설치

Windows SDK 10.0.22621 ( Windows 11 SDK )
Windows WDK 10.0.22621 ( Windows 11 WDK )

  • Visual Studio 2022 용 WDK Extension 설치

그후 아래 내용을 배치파일로 생성하여 관리자 권한으로 실행

PUSHD %~dp0

CD /D C:\

if not exist "%ProgramFiles(x86)%\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\WDK\10.0.19041.0\" (
    md "%ProgramFiles(x86)%\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\WDK\10.0.19041.0"
    copy "%ProgramFiles(x86)%\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\WDK\*.props" "%ProgramFiles(x86)%\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\WDK\10.0.19041.0\"
)


if not exist "%ProgramFiles(x86)%\Windows Kits\10\build\10.0.19041.0\" (
    md "%ProgramFiles(x86)%\Windows Kits\10\build\10.0.19041.0"
    xcopy /e /y "%ProgramFiles(x86)%\Windows Kits\10\build\10.0.22621.0\*.*" "%ProgramFiles(x86)%\Windows Kits\10\build\10.0.19041.0\"
)

POPD

Enter fullscreen mode Exit fullscreen mode

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay