Unhandled exception: System.FormatException: Input string was not in a correct format When launching to iphone x on unreal engine 4.23 - unreal-engine4

After following several guides on launching to ios I still cannot get it working. I have tried an empty project, the ar kit sample and the face ar sample to no avail. This is the error I'm getting:
LogPlayLevel: BUILD COMMAND STARTED LogPlayLevel: Completed Launch On Stage: Build Task, Time: 5.581737 LogPlayLevel: Running: mono "/Users/Shared/Epic Games/UE_4.23/Engine/Binaries/DotNET/UnrealBuildTool.exe" AR IOS Development -Project=/Users/dondoo/Desktop/AR/AR.uproject /Users/dondoo/Desktop/AR/AR.uproject -NoUBTMakefiles -remoteini="/Users/dondoo/Desktop/AR" -skipdeploy -ini:Game:[/Script/UnrealEd.ProjectPackagingSettings]:BlueprintNativizationMethod=Di sabled -Manifest=/Users/dondoo/Desktop/AR/Intermediate/Build/Manifest.xml -NoHotReload -log="/Users/dondoo/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-AR-IOS-Development.txt" LogPlayLevel: Compiling against OS Version 12.0 [minimum allowed at runtime] LogPlayLevel: Error: ERROR: Unhandled exception: System.FormatException: Input string was not in a correct format. LogPlayLevel: at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in :0 LogPlayLevel: at System.Number.ParseSingle (System.ReadOnlySpan1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00071] in :0 LogPlayLevel: at System.Single.Parse (System.String s) [0x0001a] in :0 LogPlayLevel: at UnrealBuildTool.ReadOnlyIOSTargetRules.get_RuntimeVersion () [0x00010] in :0 LogPlayLevel: at UnrealBuildTool.IOSPlatform.SetUpEnvironment (UnrealBuildTool.ReadOnlyTargetRules Target, UnrealBuildTool.CppCompileEnvironment CompileEnvironment, UnrealBuildTool.LinkEnvironment LinkEnvironment) [0x00226] in :0 LogPlayLevel: at UnrealBuildTool.UEBuildTarget.SetupGlobalEnvironment (UnrealBuildTool.UEToolChain ToolChain, UnrealBuildTool.CppCompileEnvironment GlobalCompileEnvironment, UnrealBuildTool.LinkEnvironment GlobalLinkEnvironment) [0x00bc8] in :0 LogPlayLevel: at UnrealBuildTool.UEBuildTarget.Build (UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.ISourceFileWorkingSet WorkingSet, System.Boolean bIsAssemblingBuild, Tools.DotNETCommon.FileReference SingleFileToCompile) [0x00061] in :0 LogPlayLevel: at UnrealBuildTool.BuildMode.CreateMakefile (UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.TargetDescriptor TargetDescriptor, UnrealBuildTool.ISourceFileWorkingSet WorkingSet) [0x00141] in :0 LogPlayLevel: at UnrealBuildTool.BuildMode.Build (System.Collections.Generic.List1[T] TargetDescriptors, UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.ISourceFileWorkingSet WorkingSet, UnrealBuildTool.BuildOptions Options, Tools.DotNETCommon.FileReference WriteOutdatedActionsFile) [0x0001a] in :0 LogPlayLevel: at UnrealBuildTool.BuildMode.Execute (Tools.DotNETCommon.CommandLineArguments Arguments) [0x002cc] in :0 LogPlayLevel: at UnrealBuildTool.UnrealBuildTool.Main (System.String[] ArgumentsArray) [0x00291] in :0 LogPlayLevel: Took 30,190432s to run mono, ExitCode=5 LogPlayLevel: UnrealBuildTool failed. See log for more details. (/Users/dondoo/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-AR-IOS-Development.txt) LogPlayLevel: AutomationTool exiting with ExitCode=5 (5) LogPlayLevel: Completed Launch On Stage: Build Task, Time: 29.662970 LogPlayLevel: Error: RunUAT ERROR: AutomationTool was unable to run successfully. PackagingResults: Error: Launch failed! Unknown Error
I have a valid provisioning profile and certificate and apple developer account, working on a macbook pro trying to launch to an iphone x.

