web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

RetailSDK cannot be built successfully on newly created dev box.

(0) ShareShare
ReportReport
Posted on by

Hi,

I created a new VM with D365FO 10.0.19 platform version (PU 43). I was curious to build standard MS retailSDK using MSBUILD /t:rebuild command. but it is failing  with this error.

We have some changes in retailSDK for earlier version and it's there in VSTS. 

Before taking latest from VSTS on this new VM, i just thought to build MS Standard retail SDK if that is successfully built or not. but somehow it fails.

Does anyone know why is this behavior? Shouldn't it get build without any trouble for newly created VM? I have no any other customization or any other custom model for D365FO on it yet.

What is the solution to get rid of this error?

here is the error text and its screenshot.

------------------------------------------------------------------------------------------------------------------------------------

If you want to skip the check, pass CheckVSDependencies='False' as a parameter to msbuild.

Example: msbuild /p:CheckVSDependencies=False

The Visual Studio installer processes will be closed in 5 seconds, please close this window immediately to stop this.

Terminating processes...


Processes terminated successfully

Getting installed Visual Studio 2017 products ...


Validating Microsoft.VisualStudio.Product.Professional

EXEC : An error occurred: Microsoft.VisualStudio.Product.Professional (15.9.28307.1705) vsconfig export fail! [K:\Retai
lSDK\dirs.proj]


The Visual Studio installer processes will be closed in 5 seconds, please close this window immediately to stop this.

Terminating processes...


Processes terminated successfully

K:\RetailSDK\dirs.proj(14,9): error MSB3073: The command "powershell -NoProfile -NonInteractive .\BuildTools\checkVS201
7Dependencies.ps1" exited with code -1.
Done Building Project "K:\RetailSDK\dirs.proj" (rebuild target(s)) -- FAILED.


Build FAILED.

"K:\RetailSDK\dirs.proj" (rebuild target) (1) ->
(CheckVS2017Dependencies target) ->
EXEC : An error occurred: Microsoft.VisualStudio.Product.Professional (15.9.28307.1705) vsconfig export fail! [K:\Ret
ailSDK\dirs.proj]
K:\RetailSDK\dirs.proj(14,9): error MSB3073: The command "powershell -NoProfile -NonInteractive .\BuildTools\checkVS2
017Dependencies.ps1" exited with code -1.

0 Warning(s)
2 Error(s)

--------------------------------------------------------------------------------------------------------------------------------

pastedimage1634774800123v1.png

I have the same question (0)
  • Suggested answer
    TracyXing Profile Picture
    on at

    This is a known issue, please check: fix.lcs.dynamics.com/.../Details

  • TracyXing Profile Picture
    on at

    Workaround is run this command: msbuild /p:CheckVSDependencies=False

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans