blackberry / VSPlugin

Visual Studio Plugin for BlackBerry Native SDK
9 stars 15 forks source link

next - unable to deploy using open source scripts #279

Open zadmarbella opened 11 years ago

zadmarbella commented 11 years ago
  1. install plugin using open source script
  2. attempt to build and deploy.

Note: it looks like the feature that places bar-descriptor in separate folder from the project is not included in the branch.

1>------ Deploy started: Project: FallingBlocks_001, Configuration: Debug BlackBerry ------ 1>Build started 13/08/2013 4:15:30 PM. 1>Building with tools version "4.0". 1>Target "_CheckForInvalidConfigurationAndPlatform" in file "C:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets" from project "C:\for_SA\FallingBlocks_001\FallingBlocks_001\FallingBlocks_001.vcxproj" (entry point): 1>Task "Error" skipped, due to false condition; ( '$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ). 1>Task "Warning" skipped, due to false condition; ( '$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' == 'true' ). 1>Using "Message" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "Message" 1> Configuration=Debug 1>Done executing task "Message". 1>Task "Message" 1> Platform=BlackBerry 1>Done executing task "Message". 1>Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('Device-Debug\' != '' and !HasTrailingSlash('Device-Debug\')). 1>Task "Error" skipped, due to false condition; ('$(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as ('obj\' != '' and !HasTrailingSlash('obj\')). 1>Task "Error" skipped, due to false condition; ('$(IntermediateOutputPath)' != '' and !HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as ('Device-Debug\' != '' and !HasTrailingSlash('Device-Debug\')). 1>Done building target "_CheckForInvalidConfigurationAndPlatform" in project "FallingBlocks_001.vcxproj". 1>Target "Deploy" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\BlackBerry\Microsoft.Cpp.BlackBerry.Packager.targets" from project "C:\for_SA\FallingBlocks_001\FallingBlocks_001\FallingBlocks_001.vcxproj" (entry point): 1>Task "Error" skipped, due to false condition; ($(Registry:HKEY_CURRENT_USER\SOFTWARE\BlackBerry\BlackBerryVSPlugin@device_IP) == '') was evaluated as (169.254.0.1 == ''). 1>Using "WriteDebuggerArgs" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\BlackBerry\VSNDK.Tasks.dll". 1>Task "WriteDebuggerArgs" 1>Done executing task "WriteDebuggerArgs" -- FAILED. 1>Done building target "Deploy" in project "FallingBlocks_001.vcxproj" -- FAILED. 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:00.01 ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

dbrgss commented 11 years ago

Should be fixed. Please re-verify.

v1.01.0022

allee commented 10 years ago

See #163

srinivas4912 commented 10 years ago

Could you please update instructions on how to run the build scripts using VS2012/13.

guarnold commented 10 years ago

There are some requirements to be able to use the open source scripts:

Then you have to run the following two commands in this order: 1 - VSNDKPluginBuild.bat 2 - One of these (depending on the current VS version you are using):

After running both scripts successfully, you should be able to use this latest version of the plugin to build, debug and deploy your app.

pvallabhaneni commented 10 years ago

Verified on Win 7 64 bit using VS2012 , v2.0.0018 plugin, 10.1.0.4828 API and device containing 10.1.0.4828 OS. Able to build, deploy, debug a project after running the specified .bat files successfully.

zadmarbella commented 10 years ago

@guarnold We need to verify on a released version of the plugin which is for vs2010/12 and not just any. Also do we have uninstall instructions for when the user wants to install an officially released version of the plugin?

AndrewKnox commented 10 years ago

Changed to P3 as per email discussion with Dave and Russell.

guarnold commented 10 years ago

There is a script to uninstall the plugin (VSNDKPluginUninstall.bat).

Could you verify the Uninstall script and check if the plugin files are removed, as well as the bbndk_vs folder?

It is recommended to uninstall the installed plugin before installing a new officially released version.

pvallabhaneni commented 10 years ago

Installed the bellow scripts 1 - VSNDKPluginBuild.bat is installed 2 - for VS2012 -> VSNDKPluginSetupVS2012.bat is installed. Observed that "bbndk_vs" folder is placed in "C" drive. 3 - Open Visual Studio 2012 4 - "Blackberry" menu is not visible.

Note: Tried the scenario suggested in the bug #522 to run devenv.exe / setup in command prompt and opened the visual studio. Still Blackberry menu is not visible.

Observed that the plugin is not listed in the control panel -> Programs.

Also Executed the following steps:

  1. Run VSNDKPluginUninstall.bat file.

Observed that bbndk_vs folder is removed from "C" drive.

Assigning back to "Triage"