xrm-ci-framework icon indicating copy to clipboard operation
xrm-ci-framework copied to clipboard

Export solution failing in Powershell 7

Open p-grace-tfl opened this issue 3 years ago • 3 comments

Using Xrm.Framework.CI.PowerShell.Cmdlets -version '9.0.0.43'

Using this command: Export-XrmSolution -UniqueSolutionName $solutionName -Managed $false -OutputFolder $thisLocation -ConnectionString $unsecure

I get this error: Could not load file or assembly 'Microsoft.Xrm.Tooling.Connector, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (0x80131621)

I can see the Xrm.Framework.CI.PowerShell.Cmdlets module in the same folder as for example the Az module, the version of the tooling connector shows as:

image

p-grace-tfl avatar Nov 03 '20 09:11 p-grace-tfl

Doesn't work with 9.1.0.2 either - same error.

p-grace-tfl avatar Nov 03 '20 09:11 p-grace-tfl

@p-grace-tfl are you still facing this issue?

WaelHamze avatar Dec 01 '20 08:12 WaelHamze

Hi, thanks for replying. I gave up with PS7 in the end, so yes it doesn’t work. It’s something to do the version of the nuget API I think.

You can close it, as I’m not going to retry PS7 any time soon.

Regards

Philip Grace | Senior Developer Technology and Data 2nd Floor - Red - 2, 14 Pier Walk, London, SE10 0ES Tel: 020 3054 5286 | Auto: 85286 | Email: [email protected]mailto:[email protected]

Upcoming leave: 14/12/2020 & 28/12/2020 - 03/01/2021

[identity]

From: WaelHamze [email protected] Sent: 01 December 2020 08:27 To: WaelHamze/xrm-ci-framework [email protected] Cc: Philip Grace [email protected]; Mention [email protected] Subject: Re: [WaelHamze/xrm-ci-framework] Export solution failing in Powershell 7 (#293)

@p-grace-tflhttps://github.com/p-grace-tfl are you still facing this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/WaelHamze/xrm-ci-framework/issues/293#issuecomment-736307484, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD56KC3IJSI3JYK7RISQCTTSSSSERANCNFSM4TIPDHHQ.


The contents of this e-mail and any attached files are confidential. If you have received this email in error, please notify us immediately at [email protected] and remove it from your system. If received in error, please do not use, disseminate, forward, print or copy this email or its content. Transport for London excludes any warranty and any liability as to the quality or accuracy of the contents of this email and any attached files.

Transport for London is a statutory corporation whose principal office is at 5 Endeavour Square, London, E20 1JN. Further information about Transport for London’s subsidiary companies can be found on the following link: http://www.tfl.gov.uk/corporate/about-tfl/

Although TfL have scanned this email (including attachments) for viruses, recipients are advised to carry out their own virus check before opening any attachments, as TfL accepts no liability for any loss, or damage which may be caused by viruses.


p-grace-tfl avatar Dec 01 '20 08:12 p-grace-tfl