"C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy" -verb:sync -source:apphostconfig="NathanTesting" -enableLink:AppPoolExtension -skip:objectName=recycling -dest:apphostconfig="NathanTesting",computername=poc-asn03 ^include AppPoolExtension and skip configurations within recycling. enableLink Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after -enableLink in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names. The Web Deploy link extensions are AppPoolExtension, CertificateExtension, ContentExtension, FrameworkConfigExtension, and HttpCertConfigExtension. For more information about link extensions, see Web Deploy Link Extensions. For more information about regular expressions, see Regular Expressions. This setting does not apply to the dump operation. AppPoolExten...
abstract class A { } class A1 : A { } class A2 : A { } abstract class B { } class B1 : B { } class B2 : B { } class TestClass { void TestMethod<T>() where T : A { Type val = null; if (typeof(T) == typeof(A1)) { val = typeof(B1); } else if (typeof(T) == typeof(A2)) { val = typeof(B2); } var mi = this.GetType().GetMethod("TestMethod2", System.Reflect...
留言
張貼留言