System.IO.Abstractions: Building fails on Xamarin.iOS

Describe the bug Version 12.1.1 Fails linking on Xamarin.iOS during builds. Not sure when this started, but just updated from 7.1.1, which has worked fine.

 MTOUCH : error MT2101: Can't resolve the reference 'System.Void System.IO.FileSystemAclExtensions::Create(System.IO.DirectoryInfo,System.Security.AccessControl.DirectorySecurity)', referenced from the method 'System.Void System.IO.Abstractions.DirectoryInfoWrapper::Create(System.Security.AccessControl.DirectorySecurity)' in 'System.IO.FileSystem.AccessControl, Version=4.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. [/Users/runner/work/1/s/TrackMan.DrivingRangeApp.iOS/TrackMan.DrivingRangeApp.iOS.csproj]

Also, explicitly tried to add a package reference to System.IO.FileSystem.AccessControl, which doesnโ€™t change anything.

To Reproduce Add System.IO.Abstractions as package ref in a Xamarin.iOS project, build it in release mode.

Expected behavior Build should pass

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (7 by maintainers)

Most upvoted comments

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.96. Please mark this comment with ๐Ÿ‘ or ๐Ÿ‘Ž to give our bot feedback!

Links: app homepage, dashboard and code for this bot.