locked
XAML SurfaceImageSource DirectX interop sample (Windows 8.1) - Errors on Build!! RRS feed

  • Question

  • Can someone else test this project on their machine?  I am unsuccessful to run it due to the following errors. 

    XAML SurfaceImageSource DirectX interop sample (Windows 8.1)

    Error 1 error MSB4186: Invalid static method invocation syntax: "[MSBuild]::MakeRelative($(TargetDir), Z:\Windows Share\XAML SurfaceImageSource DirectX interop sample %28Windows 8.1%29\C#,C++\ARM\Debug\Scenario2Component\SimplePixelShader.cso)". Method '[MSBuild]::MakeRelative' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)).  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v120\Microsoft.CppBuild.targets 513 9 Scenario2Component (Windows 8.1)
    Error 2 Metadata file 'Z:\Windows Share\XAML SurfaceImageSource DirectX interop sample (Windows 8.1)\C#,C++\ARM\Debug\Scenario2Component\Scenario2Component.winmd' could not be found Z:\Windows Share\XAML SurfaceImageSource DirectX interop sample (Windows 8.1)\C#,C++\SurfaceImageSource\CSC SurfaceImageSource (Windows 8.1)
    Error 3 The name "LayoutAwarePage" does not exist in the namespace "using:SDKTemplate.Common". Z:\Windows Share\XAML SurfaceImageSource DirectX interop sample (Windows 8.1)\C#,C++\SurfaceImageSource\Scenario1.xaml 12 1 SurfaceImageSource (Windows 8.1)

    Tuesday, July 2, 2013 3:43 AM

Answers

  • Read the Q&A in the Sample Page.  The folder has a name with a comma in it.  Rename it and it should work.  I am surprised that this was not fixed in the latest version.
    Tuesday, July 2, 2013 4:14 AM