Search code examples
androidxamarin.formsmdm

Build option - RemappingConfigFile not available


I am trying to integrate MDM in my android app made on Xamarin Forms using the documentation at https://learn.microsoft.com/en-us/intune/app-sdk-xamarin . In the last step we have set the Build option to RemappingConfigFile of the added json file. But I am not getting the build option RemappingConfigFile.

Can someone please help?


Solution

  • You can right click on your project and select "Unload project". Then right click on the project and select "Edit .scproj".

    Find the ItemGroup part and then add this ItemGroup:

    <ItemGroup>
      <RemappingConfigFile Include="remapping-config.json" />
    </ItemGroup>
    

    Save the file and then right click the project and reload your project.