mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Added signing for ZuneShell proj
This commit is contained in:
@@ -70,16 +70,37 @@ namespace Microsoft.Zune.Shell
|
||||
{
|
||||
break;
|
||||
}
|
||||
case "debug":
|
||||
case "uixdebugpipe":
|
||||
Application.DebugSettings.OpenDebugPipe = true;
|
||||
break;
|
||||
case "uixdecomp":
|
||||
Application.DebugSettings.UseDecompiler = true;
|
||||
break;
|
||||
case "uixtrace":
|
||||
try
|
||||
{
|
||||
Application.IsDebug = bool.Parse(commandLineArgument.Value);
|
||||
int idx = commandLineArgument.Value.IndexOf(':');
|
||||
byte level;
|
||||
Iris.Debug.TraceCategory cat;
|
||||
if (idx != -1)
|
||||
{
|
||||
level = byte.Parse(commandLineArgument.Value.Substring(idx + 1));
|
||||
cat = (Iris.Debug.TraceCategory)Enum.Parse(typeof(Iris.Debug.TraceCategory), commandLineArgument.Value.Substring(0, idx));
|
||||
}
|
||||
else
|
||||
{
|
||||
level = 1;
|
||||
cat = (Iris.Debug.TraceCategory)Enum.Parse(typeof(Iris.Debug.TraceCategory), commandLineArgument.Value);
|
||||
}
|
||||
Application.DebugSettings.TraceSettings.SetCategoryLevel(cat, level);
|
||||
break;
|
||||
}
|
||||
catch (FormatException ex)
|
||||
{
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
hashtable[commandLineArgument.Name] = commandLineArgument.Value;
|
||||
break;
|
||||
|
||||
@@ -31,4 +31,8 @@
|
||||
<HintPath>C:\Program Files\Zune\UIXControls.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||
<Exec Command="..\UIXSign\bin\$(Platform)\Debug\net48\UIXSign.exe "$(OutputPath)ZuneShell.dll"" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user