├── sourceCode.zip
├── CosmopolitanWpf
├── Resources
│ └── page01.jpg
├── app.config
├── Properties
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── App.xaml.cs
├── SampleData
│ └── SampleDataSource
│ │ ├── ItemCollection.cs
│ │ ├── SampleDataSource.cs
│ │ ├── SampleDataSource.xaml
│ │ └── Item.cs
├── Views
│ ├── Core.xaml.cs
│ ├── Home.xaml.cs
│ ├── Sdk.xaml.cs
│ ├── Home.xaml
│ ├── Sdk.xaml
│ └── Core.xaml
├── App.xaml
├── Assets
│ ├── Fonts.xaml
│ ├── Brushes.xaml
│ └── Styles.xaml
├── MainWindow.xaml
├── MainWindow.xaml.cs
└── CosmopolitanWpf.csproj
├── CosmopolitanWpf.sln
├── .gitattributes
├── BuildProcessTemplates
├── UpgradeTemplate.xaml
├── LabDefaultTemplate.11.xaml
└── DefaultTemplate.11.1.xaml
└── .gitignore
/sourceCode.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/sourceCode/HEAD/sourceCode.zip
--------------------------------------------------------------------------------
/CosmopolitanWpf/Resources/page01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/sourceCode/HEAD/CosmopolitanWpf/Resources/page01.jpg
--------------------------------------------------------------------------------
/CosmopolitanWpf/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace CosmopolitanWpf
4 | {
5 | ///
6 | /// Interaction logic for App.xaml
7 | ///
8 | public partial class App : Application
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/SampleData/SampleDataSource/ItemCollection.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.ObjectModel;
2 |
3 | namespace CosmopolitanWpf.SampleData.SampleDataSource
4 | {
5 | ///
6 | /// This represent an OnservableCollection of Item.
7 | ///
8 | public class ItemCollection : ObservableCollection-
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Views/Core.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Controls;
2 |
3 | namespace CosmopolitanWpf.Views
4 | {
5 | ///
6 | /// Interaction logic for Core.xaml
7 | ///
8 | public partial class Core : UserControl
9 | {
10 | ///
11 | /// Initializes a new instance of the Core class.
12 | ///
13 | public Core()
14 | {
15 | InitializeComponent();
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Views/Home.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Controls;
2 |
3 | namespace CosmopolitanWpf.Views
4 | {
5 | ///
6 | /// Interaction logic for Home.xaml
7 | ///
8 | public partial class Home : UserControl
9 | {
10 | ///
11 | /// Initializes a new instance of the Home class.
12 | ///
13 | public Home()
14 | {
15 | InitializeComponent();
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Views/Sdk.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Controls;
2 |
3 | namespace CosmopolitanWpf.Views
4 | {
5 | ///
6 | /// Interaction logic for Sdk.xaml
7 | ///
8 | public partial class Sdk : UserControl
9 | {
10 | ///
11 | /// Initializes a new instance of the Sdk class.
12 | ///
13 | public Sdk()
14 | {
15 | InitializeComponent();
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/CosmopolitanWpf/App.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.450
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace CosmopolitanWpf.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Assets/Fonts.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 | Segoe UI Light, Lucida Sans Unicode, Verdana
11 | Segoe UI, Lucida Sans Unicode, Verdana
12 |
13 | 50
14 | 21.333
15 | 28
16 |
17 | 14
18 | 14
19 | 12
20 | 16
21 | 18
22 | 10
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/CosmopolitanWpf.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CosmopolitanWpf", "CosmopolitanWpf\CosmopolitanWpf.csproj", "{DFCFFECC-8704-4768-8F5C-7E484555258B}"
5 | EndProject
6 | Global
7 | GlobalSection(TeamFoundationVersionControl) = preSolution
8 | SccNumberOfProjects = 2
9 | SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
10 | SccTeamFoundationServer = https://tfs.codeplex.com/tfs/tfs14
11 | SccLocalPath0 = .
12 | SccProjectUniqueName1 = CosmopolitanWpf\\CosmopolitanWpf.csproj
13 | SccProjectName1 = CosmopolitanWpf
14 | SccLocalPath1 = CosmopolitanWpf
15 | EndGlobalSection
16 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
17 | Debug|x86 = Debug|x86
18 | Release|x86 = Release|x86
19 | EndGlobalSection
20 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
21 | {DFCFFECC-8704-4768-8F5C-7E484555258B}.Debug|x86.ActiveCfg = Debug|x86
22 | {DFCFFECC-8704-4768-8F5C-7E484555258B}.Debug|x86.Build.0 = Debug|x86
23 | {DFCFFECC-8704-4768-8F5C-7E484555258B}.Release|x86.ActiveCfg = Release|x86
24 | {DFCFFECC-8704-4768-8F5C-7E484555258B}.Release|x86.Build.0 = Release|x86
25 | EndGlobalSection
26 | GlobalSection(SolutionProperties) = preSolution
27 | HideSolutionNode = FALSE
28 | EndGlobalSection
29 | EndGlobal
30 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/SampleData/SampleDataSource/SampleDataSource.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel;
3 | using System.Windows;
4 |
5 | namespace CosmopolitanWpf.SampleData.SampleDataSource
6 | {
7 | ///
8 | /// This class allow to download fake data from SampleDataSource.xaml.
9 | ///
10 | public class SampleDataSource : INotifyPropertyChanged
11 | {
12 | ///
13 | /// The Item Collection.
14 | ///
15 | private ItemCollection collection = new ItemCollection();
16 |
17 | ///
18 | /// Event PropertyChanged.
19 | ///
20 | public event PropertyChangedEventHandler PropertyChanged;
21 |
22 | ///
23 | /// Gets the item collection.
24 | ///
25 | public ItemCollection Collection
26 | {
27 | get
28 | {
29 | return this.collection;
30 | }
31 | }
32 |
33 | ///
34 | /// On Property changed.
35 | ///
36 | /// The Property Name.
37 | protected virtual void OnPropertyChanged(string propertyName)
38 | {
39 | if (this.PropertyChanged != null)
40 | {
41 | this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
42 | }
43 | }
44 |
45 | ///
46 | /// Initializes a new instance of the SampleDataSource class.
47 | ///
48 | public SampleDataSource()
49 | {
50 | try
51 | {
52 | Uri uri = new Uri("/CosmopolitanWpf;component/SampleData/SampleDataSource/SampleDataSource.xaml", UriKind.Relative);
53 | if (Application.GetResourceStream(uri) != null)
54 | {
55 | Application.LoadComponent(this, uri);
56 | }
57 | }
58 | catch (Exception)
59 | {
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // General Information about an assembly is controlled through the following
8 | // set of attributes. Change these attribute values to modify the information
9 | // associated with an assembly.
10 | [assembly: AssemblyTitle("CosmopolitanWpf")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("Sébastien Alves")]
14 | [assembly: AssemblyProduct("CosmopolitanWpf")]
15 | [assembly: AssemblyCopyright("Copyright © sebastien-alves.fr 2011")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // Setting ComVisible to false makes the types in this assembly not visible
20 | // to COM components. If you need to access a type in this assembly from
21 | // COM, set the ComVisible attribute to true on that type.
22 | [assembly: ComVisible(false)]
23 |
24 | //In order to begin building localizable applications, set
25 | //CultureYouAreCodingWith in your .csproj file
26 | //inside a . For example, if you are using US english
27 | //in your source files, set the to en-US. Then uncomment
28 | //the NeutralResourceLanguage attribute below. Update the "en-US" in
29 | //the line below to match the UICulture setting in the project file.
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
36 | //(used if a resource is not found in the page,
37 | // or application resource dictionaries)
38 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
39 | //(used if a resource is not found in the page,
40 | // app, or any theme specific resource dictionaries)
41 | )]
42 |
43 |
44 | // Version information for an assembly consists of the following four values:
45 | //
46 | // Major Version
47 | // Minor Version
48 | // Build Number
49 | // Revision
50 | //
51 | // You can specify all the values or you can default the Build and Revision Numbers
52 | // by using the '*' as shown below:
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
7 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
21 |
23 |
24 |
27 |
28 |
29 |
30 |
32 |
34 |
38 |
42 |
46 |
47 |
48 |
49 |
52 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows;
3 | using CosmopolitanWpf.Views;
4 |
5 | namespace CosmopolitanWpf
6 | {
7 | ///
8 | /// Interaction logic for MainWindow.xaml
9 | ///
10 | public partial class MainWindow : Window
11 | {
12 | ///
13 | /// The homePage.
14 | ///
15 | private Lazy homePage = new Lazy(() => new Home());
16 |
17 | ///
18 | /// The corePage.
19 | ///
20 | private Lazy corePage = new Lazy(() => new Core());
21 |
22 | ///
23 | /// The sdkPage.
24 | ///
25 | private Lazy sdkPage = new Lazy(() => new Sdk());
26 |
27 | ///
28 | /// Initializes a new instance of the MainWindow class.
29 | ///
30 | public MainWindow()
31 | {
32 | InitializeComponent();
33 | ContentFrame.Content = homePage.Value;
34 | ButtonHome.IsChecked = true;
35 | }
36 |
37 | ///
38 | /// On ButtonHome Click, set homePage to ContentFrame.
39 | ///
40 | /// The Sender.
41 | /// The RoutedEventArgs.
42 | private void ButtonHome_Click(object sender, RoutedEventArgs e)
43 | {
44 | if (ContentFrame.Content != homePage.Value)
45 | ContentFrame.Content = homePage.Value;
46 |
47 | ButtonCore.IsChecked = false;
48 | ButtonSDK.IsChecked = false;
49 |
50 | }
51 |
52 | ///
53 | /// On ButtonCore Click, set corePage to ContentFrame.
54 | ///
55 | /// The Sender.
56 | /// The RoutedEventArgs.
57 | private void ButtonCore_Click(object sender, RoutedEventArgs e)
58 | {
59 | if (ContentFrame.Content != corePage.Value)
60 | ContentFrame.Content = corePage.Value;
61 |
62 | ButtonHome.IsChecked = false;
63 | ButtonSDK.IsChecked = false;
64 | }
65 |
66 | ///
67 | /// On ButtonSDK Click, set sdkPage to ContentFrame.
68 | ///
69 | /// The Sender.
70 | /// The RoutedEventArgs.
71 | private void ButtonSDK_Click(object sender, RoutedEventArgs e)
72 | {
73 | if (ContentFrame.Content != sdkPage.Value)
74 | ContentFrame.Content = sdkPage.Value;
75 |
76 | ButtonHome.IsChecked = false;
77 | ButtonCore.IsChecked = false;
78 | }
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Views/Home.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
22 |
23 |
24 |
25 |
27 |
28 |
30 |
31 |
32 |
33 |
34 |
35 |
38 |
39 |
42 |
43 |
44 | Click navigation links above to see the look and feel for this theme.
45 |
46 |
47 |
48 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.450
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace CosmopolitanWpf.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CosmopolitanWpf.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/SampleData/SampleDataSource/SampleDataSource.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/SampleData/SampleDataSource/Item.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel;
2 |
3 | namespace CosmopolitanWpf.SampleData.SampleDataSource
4 | {
5 | ///
6 | /// This class is use to simulate fake data.
7 | ///
8 | public class Item : INotifyPropertyChanged
9 | {
10 | ///
11 | /// The property1.
12 | ///
13 | private string property1 = string.Empty;
14 |
15 | ///
16 | /// the property2.
17 | ///
18 | private bool property2 = false;
19 |
20 | ///
21 | /// the property3.
22 | ///
23 | private string property3 = string.Empty;
24 |
25 | ///
26 | /// the property4.
27 | ///
28 | private string property4 = string.Empty;
29 |
30 | ///
31 | /// the property5.
32 | ///
33 | private string property5 = string.Empty;
34 |
35 | ///
36 | /// the property6.
37 | ///
38 | private string property6 = string.Empty;
39 |
40 | ///
41 | /// The Event PropertyChanged.
42 | ///
43 | public event PropertyChangedEventHandler PropertyChanged;
44 |
45 | ///
46 | /// Gets or sets Property1.
47 | ///
48 | public string Property1
49 | {
50 | get
51 | {
52 | return this.property1;
53 | }
54 | set
55 | {
56 | if (this.property1 != value)
57 | {
58 | this.property1 = value;
59 | this.OnPropertyChanged("Property1");
60 | }
61 | }
62 | }
63 |
64 | ///
65 | /// Gets or sets Property2.
66 | ///
67 | public bool Property2
68 | {
69 | get
70 | {
71 | return this.property2;
72 | }
73 | set
74 | {
75 | if (this.property2 != value)
76 | {
77 | this.property2 = value;
78 | this.OnPropertyChanged("Property2");
79 | }
80 | }
81 | }
82 |
83 | ///
84 | /// Gets or sets Property3.
85 | ///
86 | public string Property3
87 | {
88 | get
89 | {
90 | return this.property3;
91 | }
92 | set
93 | {
94 | if (this.property3 != value)
95 | {
96 | this.property3 = value;
97 | this.OnPropertyChanged("Property3");
98 | }
99 | }
100 | }
101 |
102 | ///
103 | /// Gets or sets Property4.
104 | ///
105 | public string Property4
106 | {
107 | get
108 | {
109 | return this.property4;
110 | }
111 | set
112 | {
113 | if (this.property4 != value)
114 | {
115 | this.property4 = value;
116 | this.OnPropertyChanged("Property4");
117 | }
118 | }
119 | }
120 |
121 | ///
122 | /// Gets or sets Property5.
123 | ///
124 | public string Property5
125 | {
126 | get
127 | {
128 | return this.property5;
129 | }
130 | set
131 | {
132 | if (this.property5 != value)
133 | {
134 | this.property5 = value;
135 | this.OnPropertyChanged("Property5");
136 | }
137 | }
138 | }
139 |
140 | ///
141 | /// Gets or sets Property6.
142 | ///
143 | public string Property6
144 | {
145 | get
146 | {
147 | return this.property6;
148 | }
149 | set
150 | {
151 | if (this.property6 != value)
152 | {
153 | this.property6 = value;
154 | this.OnPropertyChanged("Property6");
155 | }
156 | }
157 | }
158 |
159 | ///
160 | /// On Property changed.
161 | ///
162 | /// The Property Name.
163 | protected virtual void OnPropertyChanged(string propertyName)
164 | {
165 | if (this.PropertyChanged != null)
166 | {
167 | this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
168 | }
169 | }
170 | }
171 | }
172 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/CosmopolitanWpf.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | x86
6 | 8.0.30703
7 | 2.0
8 | {DFCFFECC-8704-4768-8F5C-7E484555258B}
9 | WinExe
10 | Properties
11 | CosmopolitanWpf
12 | CosmopolitanWpf
13 | v4.0
14 |
15 |
16 | 512
17 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
18 | 4
19 | SAK
20 | SAK
21 | SAK
22 | SAK
23 |
24 |
25 | x86
26 | true
27 | full
28 | false
29 | bin\Debug\
30 | DEBUG;TRACE
31 | prompt
32 | 4
33 |
34 |
35 | x86
36 | pdbonly
37 | true
38 | bin\Release\
39 | TRACE
40 | prompt
41 | 4
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 | 4.0
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 | MSBuild:Compile
62 | Designer
63 |
64 |
65 |
66 |
67 |
68 | Core.xaml
69 | Code
70 |
71 |
72 | Home.xaml
73 |
74 |
75 | Sdk.xaml
76 |
77 |
78 | MSBuild:Compile
79 | Designer
80 |
81 |
82 | MSBuild:Compile
83 | Designer
84 |
85 |
86 | MSBuild:Compile
87 | Designer
88 |
89 |
90 | MSBuild:Compile
91 | Designer
92 |
93 |
94 | MSBuild:Compile
95 | Designer
96 |
97 |
98 | MSBuild:Compile
99 | Designer
100 |
101 |
102 | App.xaml
103 | Code
104 |
105 |
106 | MainWindow.xaml
107 | Code
108 |
109 |
110 | MSBuild:Compile
111 | Designer
112 |
113 |
114 | Designer
115 | MSBuild:Compile
116 |
117 |
118 | MSBuild:Compile
119 | Designer
120 |
121 |
122 | MSBuild:Compile
123 | Designer
124 |
125 |
126 |
127 |
128 | Code
129 |
130 |
131 | True
132 | True
133 | Resources.resx
134 |
135 |
136 | True
137 | Settings.settings
138 | True
139 |
140 |
141 | ResXFileCodeGenerator
142 | Resources.Designer.cs
143 |
144 |
145 |
146 | SettingsSingleFileGenerator
147 | Settings.Designer.cs
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
163 |
--------------------------------------------------------------------------------
/BuildProcessTemplates/UpgradeTemplate.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | [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 }]
21 |
22 |
23 |
24 | [Microsoft.TeamFoundation.Build.Workflow.Activities.ToolPlatform.Auto]
25 | [False]
26 | [False]
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | [Microsoft.TeamFoundation.VersionControl.Client.RecursionType.OneLevel]
37 | [Microsoft.TeamFoundation.Build.Workflow.BuildVerbosity.Normal]
38 |
39 |
40 |
41 | All
42 | Assembly references and imported namespaces serialized as XML namespaces
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Build results
17 | [Dd]ebug/
18 | [Dd]ebugPublic/
19 | [Rr]elease/
20 | [Rr]eleases/
21 | x64/
22 | x86/
23 | [Aa][Rr][Mm]/
24 | [Aa][Rr][Mm]64/
25 | bld/
26 | [Bb]in/
27 | [Oo]bj/
28 | [Ll]og/
29 |
30 | # Visual Studio 2015/2017 cache/options directory
31 | .vs/
32 | # Uncomment if you have tasks that create the project's static files in wwwroot
33 | #wwwroot/
34 |
35 | # Visual Studio 2017 auto generated files
36 | Generated\ Files/
37 |
38 | # MSTest test Results
39 | [Tt]est[Rr]esult*/
40 | [Bb]uild[Ll]og.*
41 |
42 | # NUNIT
43 | *.VisualState.xml
44 | TestResult.xml
45 |
46 | # Build Results of an ATL Project
47 | [Dd]ebugPS/
48 | [Rr]eleasePS/
49 | dlldata.c
50 |
51 | # Benchmark Results
52 | BenchmarkDotNet.Artifacts/
53 |
54 | # .NET Core
55 | project.lock.json
56 | project.fragment.lock.json
57 | artifacts/
58 |
59 | # StyleCop
60 | StyleCopReport.xml
61 |
62 | # Files built by Visual Studio
63 | *_i.c
64 | *_p.c
65 | *_h.h
66 | *.ilk
67 | *.meta
68 | *.obj
69 | *.iobj
70 | *.pch
71 | *.pdb
72 | *.ipdb
73 | *.pgc
74 | *.pgd
75 | *.rsp
76 | *.sbr
77 | *.tlb
78 | *.tli
79 | *.tlh
80 | *.tmp
81 | *.tmp_proj
82 | *_wpftmp.csproj
83 | *.log
84 | *.vspscc
85 | *.vssscc
86 | .builds
87 | *.pidb
88 | *.svclog
89 | *.scc
90 |
91 | # Chutzpah Test files
92 | _Chutzpah*
93 |
94 | # Visual C++ cache files
95 | ipch/
96 | *.aps
97 | *.ncb
98 | *.opendb
99 | *.opensdf
100 | *.sdf
101 | *.cachefile
102 | *.VC.db
103 | *.VC.VC.opendb
104 |
105 | # Visual Studio profiler
106 | *.psess
107 | *.vsp
108 | *.vspx
109 | *.sap
110 |
111 | # Visual Studio Trace Files
112 | *.e2e
113 |
114 | # TFS 2012 Local Workspace
115 | $tf/
116 |
117 | # Guidance Automation Toolkit
118 | *.gpState
119 |
120 | # ReSharper is a .NET coding add-in
121 | _ReSharper*/
122 | *.[Rr]e[Ss]harper
123 | *.DotSettings.user
124 |
125 | # JustCode is a .NET coding add-in
126 | .JustCode
127 |
128 | # TeamCity is a build add-in
129 | _TeamCity*
130 |
131 | # DotCover is a Code Coverage Tool
132 | *.dotCover
133 |
134 | # AxoCover is a Code Coverage Tool
135 | .axoCover/*
136 | !.axoCover/settings.json
137 |
138 | # Visual Studio code coverage results
139 | *.coverage
140 | *.coveragexml
141 |
142 | # NCrunch
143 | _NCrunch_*
144 | .*crunch*.local.xml
145 | nCrunchTemp_*
146 |
147 | # MightyMoose
148 | *.mm.*
149 | AutoTest.Net/
150 |
151 | # Web workbench (sass)
152 | .sass-cache/
153 |
154 | # Installshield output folder
155 | [Ee]xpress/
156 |
157 | # DocProject is a documentation generator add-in
158 | DocProject/buildhelp/
159 | DocProject/Help/*.HxT
160 | DocProject/Help/*.HxC
161 | DocProject/Help/*.hhc
162 | DocProject/Help/*.hhk
163 | DocProject/Help/*.hhp
164 | DocProject/Help/Html2
165 | DocProject/Help/html
166 |
167 | # Click-Once directory
168 | publish/
169 |
170 | # Publish Web Output
171 | *.[Pp]ublish.xml
172 | *.azurePubxml
173 | # Note: Comment the next line if you want to checkin your web deploy settings,
174 | # but database connection strings (with potential passwords) will be unencrypted
175 | *.pubxml
176 | *.publishproj
177 |
178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
179 | # checkin your Azure Web App publish settings, but sensitive information contained
180 | # in these scripts will be unencrypted
181 | PublishScripts/
182 |
183 | # NuGet Packages
184 | *.nupkg
185 | # The packages folder can be ignored because of Package Restore
186 | **/[Pp]ackages/*
187 | # except build/, which is used as an MSBuild target.
188 | !**/[Pp]ackages/build/
189 | # Uncomment if necessary however generally it will be regenerated when needed
190 | #!**/[Pp]ackages/repositories.config
191 | # NuGet v3's project.json files produces more ignorable files
192 | *.nuget.props
193 | *.nuget.targets
194 |
195 | # Microsoft Azure Build Output
196 | csx/
197 | *.build.csdef
198 |
199 | # Microsoft Azure Emulator
200 | ecf/
201 | rcf/
202 |
203 | # Windows Store app package directories and files
204 | AppPackages/
205 | BundleArtifacts/
206 | Package.StoreAssociation.xml
207 | _pkginfo.txt
208 | *.appx
209 |
210 | # Visual Studio cache files
211 | # files ending in .cache can be ignored
212 | *.[Cc]ache
213 | # but keep track of directories ending in .cache
214 | !?*.[Cc]ache/
215 |
216 | # Others
217 | ClientBin/
218 | ~$*
219 | *~
220 | *.dbmdl
221 | *.dbproj.schemaview
222 | *.jfm
223 | *.pfx
224 | *.publishsettings
225 | orleans.codegen.cs
226 |
227 | # Including strong name files can present a security risk
228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
229 | #*.snk
230 |
231 | # Since there are multiple workflows, uncomment next line to ignore bower_components
232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
233 | #bower_components/
234 |
235 | # RIA/Silverlight projects
236 | Generated_Code/
237 |
238 | # Backup & report files from converting an old project file
239 | # to a newer Visual Studio version. Backup files are not needed,
240 | # because we have git ;-)
241 | _UpgradeReport_Files/
242 | Backup*/
243 | UpgradeLog*.XML
244 | UpgradeLog*.htm
245 | ServiceFabricBackup/
246 | *.rptproj.bak
247 |
248 | # SQL Server files
249 | *.mdf
250 | *.ldf
251 | *.ndf
252 |
253 | # Business Intelligence projects
254 | *.rdl.data
255 | *.bim.layout
256 | *.bim_*.settings
257 | *.rptproj.rsuser
258 | *- Backup*.rdl
259 |
260 | # Microsoft Fakes
261 | FakesAssemblies/
262 |
263 | # GhostDoc plugin setting file
264 | *.GhostDoc.xml
265 |
266 | # Node.js Tools for Visual Studio
267 | .ntvs_analysis.dat
268 | node_modules/
269 |
270 | # Visual Studio 6 build log
271 | *.plg
272 |
273 | # Visual Studio 6 workspace options file
274 | *.opt
275 |
276 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
277 | *.vbw
278 |
279 | # Visual Studio LightSwitch build output
280 | **/*.HTMLClient/GeneratedArtifacts
281 | **/*.DesktopClient/GeneratedArtifacts
282 | **/*.DesktopClient/ModelManifest.xml
283 | **/*.Server/GeneratedArtifacts
284 | **/*.Server/ModelManifest.xml
285 | _Pvt_Extensions
286 |
287 | # Paket dependency manager
288 | .paket/paket.exe
289 | paket-files/
290 |
291 | # FAKE - F# Make
292 | .fake/
293 |
294 | # JetBrains Rider
295 | .idea/
296 | *.sln.iml
297 |
298 | # CodeRush personal settings
299 | .cr/personal
300 |
301 | # Python Tools for Visual Studio (PTVS)
302 | __pycache__/
303 | *.pyc
304 |
305 | # Cake - Uncomment if you are using it
306 | # tools/**
307 | # !tools/packages.config
308 |
309 | # Tabs Studio
310 | *.tss
311 |
312 | # Telerik's JustMock configuration file
313 | *.jmconfig
314 |
315 | # BizTalk build output
316 | *.btp.cs
317 | *.btm.cs
318 | *.odx.cs
319 | *.xsd.cs
320 |
321 | # OpenCover UI analysis results
322 | OpenCover/
323 |
324 | # Azure Stream Analytics local run output
325 | ASALocalRun/
326 |
327 | # MSBuild Binary and Structured Log
328 | *.binlog
329 |
330 | # NVidia Nsight GPU debugger configuration file
331 | *.nvuser
332 |
333 | # MFractors (Xamarin productivity tool) working folder
334 | .mfractor/
335 |
336 | # Local History for Visual Studio
337 | .localhistory/
338 |
339 | # BeatPulse healthcheck temp database
340 | healthchecksdb
--------------------------------------------------------------------------------
/CosmopolitanWpf/Views/Sdk.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
13 |
14 |
15 |
16 |
19 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
37 |
44 |
45 |
47 |
49 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
62 |
65 |
67 |
68 |
69 |
70 |
71 |
76 |
77 |
78 |
81 |
85 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
107 |
108 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
131 |
132 |
136 |
137 |
141 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
156 |
160 |
161 |
165 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Views/Core.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
10 |
12 |
13 |
14 |
15 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
26 |
30 |
33 |
37 |
42 |
43 |
44 |
49 |
53 |
55 |
56 |
57 |
58 |
59 |
64 |
65 |
66 |
70 |
71 |
75 |
77 |
81 |
83 |
87 |
89 |
93 |
97 |
102 |
105 |
106 |
110 |
114 |
117 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
131 |
132 |
138 |
142 |
144 |
147 |
148 |
152 |
156 |
157 |
158 |
159 |
160 |
161 |
166 |
169 |
170 |
171 |
175 |
179 |
183 |
186 |
190 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Assets/Brushes.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | #FF119EDA
11 | #FFB2E0F4
12 |
13 | #CC119EDA
14 |
15 | #99119EDA
16 |
17 | #66119EDA
18 |
19 | #33119EDA
20 |
21 |
22 | #FF000000
23 | #FFFFFFFF
24 | #FFCCCCCC
25 | #FF7F7F7F
26 | #FF333333
27 | #FFB9B9B9
28 | #FFD8D8D9
29 | #FF9D9D9D
30 | #FFF7F7F7
31 | #FFE0E0E0
32 | #FFA59F93
33 | #7FFFFFFF
34 | #7FA9A9A9
35 | #A5F7F7F7
36 | #5EC9C9C9
37 | #FF414141
38 | #FF000000
39 | #FFFFFFFF
40 |
41 | #FFFFFFFF
42 | #FFBABABA
43 | #FF303030
44 |
45 |
46 |
47 | #00FFFFFF
48 |
49 | #19FFFFFF
50 |
51 | #34FFFFFF
52 |
53 | #A5FFFFFF
54 |
55 | #D8FFFFFF
56 |
57 |
58 |
59 |
60 | #00000000
61 |
62 | #3F000000
63 |
64 | #59000000
65 |
66 | #99000000
67 |
68 | #CC000000
69 |
70 |
71 | #052A2E31
72 | #152A2E31
73 | #252A2E31
74 | #352A2E31
75 | #FFDC000C
76 | #FFDC020D
77 | #FFCA000C
78 | #FFFF9298
79 | #FFFDC8C8
80 | #DDD43940
81 | #59F7D8DB
82 | #FFF7D8DB
83 | #FFDB000C
84 |
85 | #33878787
86 | #33959595
87 | #4C000000
88 | #4C000000
89 |
90 |
91 | #7F000000
92 |
93 |
94 | #F6FF9900
95 | #F6FDFF70
96 | #F6CAA709
97 | #F3F7F34F
98 | #E7CAA709
99 | #E7967C07
100 | #E7625106
101 | #FB8F8873
102 | #F6271A47
103 | #E7271A47
104 | #9A89782B
105 | #4DEBD60F
106 | #FBF6EC20
107 | #FF1B1B54
108 | #FF1C1C50
109 |
110 | #FF67CA0A
111 | #FF498C38
112 | #FF29EE5B
113 | #FFEA7525
114 | #FFDA715B
115 | #FFB72909
116 |
117 |
118 | #FF0097FC
119 | #FF70BBED
120 | #FF70BBED
121 | #FF4556BA
122 | #FFC84BA4
123 | #FF477ABE
124 | #FF6644B7
125 | #FFA045BA
126 | #FF73C348
127 | #FFDD5279
128 | #FF4999C4
129 | #FFEC8B58
130 | #FFECA058
131 | #FFEC6558
132 | #FFEC8B58
133 | #FFECA058
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
143 |
145 |
147 |
149 |
151 |
153 |
155 |
156 |
158 |
160 |
162 |
164 |
166 |
168 |
170 |
172 |
174 |
176 |
178 |
180 |
182 |
184 |
185 |
187 |
189 |
191 |
192 |
194 |
196 |
198 |
200 |
202 |
204 |
206 |
207 |
209 |
211 |
213 |
215 |
217 |
219 |
221 |
223 |
225 |
227 |
229 |
231 |
233 |
234 |
236 |
238 |
239 |
241 |
243 |
245 |
247 |
248 |
250 |
252 |
255 |
257 |
259 |
260 |
261 |
264 |
266 |
268 |
269 |
270 |
272 |
273 |
275 |
276 |
278 |
279 |
281 |
282 |
284 |
287 |
289 |
291 |
292 |
293 |
298 |
299 |
301 |
303 |
304 |
305 |
306 |
308 |
310 |
312 |
314 |
316 |
318 |
320 |
322 |
324 |
326 |
328 |
330 |
332 |
334 |
335 |
336 |
338 |
340 |
342 |
344 |
346 |
348 |
350 |
352 |
354 |
356 |
358 |
360 |
362 |
363 |
364 | #1BA1E2
365 | #FFB2E0F4
366 |
369 |
372 |
373 |
374 |
--------------------------------------------------------------------------------
/BuildProcessTemplates/LabDefaultTemplate.11.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | 11.0
16 |
17 |
18 |
19 |
20 |
21 | 920,3702
22 | Assembly references and imported namespaces serialized as XML namespaces
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | True
44 |
45 |
46 |
47 |
48 |
49 |
50 | [LabWorkflowParameters.BuildDetails.BuildUri]
51 |
52 |
53 | [ChildBuildDetail.Uri]
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 | [BuildLocation]
66 |
67 |
68 | [If(LabWorkflowParameters.BuildDetails.Configuration Is Nothing, BuildLocation, If(LabWorkflowParameters.BuildDetails.Configuration.IsEmpty Or (SelectedBuildDetail.Information.GetNodesByType(Microsoft.TeamFoundation.Build.Common.InformationTypes.ConfigurationSummary, True)).Count = 1, BuildLocation, If(LabWorkflowParameters.BuildDetails.Configuration.IsPlatformEmptyOrAnyCpu, BuildLocation + "\" + LabWorkflowParameters.BuildDetails.Configuration.Configuration, BuildLocation + "\" + LabWorkflowParameters.BuildDetails.Configuration.Platform + "\" + LabWorkflowParameters.BuildDetails.Configuration.Configuration)))]
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 | [LabEnvironmentUri]
81 |
82 |
83 | [LabWorkflowParameters.EnvironmentDetails.LabEnvironmentUri.ToString()]
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 | [PostDeploymentSnapshotName]
143 |
144 |
145 | [If(LabWorkflowParameters.BuildDetails.IsTeamSystemBuild = True,String.Format("{0}_{1}_{2}", LabWorkflowParameters.DeploymentDetails.PostDeploymentSnapshotName, BuildNumber,BuildDetail.BuildNumber),String.Format("{0}_{1}", LabWorkflowParameters.DeploymentDetails.PostDeploymentSnapshotName, BuildDetail.BuildNumber))]
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 | [BuildStatus]
184 |
185 |
186 | [Microsoft.TeamFoundation.Build.Client.BuildStatus.PartiallySucceeded]
187 |
188 |
189 |
190 |
191 |
192 |
193 | [BuildStatus]
194 |
195 |
196 | [Microsoft.TeamFoundation.Build.Client.BuildStatus.Failed]
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
--------------------------------------------------------------------------------
/CosmopolitanWpf/Assets/Styles.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
19 |
20 |
27 |
28 |
39 |
40 |
47 |
48 |
70 |
71 |
88 |
89 |
106 |
107 |
119 |
120 |
135 |
136 |
147 |
148 |
382 |
383 |
405 |
406 |
414 |
415 |
420 |
421 |
422 |
423 |
430 |
431 |
443 |
444 |
449 |
450 |
458 |
459 |
460 |
461 |
462 |
463 |
478 |
479 |
481 |
482 |
499 |
500 |
--------------------------------------------------------------------------------
/BuildProcessTemplates/DefaultTemplate.11.1.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | [New Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings()]
27 | [False]
28 | [New Microsoft.TeamFoundation.Build.Workflow.Activities.TestSpecList(New Microsoft.TeamFoundation.Build.Workflow.Activities.AgileTestPlatformSpec("**\*test*.dll"))]
29 | ["$(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.r)"]
30 | [False]
31 | [True]
32 | [True]
33 | [Microsoft.TeamFoundation.Build.Workflow.Activities.CleanWorkspaceOption.All]
34 |
35 |
36 |
37 | [Microsoft.TeamFoundation.Build.Workflow.Activities.CodeAnalysisOption.AsConfigured]
38 | [True]
39 | [Microsoft.TeamFoundation.Build.Workflow.Activities.ToolPlatform.Auto]
40 | [True]
41 | [New Microsoft.TeamFoundation.Build.Workflow.Activities.SourceAndSymbolServerSettings(True, Nothing)]
42 | [True]
43 |
44 |
45 |
46 | [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 }]
47 | [Microsoft.TeamFoundation.Build.Workflow.BuildVerbosity.Normal]
48 |
49 |
50 |
51 |
52 |
53 |
54 | All
55 | 11.0
56 | Assembly references and imported namespaces serialized as XML namespaces
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 |
372 |
373 |
374 |
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
403 |
404 |
405 |
406 |
407 |
408 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
416 |
417 |
418 |
419 |
420 |
421 |
422 |
423 |
424 |
425 |
426 |
427 |
428 |
429 |
430 |
431 |
432 |
433 |
434 |
435 |
436 |
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
445 |
446 |
447 |
448 |
449 |
450 |
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 |
466 |
467 |
468 |
469 |
470 |
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
492 |
493 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
517 |
518 |
519 |
520 |
521 |
522 |
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 |
536 |
537 |
538 |
539 |
540 |
541 |
542 |
543 |
544 |
--------------------------------------------------------------------------------