The cause of error is in converting ios version from string to float disregarding language locale. "11.0" dot(".") is the problem
ue4_23_0\Engine\Source\Programs\UnrealBuildTool\Platform\IOS\UEBuildIOS.cs
...
//line 143
public float RuntimeVersion
{
get { return float.Parse(Inner.ProjectSettings.RuntimeVersion); }
}
...
//line 368
public virtual string RuntimeVersion
{
get
{
switch (MinimumIOSVersion)
{
case "IOS_11":
return "11.0";
case "IOS_12":
return "12.0";
default:
return "11.0";
}
}
}
...
Solution (not best) add locale to parse
...
//line 10
using Microsoft.Win32;
using System.Globalization; // <- Add this
...
//line 143
public float RuntimeVersion
{
get { return float.Parse(Inner.ProjectSettings.RuntimeVersion, CultureInfo.InvariantCulture.NumberFormat); }
}
...
Or setup locale of system to use dot(".") as decimal separator

Related

Error resolving name servers Xamarin.Forms Android with MongoDB

I have the below issue connecting to Mongo Atlas when I set android:targetSDKVersion="28" in my android manifest.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: Error resolving name servers ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x0000d] in <715c2ff6913942e6aa8535593b3ef35a>:0
at DnsClient.NameServer.QueryNetworkInterfaces (System.Boolean skipIPv6SiteLocal) [0x00047] in <93b57b4b99c64a96a2c065ea9ae1fc1f>:0
at DnsClient.NameServer.ResolveNameServers (System.Boolean skipIPv6SiteLocal, System.Boolean fallbackToGooglePublicDns) [0x0000d] in <93b57b4b99c64a96a2c065ea9ae1fc1f>:0
--- End of inner exception stack trace ---
at DnsClient.NameServer.ResolveNameServers (System.Boolean skipIPv6SiteLocal, System.Boolean fallbackToGooglePublicDns) [0x0005e] in <93b57b4b99c64a96a2c065ea9ae1fc1f>:0
at DnsClient.LookupClient..ctor () [0x00000] in <93b57b4b99c64a96a2c065ea9ae1fc1f>:0
at MongoDB.Driver.Core.Configuration.ConnectionString.Resolve (System.Boolean resolveHosts) [0x00011] in <861d33dc90734b91874371b41764f591>:0
at MongoDB.Driver.MongoUrl.Resolve (System.Boolean resolveHosts) [0x00015] in :0
at MongoDB.Driver.MongoClientSettings.FromUrl (MongoDB.Driver.MongoUrl url) [0x0001b] in :0
at MongoDB.Driver.MongoClientSettings.FromConnectionString (System.String connectionString) [0x00006] in :0
at MongoDB.Driver.MongoClient..ctor (System.String connectionString) [0x00000] in :0
If I remove the android:targetSDKVersion="28", the app connects without the issue but google play requires that I set the targetVersion before I can upload to play store.
I am using MongoDB Driver 2.91
Can you please help with possibly the solution.
Thanks.
I found out that from Android 8 (Oreo), access to net.dns has been removed. I was connecting to the server with SRV lookup according to the connection string from MongoDB 2.9 Driver. The DNSClient was Performing a DNS lookup on the domain name on the connection string. The below issue from DNSClient.net library shows more.
https://github.com/MichaCo/DnsClient.NET/issues/17
However, I had to do a custom implementation to get DNS Servers using the below code:
public List<IPEndPoint> GetDnsServers()
{
var context = Android.App.Application.Context;
List<IPEndPoint> endPoints = new List<IPEndPoint>();
ConnectivityManager connectivityManager =
(ConnectivityManager)context.GetSystemService(MainActivity.ConnectivityService);
Network activeConnection = connectivityManager.ActiveNetwork;
var linkProperties = connectivityManager.GetLinkProperties(activeConnection);
foreach (InetAddress currentAddress in linkProperties.DnsServers)
{
IPEndPoint endPoint = new IPEndPoint(IPAddress.Parse(currentAddress.HostAddress), 53);
endPoints.Add(endPoint);
}
return endPoints;
}
The issue is gone.

UriFormatException: Absolute URI is too short in unity

I am building a unity project but it gives me below errors :
UriFormatException: Absolute URI is too short
System.Uri.Parse (UriKind kind, System.String uriString)
System.Uri.ParseUri (UriKind kind)
System.Uri..ctor (System.String uriString, Boolean dontEscape)
System.Uri..ctor (System.String uriString)
System.Net.WebRequest.Create (System.String requestUriString)
UnityEditor.CrashReporting.CrashReporting.GetUsymUploadAuthToken () (at C:/buildslave/unity/build/Editor/Src/CloudServicesSettings/CrashReporting/Managed/CrashReporting.cs:95)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Error building Player: UriFormatException: Absolute URI is too short
Build completed with a result of 'Failed'
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x00207] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:172
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Can anyone help me to resolve this?

