Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 23, 2023
1 parent a269255 commit b1dabf7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<PackageTags>ILWeaving, Fody, Cecil, AOP</PackageTags>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- work around https://github.com/dotnet/msbuild/issues/4303 -->
<AddSyntheticProjectReferencesForSolutionDependencies>false</AddSyntheticProjectReferencesForSolutionDependencies>
</PropertyGroup>
Expand All @@ -27,4 +28,7 @@
</ItemGroup>
</Target>

<ItemGroup>
<Using Remove="System.Net.Http" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions Fody/UpdateReferenceCopyLocalTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Task = Microsoft.Build.Utilities.Task;

namespace Fody;

Expand Down
1 change: 1 addition & 0 deletions Fody/Verify/VerifyTask.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Task = Microsoft.Build.Utilities.Task;

namespace Fody;

Expand Down
1 change: 1 addition & 0 deletions Fody/WeavingTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Task = Microsoft.Build.Utilities.Task;

namespace Fody;

Expand Down
10 changes: 4 additions & 6 deletions SampleWeaver/SampleWeaver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
<PropertyGroup>
<!-- This is just to test FodyPackaging, use local output path -->
<PackageOutputPath>$(ProjectDir)bin</PackageOutputPath>
</PropertyGroup>

<Import Project="..\FodyPackaging\build\FodyPackaging.props" />

<PropertyGroup>
<TargetFrameworks>netstandard1.0;netstandard2.0;net472</TargetFrameworks>
</PropertyGroup>

<Import Project="..\FodyPackaging\build\FodyPackaging.props" />
<Import Project="..\FodyPackaging\build\FodyPackaging.targets" />
<ItemGroup>
<Using Remove="System.Net.Http" />
</ItemGroup>
</Project>

0 comments on commit b1dabf7

Please sign in to comment.