question

KovalskyNick-4628 avatar image
0 Votes"
KovalskyNick-4628 asked RobCaplan edited

Cannot compile .metal files with latest VS 16.10.0 and Xamarin.iOS 14.20.0.1

Well this question is have anyone managed to compile .metal files from Windows with VS 16.10.0 and Xamarin.iOS 14.20.0.1? I had no problems before, now i get a:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -arch air64 -emit-llvm -c -gline-tables-only -ffast-math -serialize-diagnostics obj/iPhone/Debug/metal/../../../../../../../Resources/Metal/kernelGrayscale.dia -o obj/iPhone/Debug/metal/../../../../../../../Resources/Metal/kernelGrayscale.air -mios-version-min=10.0 Resources/Metal/kernelGrayscale.metal

4>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.Shared.targets(683,3): error MSB6006: "metal" exited with code 1.

Just using a workaround now compiling all metal files from command line from mac and then adding a default.metallib to resources in windows.. But it's messy.

dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This issue is related to the Visual Studio's update, you can report this issue in VS

100940-image.png

Or you can roll back to previous Visual Studio version.

https://docs.microsoft.com/en-us/visualstudio/releases/2019/history#release-dates-and-build-numbers

0 Votes 0 ·
image.png (30.2 KiB)

0 Answers