1

I am installing Sitecore Commerce 9 on site with Sitecore 9.0 Update 2. I am using SIF to install Sitecore Commerce. I get the following error and it interrupts the commerce installation.

Install-SitecoreConfiguration : Could not load file or assembly 'file:///C:\sc902commercedeploy\assets\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\tools\VSToolsPath\Web\Microsoft.Web.XmlTransform.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Note - I have the file in the correct place under MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3 folder.

3

You need to unblock that file as Windows thinks it is suspicious (as you have downloaded it from internet in "zip" file).

Right click on the file and on General tab check "Unblock" on the bottom of the screen. Click on "OK" or "Apply" afterwards:

enter image description here

More useful tips can be found in my article dedicated to installation of Sitecore Commerce 9 -> https://tothecore.sk/2018/07/16/installing-sitecore-experience-commerce-sxc-9-0-update-2-9-0-2/

0

You need to ensure that you have extracted the dll out of the nuget package, your SIF script can't link through to the nuget package itself.

If you open up the Nuget packages, you will find the dll at: \tools\VSToolsPath\Web\Microsoft.Web.Publishing.Tasks.dll

You can drop this dll on to disk and then point your SIF script directly to it, e.g. the line in my SIF install script that points to it, looks like:

MergeToolFullPath = Resolve-Path -Path "C:\Sitecore Repo\Modules\Sitecore.Commerce.2018.07-2.2.126\Microsoft.Web.XmlTransform.dll"
  • Rob,Thank you for the answer but like i said, i have extracted it into a file and pointed it to the correct path. – Rama Krshna Ila Sep 9 '18 at 23:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.