Skip to content

Commit

Permalink
Merge pull request #815 from rsteber/avoid-metadata-disk-provider-run…
Browse files Browse the repository at this point in the history
…time-error

Disk provider binary-only module reference fix
  • Loading branch information
FH-Inway authored Apr 8, 2024
2 parents d137d94 + 03546c2 commit 7be7523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d365fo.tools/functions/get-d365module.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function Get-D365Module {
$diskProviderConfiguration = New-Object Microsoft.Dynamics.AX.Metadata.Storage.DiskProvider.DiskProviderConfiguration
$diskProviderConfiguration.AddMetadataPath($PackageDirectory)
$metadataProviderFactoryViaDisk = New-Object Microsoft.Dynamics.AX.Metadata.Storage.MetadataProviderFactory
$metadataProviderViaDisk = $metadataProviderFactoryViaDisk.CreateDiskProvider($diskProviderConfiguration)
$metadataProviderViaDisk = $metadataProviderFactoryViaDisk.CreateDiskProvider($diskProviderConfiguration, $metadataProviderViaRuntime.ModelManifest)

Write-PSFMessage -Level Verbose -Message "MetadataProvider initialized." -Target $metadataProviderViaDisk

Expand Down

0 comments on commit 7be7523

Please sign in to comment.