Error while loading PowerShell ISE. Unable to run cmdlets

When I try to open PowerShell in my server it shows below error on loading:
The following error occurred while loading the extended type data
file: Microsoft.PowerShell.Core, C
:\Windows\System32\WindowsPowerShell\v1.0\types.ps1xml: The file was
skipped because of the followin g validation exception: File
C:\Windows\System32\WindowsPowerShell\v1.0\types.ps1xml cannot be
loade d because its operation is blocked by software restriction
policies, such as those created by using Group Policy.. Errors
occurred while loading the format data file:
Microsoft.PowerShell.Core, , C:\Windows\System32
\WindowsPowerShell\v1.0\DotNetTypes.format.ps1xml: The file was
skipped because of the following val idation exception: File
C:\Windows\System32\WindowsPowerShell\v1.0\DotNetTypes.format.ps1xml
cannot be loaded because its operation is blocked by software
restriction policies, such as those created b y using Group Policy..
Errors occurred while loading the format data file:
Microsoft.PowerShell.Core, , C:\Windows\System32
\WindowsPowerShell\v1.0\FileSystem.format.ps1xml: The file was skipped
because of the following vali dation exception: File
C:\Windows\System32\WindowsPowerShell\v1.0\FileSystem.format.ps1xml
cannot be loaded because its operation is blocked by software
restriction policies, such as those created by using Group Policy..
Errors occurred while loading the format data file:
Microsoft.PowerShell.Core, , C:\Windows\System32
\WindowsPowerShell\v1.0\PowerShellCore.format.ps1xml: The file was
skipped because of the following validation exception: File
C:\Windows\System32\WindowsPowerShell\v1.0\PowerShellCore.format.ps1xml
c annot be loaded because its operation is blocked by software
restriction policies, such as those cre ated by using Group Policy..
The 'set-variable' command was found in the module
'Microsoft.PowerShell.Utility', but the module could not be
loaded.For more information, run 'Import-Module
Microsoft.PowerShell.Utility'.At line:0 char:0
Rest of the logged in users are able to run scripts but i'm unable to.
When I try to run any cmdlet for example
write-host 'test'
I get an error like this
writeErrorStream : True Exception :
System.Management.Automation.CommandNotFoundException: The
'write-host' command was found in the module
'Microsoft.PowerShell.Utility', but the module could
not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'. --->
System.Management.Automation.CmdletInvocationException: File
C:\windows\system32\windowspowershell\v1.0\Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psm1
cannot be loaded because its operation is
blocked by software restriction policies, such as those created by using Group Policy. --->
System.Management.Automation.PSSecurityException: File
C:\windows\system32\windowspowershell\v1.0\Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psm1
cannot be loaded because its operation is
blocked by software restriction policies, such as those created by using Group Policy. --->
System.UnauthorizedAccessException: File
C:\windows\system32\windowspowershell\v1.0\Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psm1
cannot be loaded because its operation is
blocked by software restriction policies, such as those created by using Group Policy.
--- End of inner exception stack trace ---
at System.Management.Automation.AuthorizationManager.ShouldRunInternal(CommandInfo
commandInfo, CommandOrigin origin, PSHost host)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.GetScriptInfoForFile(String
fileName, String& scriptName, Boolean checkExecutionPolicy)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadModule(PSModuleInfo
parentModule, String fileName, String moduleBase, String prefix,
SessionState
ss, Object privateData, ImportModuleOptions& options, ManifestProcessingFlags manifestProcessingFlags, Boolean&
found, Boolean& moduleFileFound)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadModuleNamedInManifest(PSModuleInfo
parentModule, ModuleSpecification moduleSpecification, String
moduleBase, Boolean searchModulePath, String prefix, SessionState ss, ImportModuleOptions options,
ManifestProcessingFlags manifestProcessingFlags, Boolean
loadTypesFiles, Boolean loadFormatFiles, Object privateData, Boolean& found, String shortModuleName)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadModuleManifest(String
moduleManifestPath, ExternalScriptInfo scriptInfo, Hashtable data,
Hashtable
localizedData, ManifestProcessingFlags manifestProcessingFlags, Version version, Version requiredVersion,
Nullable1 requiredModuleGuid,
ImportModuleOptions& options, Boolean& containedErrors)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadModuleManifest(ExternalScriptInfo
scriptInfo, ManifestProcessingFlags manifestProcessingFlags,
Version version, Version requiredVersion, Nullable1 requiredModuleGuid, ImportModuleOptions& options)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadModule(PSModuleInfo
parentModule, String fileName, String moduleBase, String prefix,
SessionState
ss, Object privateData, ImportModuleOptions& options, ManifestProcessingFlags manifestProcessingFlags, Boolean&
found, Boolean& moduleFileFound)
at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName(ImportModuleOptions
importModuleOptions, String name)
at Microsoft.PowerShell.Commands.ImportModuleCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
--- End of inner exception stack trace ---
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable
input)
at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace
rs, Boolean performSyncInvoke)
at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection1
input, PSDataCollection1 output, PSInvocationSettings
settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection1
input, PSDataCollection1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.InvokeT
at System.Management.Automation.CommandDiscovery.AutoloadSpecifiedModule(String
moduleName, ExecutionContext context, SessionStateEntryVisibility
visibility, Exception& exception)
--- End of inner exception stack trace ---
at System.Management.Automation.CommandDiscovery.TryModuleAutoDiscovery(String
commandName, ExecutionContext context, String originalCommandName,
CommandOrigin commandOrigin, SearchResolutionOptions searchResolutionOptions, CommandTypes
commandTypes, Exception& lastError)
at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String
commandName, CommandTypes commandTypes, SearchResolutionOptions
searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context)
at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String
commandName, CommandOrigin commandOrigin, Nullable1 useLocalScope)
at System.Management.Automation.ExecutionContext.CreateCommand(String
command, Boolean dotSource)
at System.Management.Automation.PipelineOps.AddCommand(PipelineProcessor
pipe, CommandParameterInternal[] commandElements, CommandBaseAst
commandBaseAst,
CommandRedirection[] redirections, ExecutionContext context)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input,
Boolean ignoreInput, CommandParameterInternal[][] pipeElements,
CommandBaseAst[]
pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction6.Run(InterpretedFrame
frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
frame) TargetObject : write-host CategoryInfo :
ObjectNotFound: (write-host:String) [], CommandNotFoundException
FullyQualifiedErrorId : CouldNotAutoloadMatchingModule ErrorDetails
: InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at , : line 1
PipelineIterationInfo : {}
please suggest me a solution to overcome this error.
On the context, I can see that powershell is not able to load any of the default modules. Not only that but also it is failing to understand the ps1xml files.
This issue happens when a system is having some critical issue.
I believe you should do a system restore or you should try a deep scan using sfc.
Hope this helps you

