Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

RetailSDK version 10.0.319.20001 upgrade issue on build server

(0) ShareShare
ReportReport
Posted on by

Hi,

We have upgraded our RetailSDK version from  10.0.197.10011 to 10.0.319.20001.

We have followed below MS article.

https://docs.microsoft.com/en-us/dynamics365/commerce/dev-itpro/retailsdk-update

After merging customizations, we ran msbuild /t:rebuild command on RetailSDK folder on development box. It worked fine without any error.

After running msbuild command, it generates several dll files in bin and Debug folders. We have checked-in these dll files into source control.

On AzureDevOps, We have CI pipeline created for build server. When Build server tries to create a build, it fails with below Script.js file missing error. We found that this is not part of RetailSDK itself but msbuild command has generated it. So we believe that Build server also generates it for it to use. We never faced this when we did earlier upgrades.

pastedimage1583883706671v1.png

It says Could not find file 'C:\DynamicsSDK\VSOAgent\_work\3\s\RetailSDK\OnlineStore\Ecommerce.Sdk.Controls\Common\Scripts.js'.

Does that mean we need to copy this scripts.js file on Build servers C:\DynamicsSDK\.... path mentioned above before running the build there?

Please help. Thanks.

  • VRD Profile Picture
    VRD on at
    RE: RetailSDK version 10.0.319.20001 upgrade issue on build server

    Hi Abigail,

    Thanks for the response. Did you too face this issue and was that resolved by copying the file on the build server? I mean, i just wonder how the build server is not generating this file there the way msbuild command has generated on Dev box. By the look of it, i can say that there is a 'Clear' tick box  in the build definition that needs to be 'unchecked' for this to work.  This is strange but it worked for us. There was no need to copy JS files on build server anywhere.

  • Abigail Profile Picture
    Abigail 550 on at
    RE: RetailSDK version 10.0.319.20001 upgrade issue on build server

    Yes, you need to copy the script.js file on Build servers path before running the build there.

    Regards

  • VRD Profile Picture
    VRD on at
    RE: RetailSDK version 10.0.319.20001 upgrade issue on build server

    Did anyone ever tried upgrading RetailSDK and faced such issue before?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans