@@ -16,13 +16,14 @@ public static class XcBuildAliases
1616 /// <param name="project">The project to build</param>
1717 /// <param name="compiltationMode">The compilation mode (Debug/Release)</param>
1818 /// <param name="environment">The XComponent environment (Dev/Prod/...)</param>
19- /// <param name="visualStudioVersion">The version of Visual Studio (VS2013/VS2015)</param>
19+ /// <param name="visualStudioVersion">The version of Visual Studio (VS2013/VS2015/VS2017/VS2019)</param>
20+ /// <param name="framework">The version of .Net framework to use</param>
2021 /// <param name="additionalArguments">Additional arguments to pass to XComponent Build</param>
2122 /// <param name="platform">The platform used to launch the application</param>
2223 [ CakeMethodAlias ]
23- public static void XcBuildBuild ( this ICakeContext context , string project , string compiltationMode = "Debug" , string environment = "Dev" , string visualStudioVersion = "VS2015 " , string additionalArguments = "" , Platform platform = Platform . X64 )
24+ public static void XcBuildBuild ( this ICakeContext context , string project , string compiltationMode = "Debug" , string environment = "Dev" , string visualStudioVersion = "VS2019" , string framework = "Framework472 ", string additionalArguments = "" , Platform platform = Platform . X64 )
2425 {
25- new XcBuild ( context , platform ) . Build ( project , compiltationMode , environment , visualStudioVersion , additionalArguments ) ;
26+ new XcBuild ( context , platform ) . Build ( project , compiltationMode , environment , visualStudioVersion , framework , additionalArguments ) ;
2627 }
2728
2829 /// <summary>
@@ -33,14 +34,14 @@ public static void XcBuildBuild(this ICakeContext context, string project, strin
3334 /// <param name="component">Th component to build</param>
3435 /// <param name="compiltationMode">The compilation mode (Debug/Release)</param>
3536 /// <param name="environment">The XComponent environment (Dev/Prod/...)</param>
36- /// <param name="visualStudioVersion">The version of Visual Studio (VS2013/VS2015)</param>
37+ /// <param name="visualStudioVersion">The version of Visual Studio (VS2013/VS2015/VS2017/VS2019 )</param>
3738 /// <param name="framework">The version of .Net framework to use</param>
3839 /// <param name="serializationtype">The serialization type</param>
3940 /// <param name="logkeys">The list of log keys used by this component</param>
4041 /// <param name="additionalArguments">Additional arguments to pass to XComponent Build</param>
4142 /// <param name="platform">The platform used to launch the application</param>
4243 [ CakeMethodAlias ]
43- public static void XcBuildBuildComponent ( this ICakeContext context , string project , string component , string compiltationMode = "Debug" , string environment = "Dev" , string visualStudioVersion = "VS2015 " , string framework = "Framework452 " , string serializationtype = "Json" , string logkeys = "" , string additionalArguments = "" , Platform platform = Platform . X64 )
44+ public static void XcBuildBuildComponent ( this ICakeContext context , string project , string component , string compiltationMode = "Debug" , string environment = "Dev" , string visualStudioVersion = "VS2019 " , string framework = "Framework472 " , string serializationtype = "Json" , string logkeys = "" , string additionalArguments = "" , Platform platform = Platform . X64 )
4445 {
4546 new XcBuild ( context , platform ) . BuildComponent ( project , component , compiltationMode , environment , visualStudioVersion , framework , serializationtype , logkeys , additionalArguments ) ;
4647 }
0 commit comments