Today I tried to compile SUM_E2E_Deployment with VS2012 under "\Microsoft System Center 2012 Configuration Manager SDK\Samples\Software Updates Management\SUM_E2E_Deployment\VCSharp.net". Before that I added below references manually.
----------------------------------------
AdminUI.WqiQueryEngine.dll
Microsoft.ConfigurationManagement.exe
Microsoft.ConfigurationManagement.ManagementProvider.dll
----------------------------------------
But I got one warning.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Microsoft.ConfigurationManagement, Version=4.0.5791.0, Culture=neutral, PublicKeyToken=365143bb27e7ac8b,
processorArchitecture=MSIL", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and
references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. SUM_E2E_Deployment
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Someone can explain why I got this warning and how to fix it?