logo search
CSharp_Prog_Guide

Анализ управляемого кода

Средство анализа управляемого кода позволяет проанализировать управляемые сборки и получить сведения о потенциальных проблемах безопасности и нарушениях правил программирования и разработки, установленных руководствами по разработке Microsoft .NET Framework. Эти данные представляются в виде предупреждений. Чтобы вызвать это средство, в конструкторе проектов щелкните правой кнопкой мыши Свойства в Обозревателе решений и выберите Открыть.

Adding and Editing Resources

Visual C# applications often include data that is not source code. Such data is referred to as a project resource and it can include binary data, text files, audio or video files, string tables, icons, images, XML files, or any other type of data that your application requires. Project resource data is stored in XML format in the .resx file (named Resources.resx by default) which can be opened in Solution Explorer.

Adding Resources to Projects

You can add resources to a project by right-clicking the Properties node under your project in Solution Explorer, clicking Open, and then clicking the Add Resource button on the Resources page in Project Designer.

You can add resources to your project either as linked resources, which are external files, or as embedded resources, which are embedded directly into the .resx file.