Skip to content

[FIX MASTER] Fix windows path limitation link #1356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>`_
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find the new link for this one so I removed as I didn't seem so crucial

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