So recently I successfully build my Retail SDK and uploaded the installer to one of my D365FO environment, but when trying to install the package faced the below issue.
“Windows cannot install package because this package depends on a framework that could not be found”
Here is an extract of the MPOS installation error logs.
System.IO.IOException: Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install package xxx because this package depends on a framework that could not be found. Provide the framework “Microsoft.NET.CoreRuntime.1.0” published by “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”, with neutral or x64 processor architecture and minimum version 1.0.23819.0, along with this package to install
<Final Update 18 Apr 2018>
The solution is to build the package with configuration=release,
msbuild /p:Configuration=Release
thanks to MVP Kurt Hatlevik
</Final Update>
-Hitesh Manglani