You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/07 14:57:49 UTC

[GitHub] [cordova-windows] 00King00 opened a new issue #369: Can't cordova build or run platform windows with Visual Studio 2017

00King00 opened a new issue #369: Can't cordova build or run platform windows with Visual Studio 2017
URL: https://github.com/apache/cordova-windows/issues/369
 
 
   # Bug Report
   
   ## Problem
   I can't build windows platform with the command "cordova build windows".
   
   When I type command "cordova build windows or ionic cordova build windows or run windows". I received:
   Error Information:
   ENV var MSBUILDDIR is set C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
   Building project: E:\Bitbucket\bettingods-app-ionic\platforms\windows\CordovaApp.Windows10.jsproj
           Configuration : debug
           Platform      : anycpu
           Buildflags    : /p:AppxBundle=Never
           MSBuildTools  : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
   buildProject spawn: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild [ 'E:\\Bitbucket\\bettingods-app-ionic\\platforms\\windows\\CordovaApp.Windows10.jsproj',
     '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal',
     '/nologo',
     '/p:Configuration=debug',
     '/p:Platform=anycpu',
     '/p:AppxBundle=Never' ] { stdio: 'inherit' }
     prebuild.js: Patching platform `10`
     - Injected `base.js` reference to `/www/index.html`
     - Removing /( *)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.WinJS.2.0\/js\/base.js">\s*<\/script>)(\s*)/ from /www/index.html
     - Removing /( *)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.Phone.WinJS.2.1\/js\/base.js">\s*<\/script>)(\s*)/ from /www/index.html
   C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(780,5): error : The OutputPath property is not set for project 'SQLite
   3.UWP.vcxproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='debug'  Platform='Win32'.  You may be
   seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [E:\Bi
   tbucket\bettingods-app-ionic\plugins\cordova-sqlite-storage\src\windows\SQLite3-WinRT-sync\SQLite3\SQLite3.UWP.vcxproj]
   No valid MSBuild was detected for the selected target: Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild: Command failed with exit code 1
   
   My Version information:
   Ionic:
   
      Ionic CLI          : 5.2.4 (C:\Users\User\AppData\Roaming\npm\node_modules\ionic)
      Ionic Framework    : ionic-angular 3.9.2
      @ionic/app-scripts : 3.2.4
   
   Cordova:
   
      Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
      Cordova Platforms : android 8.1.0, windows 7.0.0
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, (and 17 other plugins)
   
   Utility:
   
      cordova-res : 0.6.0
      native-run  : 0.2.9
   
   System:
   
      Android SDK Tools : 26.1.1 (C:\Users\User\AppData\Local\Android\Sdk)
      NodeJS            : v10.15.1 (C:\Program Files\nodejs\node.exe)
      npm               : 6.4.1
      OS                : Windows 10
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org