--- lang: ja-jp breaks: true --- # WPF github dotnet/wpf のビルド 2021-05-24 > dotnet/wpf > https://github.com/dotnet/wpf > Developer Guide > https://github.com/dotnet/wpf/blob/main/Documentation/developer-guide.md ## 単純にビルドするだけなら、`build.cmd`を実行するだけでOK :::info `.git`フォルダがないとビルドエラーとなる。 ::: ## Visual Studio を使ったビルド Microsoft.Dotnet.Wpf.sln を Visual Studio 2019 Preview で開き、ビルドすると、環境変数に `CommonLibrary_NativeInstallDir` 登録されていない為にパスが不正とのエラーを吐く。 とりあえず、以下の行を追加すると行うとうまくいく。 ### eng\WpfArcadeSdk\tools\ReferenceAssembly.targets ```= <CommonLibrary_NativeInstallDir Condition="'$(CommonLibrary_NativeInstallDir)' == ''">$(SolutionDir).tools\native</CommonLibrary_NativeInstallDir> ``` ###### tags: `WPF` `dotnet` `Visual Studio 2019 Preview`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up