ここからサンプルを実行しようとしています:Visual Studio 2015 Professionalのhttps://github.com/Microsoft/Windows-universal-samples/tree/dev/Samples。私はプロジェクトCameraFrames.csprojをロードしようとすると、 はしかし、私は次のエラーを取得しています:"インポートされたプロジェクトが見つかりませんでした<import>宣言のパスが正しいことを確認してください"
"The imported project "C:\Program Files (x86)\Windows Kits\10\bin\10.014332.0\XamlCompiler\Microsoft.Windows>UI.Xaml.Common.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.21\Microsoft.Windows.UI.Xaml.Common.targets"
第二のファイルは、私のシステム上に存在していますが、最初はしていません。 私はCameraFrames.csprojファイルの編集を試み、自分のシステム上に存在するファイルを追加しました。しかしこれはうまくいかなかった。 (下記参照) 最初の変更: <Content Include="C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.21\Microsoft.Windows.UI.Xaml.Common.Targets"> </Content> 2nd change: (after deleting the first change) <Reference Include= "Microsoft.Windows.UI.Xaml.Common"> <HintPath> C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.21\Microsoft.Windows.UI.Xaml.Common.Targets </HintPath> </Reference>
アイデアはありますか?私は長い間この問題に立ち往生してきました。 ありがとう!
私はWindows 8を使用しています – s123
これは最先端のものですが、SDKとWin10バージョンはまだベータ版です。また、Win8でうまくいくかどうか疑問に思う。パスがどのように壊れているのか分かりにくいですが、これはSDKディレクトリの代わりにMSBuildから来る必要があります。これはどこにでも行くことができるので、古いバージョンをチェックアウトする必要があります。 –
お返事ありがとうございました。私は今Windows 10にアップグレードし、試してみましょう。 – s123