Skip to content

Commit 9ad74f7

Browse files
committed
disable multitargeting + TreatWarningsAsErrors to for fast development
1 parent b238317 commit 9ad74f7

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

Directory.Build.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
3030
</PropertyGroup>
3131

32+
<!--
3233
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
3334
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3435
</PropertyGroup>
35-
36+
-->
37+
3638
<!--TODO: Check what this is testing for and why does it fail?-->
3739
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
3840
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>

src/ImageSharp.Drawing/ImageSharp.Drawing.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
<PackageId>SixLabors.ImageSharp.Drawing</PackageId>
99
<PackageTags>Image Draw Shape Path Font</PackageTags>
1010
<RootNamespace>SixLabors.ImageSharp</RootNamespace>
11+
12+
<TargetFramework>netcoreapp2.1</TargetFramework>
13+
14+
<!--
1115
<TargetFrameworks>netcoreapp2.1;netstandard1.3;netstandard2.0</TargetFrameworks>
16+
-->
1217
</PropertyGroup>
1318

1419
<ItemGroup>

src/ImageSharp/ImageSharp.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
<VersionPrefix Condition="$(packageversion) != ''">$(packageversion)</VersionPrefix>
1111
<VersionPrefix Condition="$(packageversion) == ''">0.0.1</VersionPrefix>
1212

13+
<TargetFramework>netcoreapp2.1</TargetFramework>
14+
<!--
1315
<TargetFrameworks>netcoreapp2.1;netstandard1.3;netstandard2.0;net472</TargetFrameworks>
16+
-->
1417

1518
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1619
<GenerateDocumentationFile>true</GenerateDocumentationFile>

tests/ImageSharp.Tests/ImageSharp.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5+
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<!--
57
<TargetFrameworks>netcoreapp2.1;net462;net472</TargetFrameworks>
8+
-->
69
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
710
<LangVersion>latest</LangVersion>
811
<DebugType Condition="$(codecov) != ''">full</DebugType>

0 commit comments

Comments
 (0)