Skip to content

Commit

Permalink
Avoid IVT
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Apr 16, 2018
1 parent fc7b5b3 commit fe71caa
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 0 additions & 2 deletions Directory.Build.props
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
<OutputPath>$(MSBuildThisFileDirectory)bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath> <OutputPath>$(MSBuildThisFileDirectory)bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath> <BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<DefineConstants Condition=" '$(ExtraDefine)' != '' ">$(DefineConstants);$(ExtraDefine)</DefineConstants> <DefineConstants Condition=" '$(ExtraDefine)' != '' ">$(DefineConstants);$(ExtraDefine)</DefineConstants>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)libgit2sharp.snk</AssemblyOriginatorKeyFile>
</PropertyGroup> </PropertyGroup>


</Project> </Project>
12 changes: 7 additions & 5 deletions LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,20 +20,22 @@
<PackageReference Include="xunit.skippablefact" Version="1.3.3" /> <PackageReference Include="xunit.skippablefact" Version="1.3.3" />
</ItemGroup> </ItemGroup>


<ItemGroup>
<Compile Include="..\LibGit2Sharp\Core\Epoch.cs" Link="TestHelpers\Epoch.cs" />
<Compile Include="..\LibGit2Sharp\Core\Platform.cs" Link="TestHelpers\Platform.cs" />
<Compile Remove="desktop\**" Condition=" '$(TargetFramework)' != 'net461' " />
</ItemGroup>

<Target Name="CopyTestAppExes" AfterTargets="ResolveProjectReferences"> <Target Name="CopyTestAppExes" AfterTargets="ResolveProjectReferences">
<ItemGroup> <ItemGroup>
<_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).exe')" /> <_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).exe')" />
<_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).exe.config')" /> <_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).exe.config')" />
<_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).pdb')" /> <_TestAppFile Include="@(TestAppExe->'%(RootDir)%(Directory)%(Filename).pdb')" />
</ItemGroup> </ItemGroup>

<ItemGroup> <ItemGroup>
<Content Include="@(_TestAppFile)" CopyToOutputDirectory="PreserveNewest" Visible="false" /> <Content Include="@(_TestAppFile)" CopyToOutputDirectory="PreserveNewest" Visible="false" />
</ItemGroup> </ItemGroup>
</Target> </Target>

<ItemGroup Condition="'$(TargetFramework)' != 'net461'">
<Compile Remove="desktop\**" />
</ItemGroup>


</Project> </Project>
4 changes: 3 additions & 1 deletion LibGit2Sharp/LibGit2Sharp.csproj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<PackageTags>libgit2 git</PackageTags> <PackageTags>libgit2 git</PackageTags>
<PackageProjectUrl>https://github.com/libgit2/libgit2sharp/</PackageProjectUrl> <PackageProjectUrl>https://github.com/libgit2/libgit2sharp/</PackageProjectUrl>
<Authors>LibGit2Sharp contributors</Authors> <Authors>LibGit2Sharp contributors</Authors>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\libgit2sharp.snk</AssemblyOriginatorKeyFile>
</PropertyGroup> </PropertyGroup>


<!-- Disable SourceLink when running on Travis CI --> <!-- Disable SourceLink when running on Travis CI -->
Expand Down
3 changes: 0 additions & 3 deletions LibGit2Sharp/Properties/AssemblyInfo.cs
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,4 @@
using System; using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;


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


[assembly: Guid("c6f71967-5be1-49f5-b48e-861bff498ea3")] [assembly: Guid("c6f71967-5be1-49f5-b48e-861bff498ea3")]

[assembly: InternalsVisibleTo("LibGit2Sharp.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010013172CAC3D61EF825164EF8443ED2F97316D0C2A4A65D3B2F6E5C9175C6C589D6A0EAE803E3E7FC0DA9E6672B1DE036CF74E1D33E21DD83E1145E3A454F92E52107495082DCCD1D9F521592F79F41DF26ED727059F8A4E5D3C23ECC525306831A15F1E56B693FDE112137E973B599A13209A5B63E05EE00886DE594E70A993B5")]

0 comments on commit fe71caa

Please sign in to comment.