Skip to content

Commit 3eb1a2a

Browse files
committed
add files from codeplex dump
1 parent f30e025 commit 3eb1a2a

35 files changed

+12751
-0
lines changed

BuildProcessTemplates/DefaultTemplate.11.1.xaml

Lines changed: 543 additions & 0 deletions
Large diffs are not rendered by default.

BuildProcessTemplates/LabDefaultTemplate.11.xaml

Lines changed: 208 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<Activity mc:Ignorable="sad" x:Class="TfsBuild.Process" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mtbc="clr-namespace:Microsoft.TeamFoundation.Build.Client;assembly=Microsoft.TeamFoundation.Build.Client" xmlns:mtbw="clr-namespace:Microsoft.TeamFoundation.Build.Workflow;assembly=Microsoft.TeamFoundation.Build.Workflow" xmlns:mtbwa="clr-namespace:Microsoft.TeamFoundation.Build.Workflow.Activities;assembly=Microsoft.TeamFoundation.Build.Workflow" xmlns:mtbwt="clr-namespace:Microsoft.TeamFoundation.Build.Workflow.Tracking;assembly=Microsoft.TeamFoundation.Build.Workflow" xmlns:mtvc="clr-namespace:Microsoft.TeamFoundation.VersionControl.Client;assembly=Microsoft.TeamFoundation.VersionControl.Client" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:sad="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sad1="clr-namespace:System.Activities.Debugger;assembly=System.Activities" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:this="clr-namespace:TfsBuild;" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
2+
<x:Members>
3+
<x:Property Name="ConfigurationFolderPath" Type="InArgument(x:String)" />
4+
<x:Property Name="AgentSettings" Type="InArgument(mtbwa:AgentSettings)" />
5+
<x:Property Name="MSBuildArguments" Type="InArgument(x:String)" />
6+
<x:Property Name="MSBuildPlatform" Type="InArgument(mtbwa:ToolPlatform)" />
7+
<x:Property Name="DoNotDownloadBuildType" Type="InArgument(x:Boolean)" />
8+
<x:Property Name="LogFilePerProject" Type="InArgument(x:Boolean)" />
9+
<x:Property Name="SourcesSubdirectory" Type="InArgument(x:String)" />
10+
<x:Property Name="BinariesSubdirectory" Type="InArgument(x:String)" />
11+
<x:Property Name="TestResultsSubdirectory" Type="InArgument(x:String)" />
12+
<x:Property Name="RecursionType" Type="InArgument(mtvc:RecursionType)" />
13+
<x:Property Name="Verbosity" Type="InArgument(mtbw:BuildVerbosity)" />
14+
<x:Property Name="Metadata" Type="mtbw:ProcessParameterMetadataCollection" />
15+
<x:Property Name="SupportedReasons" Type="mtbc:BuildReason" />
16+
</x:Members>
17+
<this:Process.ConfigurationFolderPath>
18+
<InArgument x:TypeArguments="x:String" />
19+
</this:Process.ConfigurationFolderPath>
20+
<this:Process.AgentSettings>[New Microsoft.TeamFoundation.Build.Workflow.Activities.AgentSettings() With {.MaxWaitTime = New System.TimeSpan(4, 0, 0), .MaxExecutionTime = New System.TimeSpan(0, 0, 0), .TagComparison = Microsoft.TeamFoundation.Build.Workflow.Activities.TagComparison.MatchExactly }]</this:Process.AgentSettings>
21+
<this:Process.MSBuildArguments>
22+
<InArgument x:TypeArguments="x:String" />
23+
</this:Process.MSBuildArguments>
24+
<this:Process.MSBuildPlatform>[Microsoft.TeamFoundation.Build.Workflow.Activities.ToolPlatform.Auto]</this:Process.MSBuildPlatform>
25+
<this:Process.DoNotDownloadBuildType>[False]</this:Process.DoNotDownloadBuildType>
26+
<this:Process.LogFilePerProject>[False]</this:Process.LogFilePerProject>
27+
<this:Process.SourcesSubdirectory>
28+
<InArgument x:TypeArguments="x:String" />
29+
</this:Process.SourcesSubdirectory>
30+
<this:Process.BinariesSubdirectory>
31+
<InArgument x:TypeArguments="x:String" />
32+
</this:Process.BinariesSubdirectory>
33+
<this:Process.TestResultsSubdirectory>
34+
<InArgument x:TypeArguments="x:String" />
35+
</this:Process.TestResultsSubdirectory>
36+
<this:Process.RecursionType>[Microsoft.TeamFoundation.VersionControl.Client.RecursionType.OneLevel]</this:Process.RecursionType>
37+
<this:Process.Verbosity>[Microsoft.TeamFoundation.Build.Workflow.BuildVerbosity.Normal]</this:Process.Verbosity>
38+
<this:Process.Metadata>
39+
<mtbw:ProcessParameterMetadataCollection />
40+
</this:Process.Metadata>
41+
<this:Process.SupportedReasons>All</this:Process.SupportedReasons>
42+
<mva:VisualBasic.Settings>Assembly references and imported namespaces serialized as XML namespaces</mva:VisualBasic.Settings>
43+
<Sequence mtbwt:BuildTrackingParticipant.Importance="None">
44+
<Sequence.Variables>
45+
<Variable x:TypeArguments="mtbc:IBuildDetail" Name="BuildDetail" />
46+
</Sequence.Variables>
47+
<mtbwa:GetBuildDetail DisplayName="Get the Build" Result="[BuildDetail]" />
48+
<mtbwa:InvokeForReason DisplayName="Update Build Number for Triggered Builds" Reason="Triggered">
49+
<mtbwa:UpdateBuildNumber BuildNumberFormat="[&quot;$(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.r)&quot;]" DisplayName="Update Build Number" />
50+
</mtbwa:InvokeForReason>
51+
<mtbwa:AgentScope DisplayName="Run On Agent" MaxExecutionTime="[AgentSettings.MaxExecutionTime]" MaxWaitTime="[AgentSettings.MaxWaitTime]" ReservationSpec="[AgentSettings.GetAgentReservationSpec()]">
52+
<mtbwa:AgentScope.Variables>
53+
<Variable x:TypeArguments="x:String" Name="buildDirectory" />
54+
</mtbwa:AgentScope.Variables>
55+
<mtbwa:GetBuildDirectory DisplayName="Get the Build Directory" Result="[buildDirectory]" />
56+
<If Condition="[Not String.IsNullOrEmpty(ConfigurationFolderPath)]" DisplayName="If Not String.IsNullOrEmpty(ConfigurationFolderPath)">
57+
<If.Then>
58+
<mtbwa:TfsBuild BinariesSubdirectory="[BinariesSubdirectory]" BuildDirectory="[buildDirectory]" CommandLineArguments="[MSBuildArguments]" ConfigurationFolderPath="[ConfigurationFolderPath]" DisplayName="Run TfsBuild for Configuration Folder" DoNotDownloadBuildType="[DoNotDownloadBuildType]" LogFilePerProject="[LogFilePerProject]" RecursionType="[RecursionType]" SourcesSubdirectory="[SourcesSubdirectory]" TargetsNotLogged="[New String() {&quot;GetNativeManifest&quot;, &quot;GetCopyToOutputDirectoryItems&quot;, &quot;GetTargetPath&quot;}]" TestResultsSubdirectory="[TestResultsSubdirectory]" ToolPlatform="[MSBuildPlatform]" Verbosity="[Verbosity]" />
59+
</If.Then>
60+
</If>
61+
<If Condition="[BuildDetail.CompilationStatus = Microsoft.TeamFoundation.Build.Client.BuildPhaseStatus.Unknown]" DisplayName="If CompilationStatus = Unknown">
62+
<If.Then>
63+
<mtbwa:SetBuildProperties CompilationStatus="[Microsoft.TeamFoundation.Build.Client.BuildPhaseStatus.Succeeded]" DisplayName="Set CompilationStatus to Succeeded" PropertiesToSet="CompilationStatus" />
64+
</If.Then>
65+
</If>
66+
<If Condition="[BuildDetail.TestStatus = Microsoft.TeamFoundation.Build.Client.BuildPhaseStatus.Unknown]" DisplayName="If TestStatus = Unknown">
67+
<If.Then>
68+
<mtbwa:SetBuildProperties DisplayName="Set TestStatus to Succeeded" PropertiesToSet="TestStatus" TestStatus="[Microsoft.TeamFoundation.Build.Client.BuildPhaseStatus.Succeeded]" />
69+
</If.Then>
70+
</If>
71+
</mtbwa:AgentScope>
72+
<mtbwa:InvokeForReason Reason="CheckInShelveset">
73+
<mtbwa:CheckInGatedChanges DisplayName="Check In Gated Changes" />
74+
</mtbwa:InvokeForReason>
75+
</Sequence>
76+
</Activity>

