Skip to content

Commit 43b4c07

Browse files
committed
Move AllowUnsafeBlocks to props file
1 parent cf7a478 commit 43b4c07

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

Directory.Build.props

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
45
<OutputPath>$(MSBuildThisFileDirectory)bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
56
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
67
<DefineConstants Condition=" '$(ExtraDefine)' != '' ">$(DefineConstants);$(ExtraDefine)</DefineConstants>

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net46;netcoreapp2.0</TargetFrameworks>
5-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
65
<DefineConstants Condition=" '$(TargetFramework)' == 'net46' ">$(DefineConstants);DESKTOP</DefineConstants>
76
</PropertyGroup>
87

LibGit2Sharp/LibGit2Sharp.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
1313
<SignAssembly>true</SignAssembly>
1414
<AssemblyOriginatorKeyFile>..\libgit2sharp.snk</AssemblyOriginatorKeyFile>
15-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1615
<DefineConstants Condition=" '$(TargetFramework)' == 'net40' ">$(DefineConstants);DESKTOP</DefineConstants>
1716
</PropertyGroup>
1817

0 commit comments

Comments
 (0)