change to support compilation under .NET Core

This commit is contained in:
Jeffrey Schultz
2017-11-05 04:35:48 +02:00
committed by Marko Lahma
parent 3bdc793c72
commit fda8281874
12 changed files with 109 additions and 266 deletions

View File

@@ -1,3 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--This file is auto-generated by the XML Schema Designer. It holds layout information for components on the designer surface.-->
<XSDDesignerLayout Style="LeftRight" />

View File

@@ -56,7 +56,10 @@ namespace Spring.Objects.Factory.Xml
ConfigurableResourceLoader loader = new ConfigurableResourceLoader();
underlyingResource = loader.GetResource(fileName);
}
underlyingResource = new FileSystemResource(fileName);
else
{
underlyingResource = new FileSystemResource(fileName);
}
}
/// <summary>