Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 3a4774c

Browse files
authored
Merge branch 'master' into feature/navigate-diff-to-editor
2 parents fae5e7e + 9d5580e commit 3a4774c

File tree

7 files changed

+16
-8
lines changed

7 files changed

+16
-8
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '2.4.1.{build}'
1+
version: '2.4.2.{build}'
22
skip_tags: true
33
install:
44
- ps: |

src/GitHub.TeamFoundation.14/Services/LocalRepositoryModelFactory.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
namespace GitHub.TeamFoundation.Services
55
{
6-
[Export(typeof(ILocalRepositoryModelFactory))]
7-
[PartCreationPolicy(CreationPolicy.Shared)]
86
class LocalRepositoryModelFactory : ILocalRepositoryModelFactory
97
{
108
public ILocalRepositoryModel Create(string localPath)

src/GitHub.TeamFoundation.14/Services/VSGitExt.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using GitHub.Models;
66
using GitHub.Services;
77
using GitHub.Logging;
8+
using GitHub.TeamFoundation.Services;
89
using Serilog;
910
using Microsoft.VisualStudio.TeamFoundation.Git.Extensibility;
1011
using Task = System.Threading.Tasks.Task;
@@ -28,6 +29,11 @@ public class VSGitExt : IVSGitExt
2829
IReadOnlyList<ILocalRepositoryModel> activeRepositories;
2930

3031
[ImportingConstructor]
32+
public VSGitExt(IGitHubServiceProvider serviceProvider)
33+
: this(serviceProvider, new VSUIContextFactory(), new LocalRepositoryModelFactory())
34+
{
35+
}
36+
3137
public VSGitExt(IGitHubServiceProvider serviceProvider, IVSUIContextFactory factory, ILocalRepositoryModelFactory repositoryFactory)
3238
{
3339
this.serviceProvider = serviceProvider;

src/GitHub.TeamFoundation.14/Services/VSUIContextFactory.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
namespace GitHub.TeamFoundation.Services
88
{
9-
[Export(typeof(IVSUIContextFactory))]
10-
[PartCreationPolicy(CreationPolicy.Shared)]
119
class VSUIContextFactory : IVSUIContextFactory
1210
{
1311
public IVSUIContext GetUIContext(Guid contextGuid)

src/GitHub.TeamFoundation.15/GitHub.TeamFoundation.15.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,15 @@
167167
<Reference Include="WindowsBase" />
168168
</ItemGroup>
169169
<ItemGroup>
170+
<Compile Include="..\GitHub.TeamFoundation.14\Services\LocalRepositoryModelFactory.cs">
171+
<Link>Services\LocalRepositoryModelFactory.cs</Link>
172+
</Compile>
170173
<Compile Include="..\GitHub.TeamFoundation.14\Services\VSGitExt.cs">
171174
<Link>Services\VSGitExt.cs</Link>
172175
</Compile>
176+
<Compile Include="..\GitHub.TeamFoundation.14\Services\VSUIContextFactory.cs">
177+
<Link>Services\VSUIContextFactory.cs</Link>
178+
</Compile>
173179
<Compile Include="..\GitHub.TeamFoundation.14\Settings.cs">
174180
<Link>Settings.cs</Link>
175181
</Compile>

src/GitHub.VisualStudio/source.extension.vsixmanifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="c3d3dc68-c977-411f-b3e8-03b0dccf7dfc" Version="2.4.1.0" Language="en-US" Publisher="GitHub, Inc" />
4+
<Identity Id="c3d3dc68-c977-411f-b3e8-03b0dccf7dfc" Version="2.4.2.0" Language="en-US" Publisher="GitHub, Inc" />
55
<DisplayName>GitHub Extension for Visual Studio</DisplayName>
66
<Description xml:space="preserve">A Visual Studio Extension that brings the GitHub Flow into Visual Studio.</Description>
77
<PackageId>GitHub.VisualStudio</PackageId>
@@ -37,4 +37,4 @@
3737
<Prerequisites>
3838
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.25824.0,16.0)" DisplayName="Visual Studio core editor" />
3939
</Prerequisites>
40-
</PackageManifest>
40+
</PackageManifest>

src/common/SolutionInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
namespace System
1919
{
2020
internal static class AssemblyVersionInformation {
21-
internal const string Version = "2.4.1.0";
21+
internal const string Version = "2.4.2.0";
2222
}
2323
}

0 commit comments

Comments
 (0)