Код: Выделить всё
Severity Code Description Project File Line Suppression State Details
Error System.IO.FileNotFoundException: Could not find file "/Users/prescottchartier/Library/Caches/Xamarin/mtbs/builds/OML_iOS/925fc282e7624c296284fb3051c5d4c69f7dc7a0bdbfa5fe84b98a136988d552/obj/iPhone/Debug/actool/bundle/AppIcon60x60@2x.png"
File name: '/Users/prescottchartier/Library/Caches/Xamarin/mtbs/builds/OML_iOS/925fc282e7624c296284fb3051c5d4c69f7dc7a0bdbfa5fe84b98a136988d552/obj/iPhone/Debug/actool/bundle/AppIcon60x60@2x.png'
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00259] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:274
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:106
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.FileSystem.CopyFile (System.String sourceFullPath, System.String destFullPath, System.Boolean overwrite) [0x00025] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs:54
at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) [0x00056] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/File.cs:74
at Xamarin.MacDev.Tasks.SmartCopyTaskBase.CopyFile (System.String source, System.String target, System.String targetItemSpec) [0x0002d] in /Users/builder/azdo/_work/1/s/xamarin-macios/msbuild/Xamarin.MacDev.Tasks/Tasks/SmartCopyTaskBase.cs:64
at Xamarin.MacDev.Tasks.SmartCopyTaskBase.Execute () [0x000a4] in /Users/builder/azdo/_work/1/s/xamarin-macios/msbuild/Xamarin.MacDev.Tasks/Tasks/SmartCopyTaskBase.cs:97 OML_iOS C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\iOS\Xamarin.Shared.targets 1163
Я сообщил об этой проблеме сообществу разработчиков Microsoft, но считаю, что они прекратили поддержку Xamarin с 24 мая 2024 г., поэтому не буду думаю, они собираются мне помочь. Я надеюсь, что кто-нибудь здесь знает, что происходит, и что можно исправить или обойти. Это будет мое последнее приложение, разработанное на Xamarin, поскольку я перейду на платформу MAUI, мне просто нужно выпустить это приложение.
Подробнее здесь: https://stackoverflow.com/questions/785 ... con60x602x
Мобильная версия