How can I open and edit Info.plist and Entitlements.plist in Visual Studio for Mac 2022?

Kim Strasser 621 Reputation points

I have created a new iOS project in VS for Mac 2022 but I don't know how to open Info.plist and Entitlements.plist correctly. In VS for Mac 2019, it looked like this when I clicked on Entitlements.plist:

But when I click in VS for Mac 2022 on Entitlemenst.plist then Xcode opens and I don't know how to edit the file because it looks completely different:

How can I open and edit Info.plist and Entitlements.plist in Visual Studio for Mac 2022?
I use Visual Studio for Mac 2022 17.3.8 (build 5).

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,206 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,085 questions
0 comments No comments
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 23,306 Reputation points Microsoft Vendor

    Hello @Kim Strasser ,

    You could edit the Entitlements.plist in the GUI page and enable some capabilities before, but Info.plist and Entitlements.plist are currently opened with Xcode by default.

    For Info.plist file, you could open it, click the add button, then select a key you want under the drop-down menu, and enter the value. For more details, you could check the listing of iOS keys from iOS Keys ( and Information Property List | Apple Developer Documentation.
    For Entitlements.plist file, you could add the corresponding keys and values, please refer to the key-value pairs on Entitlements | Apple Developer Documentation. You could also enable some capabilities in any other project via VS2019 and open the Entitlements.plist file with source code, then copy the source code. After that, you can open the Entitlements.plist file of your iOS project with TextEdit in Finder, and past the source code.

    It's a little inconvenient, you could write feedback and create a feature request for VS, refer to Visual Studio for Mac: Report issues & bugs - Visual Studio for Mac | Microsoft Learn.

    Best Regards,
    Wenyan Zhang

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Lex Li (Microsoft) 4,031 Reputation points
    1. The old editor in VS2019 was removed, because VS2022 almost rewrites all visual elements to be macOS native. Things might fall apart in certain places.
    2. An iOS developer should learn how to use Xcode. There are enough guides from Apple,
    3. VS for Mac 17.4 (currently in preview) adds back a Microsoft customized editor as attached, 254555-screenshot-2022-10-27-at-125249-am.png
    0 comments No comments