@bobnoordam

Author: bobnoordam

Loading this assembly would produce a different grant set from other instances

Visual studio outputs this message during build. when updating nuget packages, in a log message more or less like this: Resolution: Create a new registry DWORD value called LoaderOptimization and give it the value 1 within the key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework”. see also: https://stackoverflow.com/questions/42240956/loading-this-assembly-would-produce-a-different-grant-set-from-other-instances see also: https://learn.microsoft.com/en-us/archive/msdn-technet-forums/5db05238-3c12-4e7e-af95-ca56545f0721 see also: https://blog.bugrapostaci.com/2017/02/08/loading-this-assembly-would-produce-a-different-grant-set-from-other-instances-exception-from-hresult-0x80131401/

Failed to update binding redirects […] Exception has been thrown by the target of an invocation.

Scope: This seems to happen only on .NET framework 4.8 projects (YMMV) Problem: A combination of assembly loading results in different grant sets Workaround: Create a new DWORD registry value called LoaderOptimization as below: [ see also 1 ] [ see also 2 ]

Flexbox

Establish the main container either inline or as block (below as block). All the children will pop into the container. Next, we can establish the direction of the flex, going left,right, down or up Next, we establish what we want to do with wrapping. The default is all goes in a single line, but we […]

Performance counter browser

A simple windows tool to browse performance counters on your local system In the first column, the list of categories is shown Upon selection, the second column will show the list of instance After which the third column will show the actual list of performance counters If you select an actual counter, the bottom right will show you a sample from the counter with a 1 second interval. Source and releases can be downloaded from github

Next Page »