The last time I was able to create a build successfully for my retail deployable package was on v10.0.6 PU29..
I upgraded to v10.0.7 PU31 and now I get all these MSB3030 errors.
LCS doesn't upgrade the RetailSDK directory automatically when updating the development environment with the deployable package. sO I have to download the package to my VM and copy the folders and files under RetailSDK/Code to the RetailSDK-mirror on my Dev VM.
First I tried the Merge from RetailSDK-Mirror which got the new RetailSDK to RetailSDK-Dev. But the merge doesn't work because I got the MSB6006 error.
Then because I have to get a deployable package asap, I deleted everything in RetailSDK-Dev and copy in the new RetailSDK from RetailSdk\Code. I did copy my custom folder out first before deleting it. Luckily I don't have a lot of custom yet.
When I run the MSBuild on the new RetailSDK it builds without errors. I then open CloudPOS and because I need the PosApi in my custom, I right click it and choose include in Project. It hen rebuild the CloudPOS solution again and this time I get the error:
***
"C:\Source\RetailSDK\dirs.proj" (default target) (1) ->
"C:\Source\RetailSDK\Pos\CloudPos.sln" (Build target) (91) ->
"C:\Source\RetailSDK\Pos\Web\Pos.Web.csproj.metaproj" (default target) (92) ->
"C:\Source\RetailSDK\Pos\Extensions\Pos.Extensions.csproj" (default target) (90:2) ->
C:\Source\RetailSDK\Pos\Extensions\Pos.Extensions.csproj(92,5): error MSB3030: Could not copy the file "typings\DataJ
S.d.js" because it was not found.
C:\Source\RetailSDK\Pos\Extensions\Pos.Extensions.csproj(92,5): error MSB3030: Could not copy the file "typings\Knock
outJS.d.js" because it was not found.
C:\Source\RetailSDK\Pos\Extensions\Pos.Extensions.csproj(92,5): error MSB3030: Could not copy the file "typings\Pos.A
pi.d.js" because it was not found.
C:\Source\RetailSDK\Pos\Extensions\Pos.Extensions.csproj(92,5): error MSB3030: Could not copy the file "typings\Pos.T
ypes.d.js" because it was not found.
C:\Source\RetailSDK\Pos\Extensions\Pos.Extensions.csproj(92,5): error MSB3030: Could not copy the file "typings\Pos.U
I.Sdk.d.js" because it was not found.
***
I downloaded the deployable package for V10.0.6 PU29 and I noticed that under RetailSdk/Code/POS/Extensions the typings folder already exist with the typescript files.
Looking at v10.0.7 PU31 it doesn't come out of the box with the typings folder. The first time one runs the MSBuild I noticed it created the typings folder and copied the typescript files from RetailSdk\POS\Contracts to the typings folder. However it doesn't generate the js-files it is looking for.
The typescript DLL that comes with the deployable package is 2.2.2 and I have 3.2.2.0 installed. That was what was available for download when I started with Retail development and it worked fine while on the previous version.
When I run msbuild in the msbuild command prompt for VS2015 as administrator, it gives the same errors for project ModernPos.sln, ModernPosSetup project and ModernPosSetupOffline project.
I need to get a deployable package out but I can't get past this error.
When I add my custom POS extension into CloudPOS, it generates the js-file for my typescript file but it still gives the error that it cannot find the js-file for my custom typescript file on top of the errors on the typings typescript files.
Any help ASAP is much appreciated to get this fixed. I did log a support issue with Microsoft and added it as urgent but it doesn't look like they plan on treating it as urgent because they are supposed to respond within an hour and it is now almost 3 hours later and no response yet.
I read somewhere that the build environment must be the same version as the target environment. The sandbox that I need to upgrade is on v10.0.7 PU31. I assume I cannot put v10.0.6 PU29's RetailSDK back in and then create a deployable package.