Skip to content

Commit fe71caa

Browse files
committed
Avoid IVT
1 parent fc7b5b3 commit fe71caa

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

Directory.Build.props

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<OutputPath>$(MSBuildThisFileDirectory)bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
66
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
77
<DefineConstants Condition=" '$(ExtraDefine)' != '' ">$(DefineConstants);$(ExtraDefine)</DefineConstants>
8-
<SignAssembly>true</SignAssembly>
9-
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)libgit2sharp.snk</AssemblyOriginatorKeyFile>
108
</PropertyGroup>
119

1210
</Project>

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,22 @@
2020
<PackageReference Include="xunit.skippablefact" Version="1.3.3" />
2121
</ItemGroup>
2222

23+
<ItemGroup>
24+
<Compile Include="..\LibGit2Sharp\Core\Epoch.cs" Link="TestHelpers\Epoch.cs" />
25+
<Compile Include="..\LibGit2Sharp\Core\Platform.cs" Link="TestHelpers\Platform.cs" />
26+
<Compile Remove="desktop\**" Condition=" '$(TargetFramework)' != 'net461' " />
27+
</ItemGroup>
28+
2329
<Target Name="CopyTestAppExes" AfterTargets="ResolveProjectReferences">
2430
<ItemGroup>
2531
<_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).exe')" />
2632
<_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).exe.config')" />
2733
<_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).pdb')" />
2834
</ItemGroup>
29-
35+
3036
<ItemGroup>
3137
<Content Include="@(_TestAppFile)" CopyToOutputDirectory="PreserveNewest" Visible="false" />
3238
</ItemGroup>
3339
</Target>
34-
35-
<ItemGroup Condition="'$(TargetFramework)' != 'net461'">
36-
<Compile Remove="desktop\**" />
37-
</ItemGroup>
3840

3941
</Project>

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
<PackageTags>libgit2 git</PackageTags>
1010
<PackageProjectUrl>https://github.com/libgit2/libgit2sharp/</PackageProjectUrl>
1111
<Authors>LibGit2Sharp contributors</Authors>
12-
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
12+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
13+
<SignAssembly>true</SignAssembly>
14+
<AssemblyOriginatorKeyFile>..\libgit2sharp.snk</AssemblyOriginatorKeyFile>
1315
</PropertyGroup>
1416

1517
<!-- Disable SourceLink when running on Travis CI -->

LibGit2Sharp/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
43

54
// General Information about an assembly is controlled through the following
@@ -17,5 +16,3 @@
1716
// The following GUID is for the ID of the typelib if this project is exposed to COM
1817

1918
[assembly: Guid("c6f71967-5be1-49f5-b48e-861bff498ea3")]
20-
21-
[assembly: InternalsVisibleTo("LibGit2Sharp.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010013172CAC3D61EF825164EF8443ED2F97316D0C2A4A65D3B2F6E5C9175C6C589D6A0EAE803E3E7FC0DA9E6672B1DE036CF74E1D33E21DD83E1145E3A454F92E52107495082DCCD1D9F521592F79F41DF26ED727059F8A4E5D3C23ECC525306831A15F1E56B693FDE112137E973B599A13209A5B63E05EE00886DE594E70A993B5")]

0 commit comments

Comments
 (0)