54 lines
2.8 KiB
XML
54 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="c:\program files (x86)\microsoft visual studio\2017\enterprise\team tools\static analysis tools\fxcop\Xml\CodeAnalysisReport.xsl"?>
|
|
<FxCopReport Version="15.0">
|
|
<Targets>
|
|
<Target Name="C:\Users\Ismail\Documents\Visual Studio 2017\Projects\marketconnectionNET\marketconnectionNET\bin\Debug\marketconnectionNET.exe">
|
|
<Modules>
|
|
<Module Name="marketconnectionnet.exe">
|
|
<Messages>
|
|
<Message TypeName="MarkWindowsFormsEntryPointsWithStaThread" Category="Microsoft.Usage" CheckId="CA2232" Status="Active" Created="2017-07-12 21:04:50Z" FixCategory="NonBreaking">
|
|
<Issue Certainty="95" Level="Error" Path="C:\Users\Ismail\Documents\Visual Studio 2017\Projects\marketconnectionNET\marketconnectionNET" File="Programm.cs" Line="12">Mark the entry point method 'Programm.Main(string[])' in assembly 'marketconnectionNET.exe' with an STAThreadAttribute.</Issue>
|
|
</Message>
|
|
</Messages>
|
|
</Module>
|
|
</Modules>
|
|
</Target>
|
|
</Targets>
|
|
<Rules>
|
|
<Rule TypeName="MarkWindowsFormsEntryPointsWithStaThread" Category="Microsoft.Usage" CheckId="CA2232">
|
|
<Name>Mark Windows Forms entry points with STAThread</Name>
|
|
<Description>Assemblies that reference System.Windows.Forms should have the STAThreadAttribute. Failure to apply this attribute will most likely result in an application that does not work. Windows Forms relies on a number of components that use the STA model.</Description>
|
|
<Resolution Name="Default">Mark the entry point method {0} in assembly {1} with an STAThreadAttribute.</Resolution>
|
|
<Owner />
|
|
<Url>http://msdn.microsoft.com/library/ms182351.aspx</Url>
|
|
<Email>[none]</Email>
|
|
<MessageLevel Certainty="95">Error</MessageLevel>
|
|
<File Name="usagerules.dll" Version="15.0.0.0" />
|
|
</Rule>
|
|
</Rules>
|
|
<Localized>
|
|
<String Key="Category">Category</String>
|
|
<String Key="Certainty">Certainty</String>
|
|
<String Key="CollapseAll">Collapse All</String>
|
|
<String Key="CheckId">Check Id</String>
|
|
<String Key="Error">Error</String>
|
|
<String Key="Errors">error(s)</String>
|
|
<String Key="ExpandAll">Expand All</String>
|
|
<String Key="Help">Help</String>
|
|
<String Key="Line">Line</String>
|
|
<String Key="Messages">message(s)</String>
|
|
<String Key="LocationNotStoredInPdb">[Location not stored in Pdb]</String>
|
|
<String Key="Project">Project</String>
|
|
<String Key="Resolution">Resolution</String>
|
|
<String Key="Rule">Rule</String>
|
|
<String Key="RuleFile">Rule File</String>
|
|
<String Key="RuleDescription">Rule Description</String>
|
|
<String Key="Source">Source</String>
|
|
<String Key="Status">Status</String>
|
|
<String Key="Target">Target</String>
|
|
<String Key="Warning">Warning</String>
|
|
<String Key="Warnings">warning(s)</String>
|
|
<String Key="ReportTitle">Code Analysis Report</String>
|
|
</Localized>
|
|
</FxCopReport>
|