简体   繁体   English

当我运行我的 C# 应用程序时,Visual Studio 报告它已经加载了一个托管二进制文件(看起来像)一个随机生成的名称

[英]When I run my C# application, Visual Studio reports that it has loaded a managed binary with (what looks like) a randomly generated name

When I run my C# application, Visual Studio reports that it has loaded a managed binary with (what looks like) a randomly generated name.当我运行我的 C# 应用程序时,Visual Studio 报告它已经加载了一个带有(看起来像)随机生成的名称的托管二进制文件。

For example:例如:

'WindowsFormsApplication1.vshost.exe' (Managed): Loaded 'ehmgcsw7'

or:或者:

'WindowsFormsApplication1.vshost.exe' (Managed): Loaded 'jvo4sksu'

What is this, and why is its name (seemingly) randomly generated?这是什么,为什么它的名字(似乎)是随机生成的?

These are usually the assemblies generated to provide XML (de)serialization functionality when no pre-compiled serialization assembly as been built.这些通常是生成的程序集,用于在未构建预编译的序列化程序集时提供 XML(反)序列化功能。

You are probably using an XmlSerializer somewhere.您可能在某处使用 XmlSerializer。 This might dynamically generate and re-compile code, which in turn results in assemblies with random names that will be loaded.这可能会动态生成和重新编译代码,这反过来会导致将加载具有随机名称的程序集。 You could step through your code and determine at which point the assemblies are loaded.您可以单步执行您的代码并确定加载程序集的位置。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何设计看起来像Visual Studio错误列表的C#视觉主题 - How do I design a C# visual motif that looks like visual studio error list 我用C#开发了一个应用程序,是否可以在没有SQL Server和Visual Studio的另一台PC上运行该应用程序 - I developed an application in C#, is it possible to run this application on another PC which has no SQL Server and Visual Studio 每次我运行Visual Studio C#应用程序时,Access 2007中的所有记录都会删除 - all records in access 2007 deletes each time i run my visual studio c# application 我需要做什么才能使我的 C# 代码在 Visual Studio for Mac 中运行 - What do I need to do to make my C# code run in Visual Studio for Mac 在 visual studio 中,当您在托管语言(如 C#)中更改您不拥有的属性时,如何中断调试器 - In visual studio, how do you break the debugger when a property changes that you do not own in a managed language (like C#) 我应该为我的应用程序使用Managed C ++或C#吗? - Should I use Managed C++ or C# for my application? 调试由Visual Studio 2015中的本机应用程序加载的托管DLL - Debug a Managed DLL loaded by Native Application in Visual Studio 2015 Visual Studio 2008:有没有办法在C#中打开“类名/方法名”下拉列表? (就像VB.Net一样) - Visual Studio 2008: is there any way to turn on the Class Name/Method Name drop downs in C#? (like VB.Net has) 从Windows运行时,C#/ C ++应用程序崩溃,但不是从Visual Studio运行 - C# / C++ application crashes when run from Windows, but not from Visual Studio 在运行时格式化Visual Studio C#报表 - Formatting Visual Studio C# Reports at runtime
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM