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)
--------------------------------------------------------------------------------------------------------------------------------
