Repository: reef Updated Branches: refs/heads/master 6a087780e -> 6e927b1cc
[REEF-1586] Fix CoreCLR issues in Org.Apache.REEF.Evaluator This addressed the issue by * Switching the use of Type.Assembly to TypeInfo.Assembly JIRA: [REEF-1586](https://issues.apache.org/jira/browse/REEF-1586) Pull Request: This closes #1338 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/6e927b1c Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/6e927b1c Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/6e927b1c Branch: refs/heads/master Commit: 6e927b1cc20e788a9eb34d052dc6ff1e32c2d19d Parents: 6a08778 Author: roganc <[email protected]> Authored: Thu Jul 20 13:05:55 2017 -0700 Committer: Markus Weimer <[email protected]> Committed: Tue Jul 25 20:40:43 2017 -0700 ---------------------------------------------------------------------- lang/cs/Org.Apache.REEF.Evaluator/Evaluator.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/6e927b1c/lang/cs/Org.Apache.REEF.Evaluator/Evaluator.cs ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Evaluator/Evaluator.cs b/lang/cs/Org.Apache.REEF.Evaluator/Evaluator.cs index 4e1ba7b..ed9ae1c 100644 --- a/lang/cs/Org.Apache.REEF.Evaluator/Evaluator.cs +++ b/lang/cs/Org.Apache.REEF.Evaluator/Evaluator.cs @@ -34,6 +34,7 @@ using Org.Apache.REEF.Utilities.Logging; using Org.Apache.REEF.Wake.Time; using Org.Apache.REEF.Wake.Time.Parameters; using Org.Apache.REEF.Wake.Time.Runtime.Event; +using System.Reflection; namespace Org.Apache.REEF.Evaluator { @@ -141,7 +142,7 @@ namespace Org.Apache.REEF.Evaluator AvroConfigurationSerializer serializer = new AvroConfigurationSerializer(); var classHierarchy = TangFactory.GetTang() - .GetClassHierarchy(new string[] { typeof(ApplicationIdentifier).Assembly.GetName().Name }); + .GetClassHierarchy(new string[] { typeof(ApplicationIdentifier).GetTypeInfo().Assembly.GetName().Name }); var evaluatorConfiguration = serializer.FromFile(evaluatorConfigFile, classHierarchy); logger.Log(Level.Info,
