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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Building SDK10 using MSBUILD command

(0) ShareShare
ReportReport
Posted on by

Hi,

I get this error when I build SDK 10 using MSUBILD:

"c:\SDK10\dirs.proj" (rebuild target) (1) ->
"c:\SDK10\Pos\ModernPos.sln" (Rebuild target) (83) ->
"c:\SDK10\Pos\App\Pos.App.jsproj.metaproj" (Rebuild target) (84) ->
"c:\SDK10\Pos\App\Pos.App.jsproj" (Rebuild target) (86) ->
(PreComputeCompileTypeScript target) ->
  c:\SDK10\References\Microsoft.TypeScript.MSBuild.2.2.2\tools\microsoft.TypeScript.targets(216,7): error MSB4064: The "ComputeOutputOnly" parameter is not supported by the "VsTsc" task. Verify the parameter exists on the task, and it is a settable public instance property.
[c:\SDK10\Pos\App\Pos.App.jsproj]
  c:\SDK10\References\Microsoft.TypeScript.MSBuild.2.2.2\tools\microsoft.TypeScript.targets(200,5): error MSB4063: The "VsTsc" task could not be initialized with its input parameters.  [c:\SDK10\Pos\App\Pos.App.jsproj]

Anyone getting the same error?

Thank you

I have the same question (0)
  • Oksana Kovaliova Profile Picture
    3,597 on at

    Hi,

    Could you, please, share extra details:

    1) How are you running the build? (from which tool)

    2) What command are you using?

  • Community Member Profile Picture
    on at

    Hi Oksana,

    1) I'm using Developer Command Prompt for VS 2017

    2) I'm using this command: msbuild /t:rebuild /p:configuration=release

    Thank  you.

  • Oksana Kovaliova Profile Picture
    3,597 on at

    1) are you suing x86 or x64 version? I never saw x64 version working, x86 works always well

    2) try running just 'msbuild' to see if any difference in errors  

  • Community Member Profile Picture
    on at

    Hi,

    I'm using x86.

    Now, I'm no longer getting typescript errors & MSBUILD is completing successfully.  However I cannot embed my own certificate in RetailModernPOS_x86.appx which gives me an error when I try to install Retail Modern POS.  I want to use my own certificate.

    I included my certificate thumbprint in Customization.settings file.  I got this to work with previous SDK.

    Running MSBUILD doesn't change RetailModernPOS_x86.appx date\time stamp .

    How do I embed my certificate in Retail Modern POS ?

    How do I force a new RetailModernPOS_x86.appx with my own certificate & new date\time stamp ?

    Thank you.

  • Tran Profile Picture
    25 on at

    Hi NZDev,

    I'm facing the same issue.

    How did you do to resolve typescript errors? Could you share it with me?

    Thanks you.

  • Community Member Profile Picture
    on at

    Hi Tran,

    I managed to eliminate error.  I removed all references to Microsoft.TypeScript.MSBuild packages then re-installed version 2.2.2.  I'm no longer getting the typescript errors.

    The MSBUILD command completes successfully now, but my certificate isn't being embedded in RetailModernPOS_x86.appx.  The standard Microsoft certificate is being embedded instead.

    How are you embedding your certificate ?

    It seems that MSBUILD doesn't re-create RetailModernPOS_x86.appx as date\times remain unchanged (date\time stamp of sdk)

    Any idea on how to resolve certificate issue?

    Thank you.

  • Tran Profile Picture
    25 on at

    Hi NZDev,

    Where did you remove all references to Microsoft.TypeScript.MSBuild packages? MPOS extension?

    About certificate:

    Did you tried to copy your cert to RetailSDK\BuildTools? File name should be ModernPOSAppxSigningCert-Contoso

    Thanks you.

  • Community Member Profile Picture
    on at

    Hi,

    Yes, I removed references to Microsoft.TypeScript.MSBuild packages from MPOS extension.

    Has the error gone away for you?

    I'm slightly puzzled why I can't use the latest version of Microsoft.TypeScript.MSBuild package.

    I'm thinking maybe the problem hasn't gone away but just been masked & my certificate issue is related to this.

    The answer to your question: Yes, I copied my certificate to BuildTools.  It's pfx file and I included its thumbprint in Customiztion.Settings file.

    This working fine with previous SDK.  

    As I said, this certificate issue might be related to the Microsoft.TypeScript.MSBuild error.

    Thanks

  • Community Member Profile Picture
    on at

    Hi Trans,

    Did you manage to resolve your typescript errors ?

    The issue happens again if I try to rebuild the project in Visual Studio.  I get different errors if I update to the latest TypeScript (3.6.3).

    Did you find a permanent fix ?

    Thank you.

  • Oksana Kovaliova Profile Picture
    3,597 on at

    Did you try to specify your certificate also inside MPOS manifest? (you can edit it when opening MPOS solution in visual studio)

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 298 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 179 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans