Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2021
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
We have upgraded our RetailSDK version from 10.0.197.10011 to 10.0.319.20001.
We have followed below MS article.
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.
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.
Did anyone ever tried upgrading RetailSDK and faced such issue before?
Yes, you need to copy the script.js file on Build servers path before running the build there.
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.
Business Applications communities