I try to create iPhone configuration file via c# script as proposed in “Enterprise deployment Guide” of Apple and faced the following problem :
iPCU.exe TestScript.cs
// This command should create the profile but he not . He just run iPhone configuration //utility. TestScrip.cs consist example from Apple’s pdf.
Maybe somebody know the way that really work ?
Apple’s provided sample script fails to compile; the ipcu.log, whose location is specified in nlog.config, has:
Error: The name ‘Console’ does not exist in the current context
Comment out the “Console.WriteLine” or add “using System;” to your script & you will get something like:
Despite the warnings, it will compile the script and load it into iPCU windows application.