WSP Server projects re-targeted to .NET 3.5 to allow PowerShell to work in .NET 2.0 mode.

This is required by Exchange 2010 SP2 module.
This commit is contained in:
feodor_fitsner 2012-03-05 15:50:07 -08:00
parent 094c838d85
commit 07d21775e9
111 changed files with 597 additions and 86 deletions

View file

@ -120,7 +120,7 @@ namespace WebsitePanel.Providers.Web
// Log all version keys found
Array.ForEach(versionKeys, (x) => { Log.WriteInfo("MSDeploy version key found: {0}", x); });
// Determine appropriate key name to query for
var installPathKey = Environment.Is64BitProcess ? "InstallPath" : "InstallPath_x86";
var installPathKey = (IntPtr.Size == 8) ? "InstallPath" : "InstallPath_x86";
var fileVersion = String.Empty;
//
var libPath = String.Empty;