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

Commit 6397fbd

Browse files
committed
Merge pull request #102 from github/shana/fix-designtimehelper
Fix design time helper
2 parents df25d49 + ad42ba3 commit 6397fbd

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/DesignTimeStyleHelper/App.xaml.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
using Microsoft.VisualStudio.ComponentModelHost;
1212
using Microsoft.VisualStudio.Shell;
1313
using Moq;
14+
using GitHub.Models;
1415

1516
namespace DesignTimeStyleHelper
1617
{
@@ -42,7 +43,7 @@ public class Holder
4243
public IVisualStudioBrowser Browser;
4344

4445
[Import]
45-
public ExportFactoryProvider ExportFactoryProvider;
46+
public IExportFactoryProvider ExportFactoryProvider;
4647

4748
[Import]
4849
public IUIProvider UIProvider;
@@ -68,7 +69,7 @@ public CustomServiceProvider()
6869
{
6970
catalog = new AggregateCatalog(
7071
new AssemblyCatalog(typeof(CustomServiceProvider).Assembly),
71-
new AssemblyCatalog(typeof(Services).Assembly), // GitHub.VisualStudio
72+
new AssemblyCatalog(typeof(Program).Assembly), // GitHub.VisualStudio
7273
new AssemblyCatalog(typeof(GitHub.Api.ApiClient).Assembly), // GitHub.App
7374
new AssemblyCatalog(typeof(GitHub.Api.SimpleApiClient).Assembly), // GitHub.Api
7475
new AssemblyCatalog(typeof(Rothko.Environment).Assembly), // Rothko

src/DesignTimeStyleHelper/DesignTimeStyleHelper.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
<Reference Include="WindowsBase" />
7676
<Reference Include="PresentationCore" />
7777
<Reference Include="PresentationFramework" />
78+
<Reference Include="Microsoft.TeamFoundation.Git.Provider, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
79+
<HintPath>..\..\lib\Microsoft.TeamFoundation.Git.Provider.dll</HintPath>
80+
<Private>True</Private>
81+
</Reference>
7882
</ItemGroup>
7983
<ItemGroup>
8084
<ApplicationDefinition Include="App.xaml">

0 commit comments

Comments
 (0)