Retrieve JIT output

While debugging your application in Visual Studio, you can right-click on a code where you have stopped (using breakpoint) and click “Go to Disassembly”. You can debug through native instructions. As for doing that with *.exe files on disk, maybe you could use NGen to generate native output and then disassemble it (although I never … Read more

Newtonsoft.Json Assembly Conflict

I just had the same problem and I solved it by updating the Newtonsoft.Json to the latest version using Update-Package Newtonsoft.Json and then going to Web.config and adding: <dependentAssembly> <assemblyIdentity name=”Newtonsoft.Json” publicKeyToken=”30ad4fe6b2a6aeed”/> <bindingRedirect oldVersion=”0.0.0.0-4.5.0.0″ newVersion=”5.0.8″/> </dependentAssembly>

Could not load file or assembly or one of its dependencies. Access is denied. The issue is random, but after it happens once, it continues

For my scenario, I found that there was a identity node in the web.config file. <identity impersonate=”true” userName=”blah” password=”blah”> When I removed the userName and password parameters from node, it started working. Another option might be that you need to make sure that the specified userName has access to work with those “Temporary ASP.NET Files” … Read more

How to add a reference to System.Numerics.dll

http://msdn.microsoft.com/en-us/library/7314433t(v=vs.80).aspx From MSDN: In Solution Explorer, select the project. On the Project menu, choose Add Reference. The Add Reference dialog box opens. Select the tab indicating the type of component you want to reference. In the top pane, select the component you want to reference, and then click the Select button. Press CTRL while clicking … Read more

System.IO.FileNotFoundException: Could not load file or assembly ‘X’ or one of its dependencies when deploying the application

… Could not load file or assembly ‘X’ or one of its dependencies … Most likely it fails to load another dependency. you could try to check the dependencies with a dependency walker. I.e: https://www.dependencywalker.com/ Also check your build configuration (x86 / 64) Edit: I also had this problem once when I was copying dlls … Read more

‘AssemblyTitle’ attribute in the .NET Framework

[AssemblyTitle] is a pretty big deal, it is directly visible when you right-click on the assembly and use Properties + Details. An example to make it more visible. Let’s start with this AssemblyInfo.cs file: [assembly: AssemblyTitle(“AssemblyTitle”)] [assembly: AssemblyDescription(“AssemblyDescription”)] [assembly: AssemblyConfiguration(“AssemblyConfiguration”)] [assembly: AssemblyCompany(“AssemblyCompany”)] [assembly: AssemblyProduct(“AssemblyProduct”)] [assembly: AssemblyCopyright(“AssemblyCopyright”)] [assembly: AssemblyTrademark(“AssemblyTrademark”)] [assembly: AssemblyCulture(“”)] [assembly: Guid(“7da36bdf-39fb-4a4d-b98c-ecefd99b155a”)] [assembly: AssemblyVersion(“1.2.3.4”)] [assembly: … Read more