Tweaks to versioning scheme
Nuke staging
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using Torch.Utils;
|
||||
|
||||
@@ -42,8 +43,15 @@ namespace Torch.Tests
|
||||
|
||||
public ReflectionTestManager Init(Assembly asm)
|
||||
{
|
||||
foreach (Type type in asm.GetTypes())
|
||||
Init(type);
|
||||
try
|
||||
{
|
||||
foreach (Type type in asm.GetTypes())
|
||||
Init(type);
|
||||
}
|
||||
catch (ReflectionTypeLoadException e)
|
||||
{
|
||||
throw e.LoaderExceptions[0];
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@@ -1,7 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Torch.Utils;
|
||||
@@ -32,4 +34,4 @@ namespace Torch.Tests
|
||||
|
||||
private static TorchAssemblyResolver _torchResolver;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user