WaelHamze / xrm-ci-framework

xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
MIT License
186 stars 117 forks source link

Export solution failing in Powershell 7 #293

Open p-grace-tfl opened 4 years ago

p-grace-tfl commented 4 years ago

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 commented 4 years ago

Doesn't work with 9.1.0.2 either - same error.

WaelHamze commented 4 years ago

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

p-grace-tfl commented 4 years ago

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: philipgrace@tfl.gov.ukmailto:philipgrace@tfl.gov.uk

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

[identity]

From: WaelHamze notifications@github.com Sent: 01 December 2020 08:27 To: WaelHamze/xrm-ci-framework xrm-ci-framework@noreply.github.com Cc: Philip Grace PhilipGrace@tfl.gov.uk; Mention mention@noreply.github.com 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 postmaster@tfl.gov.uk 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.