|
13 | 13 | <PropertyGroup> |
14 | 14 | <PackageManagerTargetPath>PackageManager\PackageManager.UI.exe</PackageManagerTargetPath> |
15 | 15 | <PackageManagerSourcePath>..\PackageManager.UI\bin\$(Configuration)\$(TargetFramework)\PackageManager.UI.exe</PackageManagerSourcePath> |
16 | | - <GitExtensionsDebugPluginsPath>..\..\references\GitExtensions\UserPlugins\GitExtensions.PluginManager\</GitExtensionsDebugPluginsPath> |
17 | | - <GitExtensionsReferenceSource>appveyor</GitExtensionsReferenceSource> |
18 | | - <GitExtensionsReferenceVersion>v3.2.0.5938</GitExtensionsReferenceVersion> |
19 | 16 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
20 | 17 | </PropertyGroup> |
21 | 18 |
|
| 19 | + <ItemGroup> |
| 20 | + <PackageReference Include="GitExtensions.Extensibility" Version="0.1.1" /> |
| 21 | + </ItemGroup> |
| 22 | + |
22 | 23 | <ItemGroup> |
23 | 24 | <Compile Include="..\PackageManager.UI\Args.cs" Link="Args.cs" /> |
24 | 25 | </ItemGroup> |
25 | 26 |
|
26 | 27 | <ItemGroup> |
27 | 28 | <Reference Include="GitUI"> |
28 | | - <HintPath>..\..\references\GitExtensions\GitUI.dll</HintPath> |
| 29 | + <HintPath>$(GitExtensionsPath)\GitUI.dll</HintPath> |
29 | 30 | </Reference> |
30 | 31 | <Reference Include="GitUIPluginInterfaces"> |
31 | | - <HintPath>..\..\references\GitExtensions\GitUIPluginInterfaces.dll</HintPath> |
| 32 | + <HintPath>$(GitExtensionsPath)\GitUIPluginInterfaces.dll</HintPath> |
32 | 33 | </Reference> |
33 | 34 | <Reference Include="ResourceManager"> |
34 | | - <HintPath>..\..\references\GitExtensions\ResourceManager.dll</HintPath> |
| 35 | + <HintPath>$(GitExtensionsPath)\ResourceManager.dll</HintPath> |
35 | 36 | </Reference> |
36 | 37 | <Reference Include="System.ComponentModel.Composition" /> |
37 | 38 | <Reference Include="System.Windows.Forms" /> |
|
53 | 54 | </EmbeddedResource> |
54 | 55 | </ItemGroup> |
55 | 56 |
|
56 | | - <Target Name="PreBuild" BeforeTargets="PreBuildEvent"> |
57 | | - <Exec Command="powershell.exe -ExecutionPolicy Unrestricted ..\..\tools\Download-GitExtensions.ps1 -Version $(GitExtensionsReferenceVersion) -Source $(GitExtensionsReferenceSource)" /> |
58 | | - </Target> |
59 | 57 | <Target Name="CopyPackageManager" AfterTargets="ResolveReferences"> |
60 | 58 | <Copy SourceFiles="$(PackageManagerSourcePath)" DestinationFolder="$(TargetDir)PackageManager" /> |
61 | 59 | </Target> |
62 | | - <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
63 | | - <Copy SourceFiles="$(TargetDir)$(PackageManagerTargetPath)" DestinationFolder="$(GitExtensionsDebugPluginsPath)PackageManager" /> |
64 | | - <Copy SourceFiles="$(TargetPath)" DestinationFolder="$(GitExtensionsDebugPluginsPath)" /> |
65 | | - </Target> |
66 | 60 | <Target Name="PreClean" BeforeTargets="Clean"> |
67 | 61 | <Message Text="Deleting PackageManager" Importance="high" /> |
68 | 62 | <Delete Files="$(TargetDir)$(PackageManagerTargetPath)" ContinueOnError="true" /> |
|
0 commit comments