We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72e75b9 + b866635 commit e5a30e4Copy full SHA for e5a30e4
1 file changed
src/Plugins/Upsert-XrmAssembly.ps1
@@ -54,7 +54,7 @@ function Upsert-XrmAssembly {
54
process {
55
56
$assemblyFile = [System.Reflection.Assembly]::Load([System.IO.File]::ReadAllBytes($AssemblyPath));
57
- $assemblyProperties = $assemblyFile.GetName().FullName.Split(",= ".ToCharArray(), [StringSplitOptions]::RemoveEmptyEntries);
+ $assemblyProperties = $assemblyFile.GetName().FullName.Split(",=".ToCharArray(), [StringSplitOptions]::RemoveEmptyEntries) | ForEach-Object { $_.Trim() };
58
$assemblyShortName = $assemblyProperties[0];
59
$assemblyContent = Get-XrmBase64 -FilePath $AssemblyPath;
60
0 commit comments