0
Vote

XmlManuInstructions: There are Warnings in the Code Analysis results in CS solution. Also reprogram to not use HTTP/SOAP Endpoints (deprecated)

description

Per the meeting I had with mrys and edle last week, assigning to mrys and the XML area path.

Environment:

  1. Windows 2K3 ENT ENU.
  2. Installed Katmai DEV 10.00.1049.07.
  3. Installed Sample 70701
  4. Installed Visual Studio 2005.
     

Steps:

  1. Open theCS solution file "...\Samples\Engine\xml\XmlManuInstructions\CS\XmlManuInstructions.sln" in Whidbey.
  2. Execute code analysis from the menu: Build -> Run Code Analysis on XmlManuInstructions.
  3. Check the analysis results.

Expectation:

The analysis results should be "0 Error, 0 Warning, 0 Messages".

Actual:

There are Warnings. Details are as follows:
Warning1CA1303 : Microsoft.Globalization : ManuInstructions.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: 'Manufacturing Instructions'C:\Program Files\Microsoft SQL Server\100\Samples\Engine\xml\XmlManuInstructions\CS\XmlManuInstructions\ManuInstructions.Designer.cs117XmlManuInstructions
Warning2CA1303 : Microsoft.Globalization : ManuInstructions.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: 'Product Model ID'C:\Program Files\Microsoft SQL Server\100\Samples\Engine\xml\XmlManuInstructions\CS\XmlManuInstructions\ManuInstructions.Designer.cs47XmlManuInstructions
Warning3CA1303 : Microsoft.Globalization : ManuInstructions.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: 'Show Instructions'C:\Program Files\Microsoft SQL Server\100\Samples\Engine\xml\XmlManuInstructions\CS\XmlManuInstructions\ManuInstructions.Designer.cs62XmlManuInstructions
Warning4CA1303 : Microsoft.Globalization : ManuInstructions.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: 'Show Request'C:\Program Files\Microsoft SQL Server\100\Samples\Engine\xml\XmlManuInstructions\CS\XmlManuInstructions\ManuInstructions.Designer.cs72XmlManuInstructions
Warning5CA1303 : Microsoft.Globalization : ManuInstructions.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: 'Show Response'C:\Program Files\Microsoft SQL Server\100\Samples\Engine\xml\XmlManuInstructions\CS\XmlManuInstructions\ManuInstructions.Designer.cs82XmlManuInstructions
Warning6CA1303 : Microsoft.Globalization : ManuInstructions.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: 'Show XSL'C:\Program Files\Microsoft SQL Server\100\Samples\Engine\xml\XmlManuInstructions\CS\XmlManuInstructions\ManuInstructions.Designer.cs92XmlManuInstructions

comments