Exemplo n.º 1
0
 static Platform GetPlatform(TargetPlatform platform)
 {
     // AnyCpu32BitPreferred can only be used when creating executables (we create a dll)
     if (platform == TargetPlatform.AnyCpu32BitPreferred)
     {
         return(Platform.AnyCpu);
     }
     return(platform.ToPlatform());
 }
Exemplo n.º 2
0
		static Platform GetPlatform(TargetPlatform platform) {
			// AnyCpu32BitPreferred can only be used when creating executables (we create a dll)
			if (platform == TargetPlatform.AnyCpu32BitPreferred)
				return Platform.AnyCpu;
			return platform.ToPlatform();
		}