Hello!
I’ve set up a process to deploy DACPAC file. At first Calamari.exe complained about Microsoft.SqlServer.TransactSql.ScriptDom.dll being missing on the server so I added one from my local machine. That problem was resolved. Next, I received an error about Microsoftr.SqlServer.Dac.dll being missing so as previously, I copied this dll from my local machine and pasted it on my server. The problem about missing dlls disappeared but another one came:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
August 5th 2020 18:26:05
Info at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
August 5th 2020 18:26:05
Info at System.Reflection.Assembly.GetTypes()
August 5th 2020 18:26:05
Info at Microsoft.PowerShell.Commands.AddTypeCommand.LoadAssemblyFromPathOrName(List`1 generatedTypes)
August 5th 2020 18:26:05
Info at Microsoft.PowerShell.Commands.AddTypeCommand.EndProcessing()
August 5th 2020 18:26:05
Infoat System.Management.Automation.CommandProcessorBase.Complete()
August 5th 2020 18:26:05
Error Calamari.exe : NotSpecified: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property
August 5th 2020 18:26:05 Error for more information.
I guess the problem is with Dac.dll file but I can’t understand the actual source of the problem. Maybe somebody encountered something similar?