Skip to content

Instantly share code, notes, and snippets.

View gist:eaba4f2d79cf818dfd93a9c9f40cd3c2
*** Assembly Binder Log Entry (3/10/2019 @ 10:46:36 AM) ***
The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable C:\Users\Albert\source\repos\CrossPlatformAssemblyLoad\HostProcess\bin\Debug\HostProcess.exe
--- A detailed error log follows.
=== Pre-bind state information ===
View gist:11cc8efe2c2187008c8c74b2c6350a14
*** Assembly Binder Log Entry (3/10/2019 @ 10:46:36 AM) ***
The operation failed.
Bind result: hr = 0x8007000b. An attempt was made to load a program with an incorrect format.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable C:\Users\Albert\source\repos\CrossPlatformAssemblyLoad\HostProcess\bin\Debug\HostProcess.exe
--- A detailed error log follows.
=== Pre-bind state information ===
View gist:5f171e18e1cdeacb3558db14d08ec827
--- C:\Users\sandmansam\source\repos\EmptyConsoleApp\EmptyConsoleApp\Program.cs
{
017B0448 push ebp
017B0449 mov ebp,esp
017B044B push edi
017B044C push esi
017B044D push ebx
017B044E sub esp,3Ch
017B0451 mov esi,ecx
017B0453 lea edi,[ebp-38h]
View gist:a34715c4bfd12f5db707df145c39ca66
c:\Users\sandmansam\source\repos\GenerateRandomNumbersBoxAndAddToArrayList\GenerateRandomNumbersBoxAndAddToArrayList\bin\Release>GenerateRandomNumbersBoxAndAddToArrayList.exe
// Validating benchmarks:
// ***** BenchmarkRunner: Start *****
// ***** Found 1 benchmark(s) in total *****
// ***** Building 1 exe(s) in Parallel: Start *****
BuildScript: c:\Users\sandmansam\source\repos\GenerateRandomNumbersBoxAndAddToArrayList\GenerateRandomNumbersBoxAndAddToArrayList\bin\Release\516fa6ef-7e31-4b9a-bf3b-2ffe90f0d733.bat
// ***** Done, took 00:00:02 (2.34 sec) *****
// Found 1 benchmarks:
// UnderTest.GenerateRandomNumbersBoxAndAddToArrayList: DefaultJob
View Startup.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
View Startup.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
View Startup.cs
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.WsFederation;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace NewClaimsDataTakeThree
View gist:adc3fc161394072995d50bcbdfa2ce18
Allocated 10000000 elements in an ArrayList
Allocated a total of 254326072 bytes over the function's lifetime
Loaded assemblies in current AppDomain follow:
System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
AddRandomNumbersToArrayList_DotNetCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Runtime.Extensions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Console, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Threading, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Text.Encoding.Extensions, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
View gist:42a07aaaec3f65d115609276d401d209
2020-02-19T20:54:23.314 [Information] Script for function 'ArrayList_Function' changed. Reloading.
2020-02-19T20:54:23.544 [Information] Compilation succeeded.
2020-02-19T20:54:24.291 [Information] Executing 'Functions.ArrayList_Function' (Reason='This function was programmatically called via the host APIs.', Id=224851c6-f021-4ec7-9448-26e1b79a4e31)
2020-02-19T20:54:31.827 [Information] Created an ArrayList of 10000000 elements
2020-02-19T20:54:31.835 [Information] Allocated a total of 328756552 bytes over the function's lifetime
2020-02-19T20:54:31.835 [Information] Loaded assemblies in current AppDomain follow:
2020-02-19T20:54:31.835 [Information] System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
2020-02-19T20:54:31.836 [Information] Microsoft.Azure.WebJobs.Script.WebHost, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null
2020-02-19T20:54:31.836 [Information] System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
2020-02-19T20:54:31.836
View CommandLineParser_NuGet_install_on_fresh_system.txt
Running restore with 12 concurrent jobs.
Reading project file C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\CmdParserTest.csproj.
Persisting no-op dg to C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\obj\CmdParserTest.csproj.nuget.dgspec.json
Restoring packages for C:\Users\malbert\source\repos\CmdParserTest\CmdParserTest\CmdParserTest.csproj...
Restoring packages for .NETCoreApp,Version=v3.1...
GET https://api.nuget.org/v3-flatcontainer/commandlineparser/index.json
OK https://api.nuget.org/v3-flatcontainer/commandlineparser/index.json 485ms
GET https://api.nuget.org/v3-flatcontainer/commandlineparser/2.7.82/commandlineparser.2.7.82.nupkg
OK https://api.nuget.org/v3-flatcontainer/commandlineparser/2.7.82/commandlineparser.2.7.82.nupkg 38ms
Resolving conflicts for .NETCoreApp,Version=v3.1...