Browse Source

change NO_FILE_IO to NETSTANDARD11

pull/101/head
Scott Williams 9 years ago
parent
commit
d58adb4247
  1. 2
      src/ImageSharp/Image.cs
  2. 4
      src/ImageSharp/Image/Image{TColor}.cs
  3. 2
      src/ImageSharp/project.json

2
src/ImageSharp/Image.cs

@ -44,7 +44,7 @@ namespace ImageSharp
{
}
#if !NO_FILE_IO
#if !NETSTANDARD11
/// <summary>
/// Initializes a new instance of the <see cref="Image"/> class.
/// </summary>

4
src/ImageSharp/Image/Image{TColor}.cs

@ -63,7 +63,7 @@ namespace ImageSharp
this.Load(stream);
}
#if !NO_FILE_IO
#if !NETSTANDARD11
/// <summary>
/// Initializes a new instance of the <see cref="Image{TColor}"/> class.
/// </summary>
@ -245,7 +245,7 @@ namespace ImageSharp
return this;
}
#if !NO_FILE_IO
#if !NETSTANDARD11
/// <summary>
/// Saves the image to the given stream using the currently loaded image format.
/// </summary>

2
src/ImageSharp/project.json

@ -69,7 +69,7 @@
},
"netstandard1.1": {
"buildOptions": {
"define": [ "NO_FILE_IO" ]
"define": [ "NETSTANDARD11" ]
},
"dependencies": {
"System.Collections": "4.0.11",

Loading…
Cancel
Save