If you don’t need the messages you can also use the CAB file we provide and prevent the installation done by Visual Sutio:
- Download and Install .NET Compact Framework directly to the FlashDisk of the device from here.
- Run the cab installer by double clicking the file.
- Save the registry and reboot the device.
- In Visual Studio navigate to Solution Explorer in visual studio > Right Click on Solution > Properties > Devices.
- Uncheck “Deploy the Latest version of the .NET Compact Framework (including Service Packs)”.