UnusedBytecodeStripper2.exe did not run properly

I am trying make my iOS game to build for iOS. I set the scripting backend to IL2CPP (armv7 and arm64) and i am getting the following errors..
I use MobileMoveScript Plugin 2.1.3 and Mobile Social Plugin 6.6. I don't think there is any problem with the plugins as i have tried build to them separately and it worked.
Failed running
/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe
-out "/Users/abeltherock007/Documents/Unity Projects/Talking Superstar 2/Temp/StagingArea/Data/Managed" -l none -c link -x
"/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper/native_link.xml"
-f "/Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/LinkerDescriptors"
-x "/Users/abeltherock007/Documents/Unity Projects/Talking Superstar 2/Temp/StagingArea/Data/Managed/../platform_native_link.xml" -x
"/Users/abeltherock007/Documents/Unity Projects/Talking Superstar
2/Temp/StagingArea/Data/methods_pointedto_by_uievents.xml" -x
"/Users/abeltherock007/Documents/Unity Projects/Talking Superstar
2/Assets/link.xml" -d "/Users/abeltherock007/Documents/Unity
Projects/Talking Superstar 2/Temp/StagingArea/Data/Managed" -a
"/Users/abeltherock007/Documents/Unity Projects/Talking Superstar
2/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" -a
"/Users/abeltherock007/Documents/Unity Projects/Talking Superstar
2/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll"
stdout; Fatal error in Mono CIL Linker
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly:
'U3DXTCore, Culture=neutral, PublicKeyToken=null' at
Mono.Linker.LinkContext.Resolve (IMetadataScope scope) [0x00000] in
:0 at
Mono.Linker.Steps.ResolveFromXmlStep.GetAssembly
(Mono.Linker.LinkContext context, System.String assemblyName)
[0x00000] in :0 at
Mono.Linker.Steps.ResolveFromXmlStep.ProcessAssemblies
(Mono.Linker.LinkContext context, System.Xml.XPath.XPathNodeIterator
iterator) [0x00000] in :0 at
Mono.Linker.Steps.ResolveFromXmlStep.Process () [0x00000] in :0 at Mono.Linker.Steps.BaseStep.Process
(Mono.Linker.LinkContext context) [0x00000] in :0
at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context)
[0x00000] in :0 at Mono.Linker.Driver.Run ()
[0x00000] in :0 at Mono.Linker.Driver.RunDriver
(Mono.Linker.Driver driver) [0x00000] in :0 stderr:
UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String,
CompilerOutputParserBase)
UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1,
String&, String&, String, String)
UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String, String,
String&, String&, String, String, IEnumerable`1)
UnityEditorInternal.AssemblyStripper:Strip(String, String, String&,
String&, String, String, IEnumerable`1)
UnityEditorInternal.AssemblyStripper:Strip(String[], String[], String,
String, String&, String&, String, String, IEnumerable`1)
UnityEditorInternal.IL2CPPBuilder:RunAssemblyStripper(IEnumerable,
String, String[], String[], String)
UnityEditorInternal.IL2CPPBuilder:StripAssemblies(String[], String)
UnityEditorInternal.IL2CPPBuilder:Run()
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String,
IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry)
UnityEditor.HostView:OnGUI()
I ran into the problem and didn't find anything online but I solved it at last.
The problem here is u3dxt plugin for iOS. it is not 64 bit compatible or atleast the version that I was using was not. So you have to have a work around for it.
I removed the plugin and it was all ok.
also note that even if you have removed the plugin and link file is still there in Asset/ folder, the problem will not be solved. so remove plugin folder and u3dxt link file.

NUnit and AppDomain's UnhandledExceptionEventHandler

I'm having some issues writing a unit test in NUnit that checks that a custom exception (ProcessException) is thrown by a background worker in its RunWorkerCompleted event - for the sake of argument let's assume that we can't change that code.
What I've tried to do is to hook up to the AppDomain's UnhandledExceptionHandler in my unit test as follows:
AppDomain currentDomain = AppDomain.CurrentDomain;
UnhandledExceptionEventHandler handler = null;
handler = (s, e) =>
{
// Need to make it clear that an exception is expected in the output window
Console.WriteLine("==== Unhandled exception has been caught ====");
processExceptionWasThrownByBackgroundWorker = true;
currentDomain.UnhandledException -= handler;
Assert.AreEqual(typeof(ProcessException), e.GetType());
};
currentDomain.UnhandledException += handler;
CallMyBackgroundWorkerThatThrows();
Assert.AreEqual(true, processExceptionWasThrownByBackgroundWorker);
This unit test runs fine and passes when run from within visual studio using TestDriven.Net. However, when it runs on the build machine it appears that the NUnit console is also catching the unhandled exception [1] and returning a failure for the NUnit process, while reporting that the tests all pass. In fact, it is trying to deserialise the custom exception - ProcessException - and failing, which is what I think is being described here [2]
[1] : http://www.mail-archive.com/nunit-core#lists.launchpad.net/msg00326.html
[2] : http://groups.google.com/forum/?fromgroups#!topic/nunit-discuss/7LF_X-yBWJ8
Output from build machine:
[exec] Tests run: 147, Errors: 0, Failures: 0, Inconclusive: 0, Time: 27.6745774 seconds
[exec] Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
[exec] Unhandled exceptions:
[exec] 1) Blah.ShelledProcessBackgroundRunnerTests.A_background_process_will_be_killed_if_the_timeout_is_exceeded : System.Runtime.Serialization.SerializationException: Unable to find assembly 'Blah, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
[exec] at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
[exec] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
[exec] at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
[exec] at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
[exec] at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
[exec] at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
[exec] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
[exec] at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
[exec] at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
[exec] at System.AppDomain.Deserialize(Byte[] blob)
[exec] at System.AppDomain.UnmarshalObject(Byte[] blob)
[exec] c:\build_work\ourcibuild(229,26): External Program Failed: C:\Program Files (x86)\NUnit 2.5.10\bin\net-2.0\nunit-console-x86.exe (return code was -100)
Is this an accurate reflection of what is likely to be going on?
Can I change NUnit's behaviour to ignore the unhandled exception, given that I am handling it inside the unit test?