-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathDirectory.Build.targets
22 lines (19 loc) · 1.4 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Target Name="GetVsixVersion" Returns="$(VsixVersion)">
<PropertyGroup>
<VsixVersion Condition="'$(VsixVersion)' == ''">$(BuildVersionSimple)</VsixVersion>
</PropertyGroup>
</Target>
<Target Name="IncludeNuGetPackageReferences" AfterTargets="GetVsixSourceItems">
<ItemGroup>
<_ReferenceCopyLocalBinaries Include="@(ReferenceCopyLocalPaths)" Condition="'%(Extension)' != '.pdb'" />
<VSIXSourceItem Include="@(_ReferenceCopyLocalBinaries)" Condition="'%(_ReferenceCopyLocalBinaries.NuGetPackageId)' == 'CommonServiceLocator'" />
<VSIXSourceItem Include="@(_ReferenceCopyLocalBinaries)" Condition="'%(_ReferenceCopyLocalBinaries.NuGetPackageId)' == 'LibGit2Sharp'" />
<VSIXSourceItem Include="@(_ReferenceCopyLocalBinaries)" Condition="'%(_ReferenceCopyLocalBinaries.NuGetPackageId)' == 'LibGit2Sharp.NativeBinaries'" />
<VSIXSourceItem Include="@(_ReferenceCopyLocalBinaries)" Condition="'%(_ReferenceCopyLocalBinaries.NuGetPackageId)' == 'MvvmLightLibs'" />
<VSIXSourceItem Include="@(_ReferenceCopyLocalBinaries)" Condition="'%(_ReferenceCopyLocalBinaries.NuGetPackageId)' == 'Tvl.VisualStudio.Shell.Utility.10'" />
<VSIXSourceItem Include="@(_ReferenceCopyLocalBinaries)" Condition="'%(_ReferenceCopyLocalBinaries.NuGetPackageId)' == 'Tvl.VisualStudio.Text.Utility.10'" />
</ItemGroup>
</Target>
</Project>