File tree 7 files changed +49
-34
lines changed
7 files changed +49
-34
lines changed Original file line number Diff line number Diff line change @@ -39,4 +39,5 @@ _ReSharper*/
39
39
LibGit2Sharp /Core /UniqueIdentifier.cs
40
40
41
41
! Lib /NativeBinaries /* /* .pdb
42
+ ! nuget.package /build /
42
43
_NCrunch_LibGit2Sharp /
Original file line number Diff line number Diff line change @@ -181,6 +181,32 @@ namespace LibGit2Sharp.Core
181
181
sc - Encoding ASCII (Join-Path $libgit2sharpDirectory " Libgit2sharp\Core\NativeDllName.cs" ) $dllNameClass
182
182
sc - Encoding ASCII (Join-Path $libgit2sharpDirectory " Libgit2sharp\libgit2_hash.txt" ) $sha
183
183
184
+ $buildProperties = @"
185
+ <?xml version="1.0" encoding="utf-8"?>
186
+ <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
187
+ <ItemGroup>
188
+ <None Include="`$ (MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\$binaryFilename .dll">
189
+ <Link>NativeBinaries\amd64\$binaryFilename .dll</Link>
190
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
191
+ </None>
192
+ <None Include="`$ (MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\$binaryFilename .pdb">
193
+ <Link>NativeBinaries\amd64\$binaryFilename .pdb</Link>
194
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
195
+ </None>
196
+ <None Include="`$ (MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\$binaryFilename .dll">
197
+ <Link>NativeBinaries\x86\$binaryFilename .dll</Link>
198
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
199
+ </None>
200
+ <None Include="`$ (MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\$binaryFilename .pdb">
201
+ <Link>NativeBinaries\x86\$binaryFilename .pdb</Link>
202
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
203
+ </None>
204
+ </ItemGroup>
205
+ </Project>
206
+ "@
207
+
208
+ sc - Encoding UTF8 (Join-Path $libgit2sharpDirectory " nuget.package\build\LibGit2Sharp.props" ) $buildProperties
209
+
184
210
Write-Output " Done!"
185
211
}
186
212
exit
Original file line number Diff line number Diff line change 22
22
<file src =" ..\README.md" target =" App_Readme\LibGit2Sharp.README.md" />
23
23
<file src =" ..\LICENSE.md" target =" App_Readme\LibGit2Sharp.LICENSE.md" />
24
24
<file src =" ..\CHANGES.md" target =" App_Readme\LibGit2Sharp.CHANGES.md" />
25
- <file src =" ..\nuget.package\Tools \*.*" target =" Tools " />
25
+ <file src =" ..\nuget.package\build \*.*" target =" build\net40 " />
26
26
<file src =" ..\Lib\NativeBinaries\libgit2.license.txt" target =" App_Readme" />
27
27
</files >
28
28
</package >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
+ <ItemGroup >
4
+ <None Include =" $(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-69db893.dll" >
5
+ <Link >NativeBinaries\amd64\git2-69db893.dll</Link >
6
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
7
+ </None >
8
+ <None Include =" $(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-69db893.pdb" >
9
+ <Link >NativeBinaries\amd64\git2-69db893.pdb</Link >
10
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
11
+ </None >
12
+ <None Include =" $(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-69db893.dll" >
13
+ <Link >NativeBinaries\x86\git2-69db893.dll</Link >
14
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
15
+ </None >
16
+ <None Include =" $(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-69db893.pdb" >
17
+ <Link >NativeBinaries\x86\git2-69db893.pdb</Link >
18
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
19
+ </None >
20
+ </ItemGroup >
21
+ </Project >
You can’t perform that action at this time.
0 commit comments