小编ckn*_*kng的帖子

使用MSBuild 12构建MVC 4.0项目时"任务失败,因为找不到AXImp.exe"

我正在尝试使用CruiseControl.Net和MSBuild设置构建服务器.然而,它失败了错误:

 "C:\Builds\PremiumStore\checkout\PremiumStore.sln" (default target) (1) ->
    "C:\Builds\PremiumStore\checkout\Web\PremiumStoreWeb.csproj" (default target) (37) ->
    (ResolveComReferences target) ->
    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2151,5):     
    error MSB3091: Task failed because "AxImp.exe" was not found, or the correct Microsoft  
    Windows SDK is not installed.
 The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A\WinSDK-  NetFx40Tools-x86.`

 You may be able to solve the problem by doing one of the following:    

 1. Install the Microsoft Windows SDK. …
Run Code Online (Sandbox Code Playgroud)

msbuild asp.net-mvc-4 visual-studio-2012 windows-server-2012

16
推荐指数
2
解决办法
3万
查看次数

使用Google Pay JavaScript API时防止客户端篡改

我正在尝试使用Google Pay API将Google Pay集成到我们的在线商店中,并且在本教程中,该代码段设置了付款金额和JavaScript对象中的货币代码,如下所示:

paymentDataRequest.transactionInfo = {
  totalPriceStatus: 'FINAL',
  totalPrice: '123.45',
  currencyCode: 'USD'
};
Run Code Online (Sandbox Code Playgroud)

这看起来非常不安全,因为任何人都可以篡改客户端上的值,然后最终单击“使用Google Pay进行购买”按钮。

当然,我还可以检查最终从付款网关发送回的值,然后将订单标记为欺诈,但如果可能的话,我也想尽早防止这种情况发生。

谢谢。

javascript google-api android-pay google-pay

5
推荐指数
1
解决办法
157
查看次数