-
-
Notifications
You must be signed in to change notification settings - Fork 4
Invoke FSCPSCompile
Invoke the D365FSC models compilation
Invoke-FSCPSCompile [[-Version] <String>] [-SourcesPath] <String> [[-Type] <FSCPSType>]
[[-BuildFolderPath] <String>] [-OutputAsHashtable] [-Force] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Invoke the D365FSC models compilation
Invoke-FSCPSCompile -Version "10.0.39" -Type FSCM
Example output:
METADATA_DIRECTORY : D:\a\8\s\Metadata FRAMEWORK_DIRECTORY : C:\temp\buildbuild\packages\Microsoft.Dynamics.AX.Platform.CompilerPackage.7.0.7120.99 BUILD_OUTPUT_DIRECTORY : C:\temp\buildbuild\bin NUGETS_FOLDER : C:\temp\buildbuild\packages BUILD_LOG_FILE_PATH : C:\Users\VssAdministrator\AppData\Local\Temp\Build.sln.msbuild.log PACKAGE_NAME : MAIN TEST-DeployablePackage-10.0.39-78 PACKAGE_PATH : C:\temp\buildbuild\artifacts\MAIN TEST-DeployablePackage-10.0.39-78.zip ARTIFACTS_PATH : C:\temp\buildbuild\artifacts ARTIFACTS_LIST : ["C:\temp\buildbuild\artifacts\MAIN TEST-DeployablePackage-10.0.39-78.zip"]
This will build D365FSC package with version "10.0.39" to the Temp folder
Invoke-FSCPSCompile -Version "10.0.39" -Path "c:\Temp"
Example output:
METADATA_DIRECTORY : D:\a\8\s\Metadata FRAMEWORK_DIRECTORY : C:\temp\buildbuild\packages\Microsoft.Dynamics.AX.Platform.CompilerPackage.7.0.7120.99 BUILD_OUTPUT_DIRECTORY : C:\temp\buildbuild\bin NUGETS_FOLDER : C:\temp\buildbuild\packages BUILD_LOG_FILE_PATH : C:\Users\VssAdministrator\AppData\Local\Temp\Build.sln.msbuild.log PACKAGE_NAME : MAIN TEST-DeployablePackage-10.0.39-78 PACKAGE_PATH : C:\temp\buildbuild\artifacts\MAIN TEST-DeployablePackage-10.0.39-78.zip ARTIFACTS_PATH : C:\temp\buildbuild\artifacts ARTIFACTS_LIST : ["C:\temp\buildbuild\artifacts\MAIN TEST-DeployablePackage-10.0.39-78.zip"]
This will build D365FSC package with version "10.0.39" to the Temp folder
The version of the D365FSC used to build
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The folder contains a metadata files with binaries
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The type of the FSCPS project to build
Type: FSCPSType
Parameter Sets: (All)
Aliases:
Accepted values: FSCM, Commerce, ECommerce
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The destination build folder
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: (Join-Path $script:DefaultTempPath _bld)
Accept pipeline input: False
Accept wildcard characters: False
Instruct the cmdlet to return a hashtable object
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Cleanup destination build folder befor build
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Oleksandr Nikolaiev (@onikolaiev)