diff --git a/src/ImageSharp/Image.cs b/src/ImageSharp/Image.cs index 4da9cac36e..284a7c29b7 100644 --- a/src/ImageSharp/Image.cs +++ b/src/ImageSharp/Image.cs @@ -44,7 +44,7 @@ namespace ImageSharp { } -#if !NO_FILE_IO +#if !NETSTANDARD11 /// /// Initializes a new instance of the class. /// diff --git a/src/ImageSharp/Image/Image{TColor}.cs b/src/ImageSharp/Image/Image{TColor}.cs index 75d855ad42..0931a12da6 100644 --- a/src/ImageSharp/Image/Image{TColor}.cs +++ b/src/ImageSharp/Image/Image{TColor}.cs @@ -63,7 +63,7 @@ namespace ImageSharp this.Load(stream); } -#if !NO_FILE_IO +#if !NETSTANDARD11 /// /// Initializes a new instance of the class. /// @@ -245,7 +245,7 @@ namespace ImageSharp return this; } -#if !NO_FILE_IO +#if !NETSTANDARD11 /// /// Saves the image to the given stream using the currently loaded image format. /// diff --git a/src/ImageSharp/project.json b/src/ImageSharp/project.json index a5d1bb93f6..7b2dbed08d 100644 --- a/src/ImageSharp/project.json +++ b/src/ImageSharp/project.json @@ -69,7 +69,7 @@ }, "netstandard1.1": { "buildOptions": { - "define": [ "NO_FILE_IO" ] + "define": [ "NETSTANDARD11" ] }, "dependencies": { "System.Collections": "4.0.11",