I have a problem trying to compile a Windows Store app in C # / XAML. Every time I try to compile, I get this error:
Error 1 The system cannot find the file specified. (Exception from HRESULT: 0x80070002) App1
and
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)
I have a file, so this is not a problem. This problem also occurs when I create a new Windows 8 storage application from a template, so this seems to be a problem for my system. I tried to restart my computer and restore the VS2012 installation (twice) without any results.
Any idea? Can anyone help me solve this problem? I have Visual Studio Professional 2012. Thanks in advance
EDIT: This is the code in "C: \ Program Files (x86) \ MSBuild \ Microsoft \ 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" /> <Output ItemName="FileWrites" TaskParameter="GeneratedCodeFiles" /> <Output ItemName="FileWrites" TaskParameter="GeneratedXamlFiles" /> <Output ItemName="_GeneratedCodeFiles" TaskParameter="GeneratedCodeFiles" /> </CompileXaml>
visual-studio-2012 windows-store-apps winrt-xaml
cjgaliana
source share