CleanModQueue.sln

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CleanModQueue", "CleanModQueue\CleanModQueue.csproj", "{4FCF94B3-E83C-47CE-9700-42A56862A564}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|x86 = Debug|x86
9+
Release|x86 = Release|x86
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{4FCF94B3-E83C-47CE-9700-42A56862A564}.Debug|x86.ActiveCfg = Debug|x86
13+
{4FCF94B3-E83C-47CE-9700-42A56862A564}.Debug|x86.Build.0 = Debug|x86
14+
{4FCF94B3-E83C-47CE-9700-42A56862A564}.Release|x86.ActiveCfg = Release|x86
15+
{4FCF94B3-E83C-47CE-9700-42A56862A564}.Release|x86.Build.0 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
EndGlobal

CleanModQueue/AboutBoxForm.Designer.cs

Lines changed: 142 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CleanModQueue/AboutBoxForm.cs

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// AboutBoxForm.cs
2+
// ------------------------------------------------------------------
3+
//
4+
// Part of CleanModQueue .
5+
// A form to display an about box.
6+
//
7+
// last saved: <2012-May-05 11:38:56>
8+
// ------------------------------------------------------------------
9+
//
10+
// Copyright (c) 2012 Dino Chiesa
11+
// All rights reserved.
12+
//
13+
// This code is Licensed under the New BSD license.
14+
// See the License.txt file that accompanies this module.
15+
//
16+
// ------------------------------------------------------------------
17+
18+
using System.Windows.Forms;
19+
20+
namespace Dino.Tools.Reddit.CleanModQueue
21+
{
22+
public partial class AboutBoxForm : Form
23+
{
24+
public AboutBoxForm()
25+
{
26+
InitializeComponent();
27+
28+
this.lblVersion.Text = "v" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
29+
}
30+
31+
private void button1_Click(object sender, System.EventArgs e)
32+
{
33+
this.Close();
34+
}
35+
36+
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
37+
{
38+
var link = sender as LinkLabel;
39+
if (link != null)
40+
System.Diagnostics.Process.Start(link.Text);
41+
}
42+
}
43+
}

0 commit comments

Comments
 (0)