public static int Main(string[] args)
{
/*xxx
args = new[]
{
@"ProjectName=CC.Portal.Cloud",
@"CurrentVersion=1.2.3.4",
@"WorkingDirectorySource=\\rufrt-vxbuild\d$\CCNET\CC.Portal.Cloud\WorkingDirectory\Source",
@"WorkingDirectoryRelated=\\rufrt-vxbuild\d$\CCNET\CC.Portal.Cloud\WorkingDirectory\Related",
@"ExternalReferencesPath=\\rufrt-vxbuild\ExternalReferences",
@"InternalReferencesPath=\\rufrt-vxbuild\InternalReferences",
@"PinnedReferencesPath=\\rufrt-vxbuild\PinnedReferences",
@"ProjectType=Azure",
@"UsePinned="
};*/
if (args == null || args.Length == 0)
{
DisplayUsage();
return 0;
}
try
{
Arguments.Default = ArgumentProperties.Parse(args);
CancelReadonly(Arguments.WorkingDirectorySource);
CancelReadonly(Arguments.WorkingDirectoryRelated);
UpdateAssemblyInfo();
UpdateProjectProperties();
UpdateBinaryReferences();
UpdateProjectReferences();
UpdateServiceDefinition();
}
catch (Exception e)
{
return ErrorHandler.Runtime(e);
}
return 0;
}