C#/ XAMLでWindowsストアアプリケーションをコンパイルしようとすると問題が発生します。私がコンパイルしようとするたびに私は、このエラーが表示されます。Microsoft.Windows.UI.Xaml.Common.Targetsが見つかりません
Error 1 The system cannot find the file specified. (Exception from HRESULT: 0x80070002) App1
と
C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v11.0\Microsoft.Windows.UI.Xaml.Common.targets(190,9): Xaml Internal Error error WMC9999: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
私はファイルを持っているので、それは問題ではありません。 この問題は、テンプレートから新しいWindows 8ストアアプリを作成したときにも表示されるため、システムに問題があるようです。私はコンピュータを再起動し、結果なしでVS2012のインストールを2回修復しようとしました。
誰でも私がこの問題を解決するのを助けることができましたか?私は事前にメーカープロフェッショナルのVisual 2012 感謝を持って
EDIT: これはC」のコードがある:\プログラムファイル(x86の)\ MSBuildの\マイクロソフト\ WindowsXaml \ v11.0 \ Microsoft.Windows.UI.Xaml .Common.targets(190,9)」
<CompileXaml
LanguageSourceExtension="$(DefaultLanguageSourceExtension)"
Language="$(Language)"
RootNamespace="$(RootNamespace)"
XamlPages="@(Page)"
XamlApplications="@(ApplicationDefinition)"
PriIndexName="$(PriIndexName)"
ProjectName="$(MsBuildProjectName)"
IsPass1="True"
CodeGenerationControlFlags="$(XamlCodeGenerationControlFlags)"
ProjectPath="$(MSBuildProjectFullPath)"
OutputPath="$(XamlGeneratedOutputPath)"
OutputType="$(OutputType)"
TargetPlatformWinMDLocation="$(TargetPlatformWinMDLocation)"
ReferenceAssemblyPaths="@(ReferenceAssemblyPaths)"
ReferenceAssemblies ="@(ReferencePath)"
ShareAppDomains="$(XamlShareAppDomains)"
ForceSharedAppDomainShutdown="False"
CompileMode="RealBuildPass1"
XAMLFingerprint="$(XAMLFingerprint)"
FingerprintIgnorePaths="$(XAMLFingerprintIgnorePaths)"
VCInstallDir="$(VCInstallDir_110)"
>
<Output Condition=" '$(ManagedAssembly)'!='false' " ItemName="Compile" TaskParameter="GeneratedCodeFiles" />
<!-- Add to the list list of files written. It is used in Microsoft.Common.Targets to clean up
for a next clean build
-->
<Output ItemName="FileWrites" TaskParameter="GeneratedCodeFiles" />
<Output ItemName="FileWrites" TaskParameter="GeneratedXamlFiles" />
<Output ItemName="_GeneratedCodeFiles" TaskParameter="GeneratedCodeFiles" />
</CompileXaml>
Process Monitorをオンにしてビルドを実行すると、探しているファイルが見つからないかどうかを確認できます。 –
プロセスエクスプローラからのヒントがありません:( – cjgaliana
エラーは具体的ではありません。CompileXamlタスクは、多くのファイルを含む重要な作業を行いません.SysInternalsのProcMonが役に立たない場合は、 –