Skip to content

Commit de2de6f

Browse files
committed
Clean up project files
1 parent 5c62df8 commit de2de6f

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@
2222

2323
<ItemGroup>
2424
<Compile Include="..\LibGit2Sharp\Core\Platform.cs" Link="TestHelpers\Platform.cs" />
25-
<Compile Remove="desktop\**" Condition=" '$(TargetFramework)' != 'net46' " />
25+
<Compile Remove="desktop\**" Condition="'$(TargetFramework)' != 'net46'" />
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<Content Include="Resources\**\*.*">
30-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
31-
</Content>
29+
<Content Include="Resources\**\*.*" CopyToOutputDirectory="PreserveNewest" />
3230
</ItemGroup>
3331

3432
<Target Name="CopyTestAppExes" AfterTargets="ResolveProjectReferences">

LibGit2Sharp/LibGit2Sharp.csproj

+3-5
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@
1818

1919
<ItemGroup>
2020
<CodeAnalysisDictionary Include="CustomDictionary.xml" />
21-
<None Include="Core\Handles\Objects.tt">
22-
<Generator>TextTemplatingFileGenerator</Generator>
23-
<LastGenOutput>Objects.cs</LastGenOutput>
24-
</None>
2521
<None Include="..\README.md" Pack="true" PackagePath="App_Readme\" />
2622
<None Include="..\LICENSE.md" Pack="true" PackagePath="App_Readme\" />
2723
<None Include="..\CHANGES.md" Pack="true" PackagePath="App_Readme\" />
28-
<Compile Update="Core\Handles\Objects.cs" DependentUpon="Objects.tt" />
24+
<None Update="Core\Handles\Objects.tt" Generator="TextTemplatingFileGenerator" LastGenOutput="Objects.cs" />
25+
<Compile Update="Core\Handles\Objects.cs" DependentUpon="Objects.tt" DesignTime="True" AutoGen="True" />
26+
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" /> <!-- Needed for T4 generation -->
2927
</ItemGroup>
3028

3129
<ItemGroup>

0 commit comments

Comments
 (0)