| OLD | NEW |
| 1 .. _devcycle-vs-addin: | 1 .. _devcycle-vs-addin: |
| 2 | 2 |
| 3 ############################ | 3 ############################ |
| 4 Debugging with Visual Studio | 4 Debugging with Visual Studio |
| 5 ############################ | 5 ############################ |
| 6 | 6 |
| 7 | 7 |
| 8 .. contents:: Table Of Contents | 8 .. contents:: Table Of Contents |
| 9 :local: | 9 :local: |
| 10 :backlinks: none | 10 :backlinks: none |
| 11 :depth: 2 | 11 :depth: 2 |
| 12 | 12 |
| 13 Whether you're porting an existing project or starting from scratch, the Native | 13 Whether you're porting an existing project or starting from scratch, the Native |
| 14 Client Visual Studio add-in makes it easier to set up, build, run and debug | 14 Client Visual Studio add-in makes it easier to set up, build, run and debug |
| 15 your Native Client app by integrating the Native Client SDK development tools | 15 your Native Client app by integrating the Native Client SDK development tools |
| 16 into the Visual Studio environment. | 16 into the Visual Studio environment. |
| 17 | 17 |
| 18 .. Note:: | 18 .. Note:: |
| 19 :class: note | 19 :class: note |
| 20 | 20 |
| 21 The Native Client add-in requires Visual Studio 2010 with Service Pack 1. No | 21 The Native Client add-in requires Visual Studio 2012 or Visual Studio 2010 |
| 22 other versions of Visual Studio are currently supported. Visual Studio | 22 with Service Pack 1. No other versions of Visual Studio are currently |
| 23 Express is also not supported. | 23 supported. Visual Studio Express is also not supported. |
| 24 | 24 |
| 25 Introduction | 25 Introduction |
| 26 ============ | 26 ============ |
| 27 | 27 |
| 28 The Native Client add-in for Visual Studio helps you develop your application | 28 The Native Client add-in for Visual Studio helps you develop your application |
| 29 more efficiently in many ways: | 29 more efficiently in many ways: |
| 30 | 30 |
| 31 * Organize and maintain your code as a Visual Studio project. | 31 * Organize and maintain your code as a Visual Studio project. |
| 32 * Iteratively write and test your application more easily. Visual Studio | 32 * Iteratively write and test your application more easily. Visual Studio |
| 33 handles the details of launching a web server to serve your module and run | 33 handles the details of launching a web server to serve your module and run |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 Note: The PNaCl platform currently supports the newlib toolchain only. | 147 Note: The PNaCl platform currently supports the newlib toolchain only. |
| 148 | 148 |
| 149 Installing the add-in | 149 Installing the add-in |
| 150 ===================== | 150 ===================== |
| 151 | 151 |
| 152 In order to use the Native Client Visual Studio add-in, your development | 152 In order to use the Native Client Visual Studio add-in, your development |
| 153 environment should include: | 153 environment should include: |
| 154 | 154 |
| 155 * A 64-bit version of Windows Vista or Windows 7. | 155 * A 64-bit version of Windows Vista or Windows 7. |
| 156 * Visual Studio 2010 with Service Pack 1. | 156 * Visual Studio 2012 or Visual Service 2010 with Service Pack 1. |
| 157 * `Chrome <https://www.google.com/intl/en/chrome/browser/>`_ version 23 or | 157 * `Chrome <https://www.google.com/intl/en/chrome/browser/>`_ version 23 or |
| 158 greater. You can choose to develop using the latest `canary | 158 greater. You can choose to develop using the latest `canary |
| 159 <https://www.google.com/intl/en/chrome/browser/canary.html>`_ build of | 159 <https://www.google.com/intl/en/chrome/browser/canary.html>`_ build of |
| 160 Chrome, running the canary version side-by-side with (and separately from) | 160 Chrome, running the canary version side-by-side with (and separately from) |
| 161 your regular version of Chrome. | 161 your regular version of Chrome. |
| 162 * :doc:`The Native Client SDK <../../sdk/download>` with the ``pepper_23`` | 162 * :doc:`The Native Client SDK <../../sdk/download>` with the ``pepper_23`` |
| 163 bundle or greater. The version of Chrome that you use must be equal or | 163 bundle or greater. The version of Chrome that you use must be equal or |
| 164 greater than the version of the SDK bundle. | 164 greater than the version of the SDK bundle. |
| 165 | 165 |
| 166 Set environment variables | 166 Set environment variables |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 You can usually run the installer successfully with no arguments. The new | 223 You can usually run the installer successfully with no arguments. The new |
| 224 platforms are installed in ``C:\Program Files | 224 platforms are installed in ``C:\Program Files |
| 225 (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms``. | 225 (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms``. |
| 226 | 226 |
| 227 In some cases system resources may not be in their default locations. You might | 227 In some cases system resources may not be in their default locations. You might |
| 228 need to use these command line arguments when you run ``install.bat``: | 228 need to use these command line arguments when you run ``install.bat``: |
| 229 | 229 |
| 230 * The MSBuild folder is assumed to be at ``C:\Program Files (x86)\MSBuild``. | 230 * The MSBuild folder is assumed to be at ``C:\Program Files (x86)\MSBuild``. |
| 231 You can specify an alternate path with the flag ``--ms-build-path=<path>``. | 231 You can specify an alternate path with the flag ``--ms-build-path=<path>``. |
| 232 The installer assumes Visual Studio has created a user folder at | 232 The installer assumes Visual Studio has created a user folder at |
| 233 * ``%USERPROFILE%\My Documents\Visual Studio 2010``. You can specify an | 233 * The addin itself is normally installed in ``%USERPROFILE%\My Documents\Visual |
| 234 alternate path with the flag ``--vsuser-path=path``. | 234 Studio 2012`` (or 2010 for Visual Studio 2010). You can specify alternate |
| 235 paths with the ``--vsuser-path=<path>`` flag. |
| 235 | 236 |
| 236 From time to time an update to the Visual Studio add-in may become available. | 237 From time to time an update to the Visual Studio add-in may become available. |
| 237 Updates are performed just like an installation. Download the new add-in using | 238 Updates are performed just like an installation. Download the new add-in using |
| 238 naclsdk update and run ``install.bat`` as administrator. | 239 naclsdk update and run ``install.bat`` as administrator. |
| 239 | 240 |
| 240 To uninstall the add-in, run ``install.bat`` as administrator and add the | 241 To uninstall the add-in, run ``install.bat`` as administrator and add the |
| 241 ``--uninstall`` flag. You'll need to run the Command Prompt program as | 242 ``--uninstall`` flag. You'll need to run the Command Prompt program as |
| 242 administrator in order to add the flag. Go the to the Windows start menu, | 243 administrator in order to add the flag. Go the to the Windows start menu, |
| 243 search for "Command Prompt," right click on the program and run it as | 244 search for "Command Prompt," right click on the program and run it as |
| 244 administrator. | 245 administrator. |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 functional code that is running is the same as STEP5. | 599 functional code that is running is the same as STEP5. |
| 599 | 600 |
| 600 NaCl64 Platform | 601 NaCl64 Platform |
| 601 ^^^^^^^^^^^^^^^ | 602 ^^^^^^^^^^^^^^^ |
| 602 | 603 |
| 603 Run the Native Client Module in the NaCl64 platform | 604 Run the Native Client Module in the NaCl64 platform |
| 604 You are still running the STEP6 code, but as a Native Client module rather | 605 You are still running the STEP6 code, but as a Native Client module rather |
| 605 than a Pepper plugin. | 606 than a Pepper plugin. |
| 606 | 607 |
| 607 .. TODO(sbc): port reference section? | 608 .. TODO(sbc): port reference section? |
| OLD | NEW |