diff --git a/References/Microsoft.TeamFoundation.Build.Workflow.dll b/References/Microsoft.TeamFoundation.Build.Workflow.dll
deleted file mode 100644
index 6848c97..0000000
Binary files a/References/Microsoft.TeamFoundation.Build.Workflow.dll and /dev/null differ
diff --git a/References/Microsoft.TeamFoundation.VersionControl.Controls.dll b/References/Microsoft.TeamFoundation.VersionControl.Controls.dll
deleted file mode 100644
index 8ebaed7..0000000
Binary files a/References/Microsoft.TeamFoundation.VersionControl.Controls.dll and /dev/null differ
diff --git a/TeamProjectManager.Modules.BuildDefinitions/TeamProjectManager.Modules.BuildDefinitions.csproj b/TeamProjectManager.Modules.BuildDefinitions/TeamProjectManager.Modules.BuildDefinitions.csproj
index 1192bc4..31ebf29 100644
--- a/TeamProjectManager.Modules.BuildDefinitions/TeamProjectManager.Modules.BuildDefinitions.csproj
+++ b/TeamProjectManager.Modules.BuildDefinitions/TeamProjectManager.Modules.BuildDefinitions.csproj
@@ -69,10 +69,6 @@
..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\lib\net45\Microsoft.TeamFoundation.Build.Common.dll
True
-
- ..\References\Microsoft.TeamFoundation.Build.Workflow.dll
- False
-
..\packages\Microsoft.TeamFoundationServer.Client.14.102.0\lib\net45\Microsoft.TeamFoundation.Build2.WebApi.dll
True
@@ -173,9 +169,6 @@
..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\lib\net45\Microsoft.TeamFoundation.VersionControl.Common.Integration.dll
True
-
- ..\References\Microsoft.TeamFoundation.VersionControl.Controls.dll
-
..\packages\Microsoft.TeamFoundationServer.Client.14.102.0\lib\net45\Microsoft.TeamFoundation.Work.WebApi.dll
True
diff --git a/TeamProjectManager.Modules.BuildProcessTemplates/BuildProcessTemplatesView.xaml b/TeamProjectManager.Modules.BuildProcessTemplates/BuildProcessTemplatesView.xaml
index 95dc9d8..6298cac 100644
--- a/TeamProjectManager.Modules.BuildProcessTemplates/BuildProcessTemplatesView.xaml
+++ b/TeamProjectManager.Modules.BuildProcessTemplates/BuildProcessTemplatesView.xaml
@@ -79,15 +79,13 @@
-
-
-
+
-
+
diff --git a/TeamProjectManager.Modules.BuildProcessTemplates/BuildProcessTemplatesViewModel.cs b/TeamProjectManager.Modules.BuildProcessTemplates/BuildProcessTemplatesViewModel.cs
index 29976ab..f2de991 100644
--- a/TeamProjectManager.Modules.BuildProcessTemplates/BuildProcessTemplatesViewModel.cs
+++ b/TeamProjectManager.Modules.BuildProcessTemplates/BuildProcessTemplatesViewModel.cs
@@ -1,15 +1,10 @@
using Microsoft.Practices.Prism.Events;
using Microsoft.TeamFoundation.Build.Client;
-using Microsoft.TeamFoundation.VersionControl.Client;
-using Microsoft.TeamFoundation.VersionControl.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Composition;
-using System.Diagnostics;
-using System.Globalization;
using System.Linq;
-using System.Reflection;
using System.Windows;
using TeamProjectManager.Common;
using TeamProjectManager.Common.Events;
@@ -26,7 +21,6 @@ public class BuildProcessTemplatesViewModel : ViewModelBase
public RelayCommand RegisterBuildProcessTemplateCommand { get; private set; }
public RelayCommand GetBuildProcessTemplatesCommand { get; private set; }
public RelayCommand DeleteSelectedBuildProcessTemplatesCommand { get; private set; }
- public RelayCommand BrowseTemplateServerPathCommand { get; private set; }
#endregion
@@ -120,49 +114,12 @@ public BuildProcessTemplatesViewModel(IEventAggregator eventAggregator, ILogger
this.RegisterBuildProcessTemplateCommand = new RelayCommand(RegisterBuildProcessTemplate, CanRegisterBuildProcessTemplate);
this.GetBuildProcessTemplatesCommand = new RelayCommand(GetBuildProcessTemplates, CanGetBuildProcessTemplates);
this.DeleteSelectedBuildProcessTemplatesCommand = new RelayCommand(DeleteSelectedBuildProcessTemplates, CanDeleteSelectedBuildProcessTemplates);
- this.BrowseTemplateServerPathCommand = new RelayCommand(BrowseTemplateServerPath, CanBrowseTemplateServerPath);
}
#endregion
#region Commands
- private bool CanBrowseTemplateServerPath(object argument)
- {
- return this.SelectedTeamProjectCollection != null;
- }
-
- private void BrowseTemplateServerPath(object argument)
- {
- var tfs = GetSelectedTfsTeamProjectCollection();
- var vcs = tfs.GetService();
- try
- {
- var assembly = Assembly.GetAssembly(typeof(WorkItemPolicy));
- var args = new object[] { vcs };
- using (var dialog = (System.Windows.Forms.Form)assembly.CreateInstance("Microsoft.TeamFoundation.VersionControl.Controls.DialogChooseItem", false, BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Instance, null, args, CultureInfo.CurrentCulture, null))
- {
- dialog.GetType().GetProperty("AllowFileOnly").SetValue(dialog, true, null);
- dialog.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- var result = dialog.ShowDialog(Application.Current.MainWindow.GetIWin32Window());
- if (result == System.Windows.Forms.DialogResult.OK)
- {
- var item = (Item)dialog.GetType().GetProperty("SelectedItem", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(dialog, null);
- if (item != null)
- {
- this.TemplateServerPath = item.ServerItem;
- }
- }
- }
- }
- catch (Exception exc)
- {
- var message = "There was a problem showing the internal TFS Source Control file browser dialog.";
- Logger.Log(message, exc, TraceEventType.Warning);
- MessageBox.Show(message + " See the log file for details.", "Error", MessageBoxButton.OK, MessageBoxImage.Warning);
- }
- }
-
private bool CanGetBuildProcessTemplates(object argument)
{
return IsAnyTeamProjectSelected();
diff --git a/TeamProjectManager.Modules.BuildProcessTemplates/TeamProjectManager.Modules.BuildProcessTemplates.csproj b/TeamProjectManager.Modules.BuildProcessTemplates/TeamProjectManager.Modules.BuildProcessTemplates.csproj
index be8b75d..33d7f61 100644
--- a/TeamProjectManager.Modules.BuildProcessTemplates/TeamProjectManager.Modules.BuildProcessTemplates.csproj
+++ b/TeamProjectManager.Modules.BuildProcessTemplates/TeamProjectManager.Modules.BuildProcessTemplates.csproj
@@ -174,9 +174,6 @@
..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\lib\net45\Microsoft.TeamFoundation.VersionControl.Common.Integration.dll
True
-
- ..\References\Microsoft.TeamFoundation.VersionControl.Controls.dll
-
..\packages\Microsoft.TeamFoundationServer.Client.14.102.0\lib\net45\Microsoft.TeamFoundation.Work.WebApi.dll
True
diff --git a/TeamProjectManager.Modules.SourceControl/TeamProjectManager.Modules.SourceControl.csproj b/TeamProjectManager.Modules.SourceControl/TeamProjectManager.Modules.SourceControl.csproj
index 3ee5302..294a6c8 100644
--- a/TeamProjectManager.Modules.SourceControl/TeamProjectManager.Modules.SourceControl.csproj
+++ b/TeamProjectManager.Modules.SourceControl/TeamProjectManager.Modules.SourceControl.csproj
@@ -169,9 +169,6 @@
..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\lib\net45\Microsoft.TeamFoundation.VersionControl.Common.Integration.dll
True
-
- ..\References\Microsoft.TeamFoundation.VersionControl.Controls.dll
-
..\packages\Microsoft.TeamFoundationServer.Client.14.102.0\lib\net45\Microsoft.TeamFoundation.Work.WebApi.dll
True
diff --git a/TeamProjectManager.Shell/TeamProjectManager.Shell.csproj b/TeamProjectManager.Shell/TeamProjectManager.Shell.csproj
index 450df50..b1b468d 100644
--- a/TeamProjectManager.Shell/TeamProjectManager.Shell.csproj
+++ b/TeamProjectManager.Shell/TeamProjectManager.Shell.csproj
@@ -95,9 +95,6 @@
..\packages\Microsoft.VisualStudio.Services.Client.14.102.0\lib\net45\Microsoft.TeamFoundation.Common.dll
True
-
- ..\References\Microsoft.TeamFoundation.Controls.dll
-
..\packages\Microsoft.TeamFoundationServer.Client.14.102.0\lib\net45\Microsoft.TeamFoundation.Core.WebApi.dll
True
@@ -182,9 +179,6 @@
..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\lib\net45\Microsoft.TeamFoundation.VersionControl.Common.Integration.dll
True
-
- ..\References\Microsoft.TeamFoundation.VersionControl.Controls.Common.dll
-
..\packages\Microsoft.TeamFoundationServer.Client.14.102.0\lib\net45\Microsoft.TeamFoundation.Work.WebApi.dll
True
@@ -205,12 +199,6 @@
..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\lib\net45\Microsoft.TeamFoundation.WorkItemTracking.Common.dll
True
-
- ..\References\Microsoft.TeamFoundation.WorkItemTracking.Controls.dll
-
-
- ..\References\Microsoft.TeamFoundation.WorkItemTracking.ControlsCore.dll
-
..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\lib\net45\Microsoft.TeamFoundation.WorkItemTracking.Proxy.dll
True