/// <summary> /// Gets the full path of the Silverlight SDK folder. /// This implementation is taken verbatim from Microsoft.Silverlight.Build.Tasks /// and is what normally set $(TargetFrameworkSDKDirectory) /// during a build of a Silverlight project /// </summary> /// <returns>The Silverlight SDK folder or null if it cannot be found.</returns> public static string GetSilverlightSDKDirectory() { return(CodeGenHelper.GetSilverlightSDKDirectory(CodeGenHelper.SilverlightVersionToTest)); }