Skip to content

Commit

Permalink
[FIX MASTER] Fix windows path limitation link (conan-io#1356)
Browse files Browse the repository at this point in the history
* Fix windows path limitation link

* removed no longer working link
  • Loading branch information
danimtb authored and lasote committed Jul 8, 2019
1 parent fd3d02d commit 8b81a4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions howtos/vs2017_cmake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,13 @@ Using tasks with tasks.vs.json
Another alternative is using file `tasks <https://docs.microsoft.com/en-us/visualstudio/ide/customize-build-and-debug-tasks-in-visual-studio?view=vs-2017>`_
feature of Visual Studio 2017. This way you can install dependencies by running :command:`conan install` as task directly in the IDE.

All you need is to right click on your *conanfile.py*-> Configure Tasks (see the
All you need is to right click on your *conanfile.py* -> Configure Tasks (see the
`link above <https://docs.microsoft.com/en-us/visualstudio/ide/customize-build-and-debug-tasks-in-visual-studio?view=vs-2017>`_) and add the
following to your *tasks.vs.json*.

.. warning::

The file *tasks.vs.json* is added to your local *.vs* folder so it is not supposed to be added to your version control system. There is
also a feature
`request <https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/33814138-add-macro-buildroot-to-tasks-vs-json>`_
to improve this process.
The file *tasks.vs.json* is added to your local *.vs* folder so it is not supposed to be added to your version control system.

.. code-block:: text
:emphasize-lines: 7,9,16,18
Expand Down
2 changes: 1 addition & 1 deletion reference/conanfile/attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ It tells Conan to workaround the limitation of 260 chars in Windows paths.
.. important::

Since Windows 10 (ver. 10.0.14393), it is possible to `enable long paths at the system level
<https://docs.microsoft.com/es-es/windows/desktop/FileIO/naming-a-file#maximum-path-length-limitation>`_.
<https://docs.microsoft.com/es-es/windows/win32/fileio/naming-a-file#maximum-path-length-limitation>`_.
Latest python 2.x and 3.x installers enable this by default. With the path limit removed both on the OS
and on Python, the ``short_paths`` functionality becomes unnecessary, and may be disabled explicitly
through the ``CONAN_USER_HOME_SHORT`` environment variable.
Expand Down

0 comments on commit 8b81a4b

Please sign in to comment.