Added signing for ZuneShell proj

This commit is contained in:
Yoshi Askharoun
2021-11-10 13:19:01 -06:00
parent c1e5c44232
commit a2a93e9304
4 changed files with 44 additions and 22 deletions
+23 -2
View File
@@ -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;
+4
View File
@@ -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 &quot;$(OutputPath)ZuneShell.dll&quot;" />
</Target>
</Project>