Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Feb 15, 2023
1 parent 5c12a62 commit 556072c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Documentation/guides/messages/apt2264.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ you could use
Which is much shorter and much less likely to encounter path issues.

However this is no always possible. Sometimes a project or a environment requires
deep folder structures. In this case changing the location of the `$(BaseIntermediateOutputPath)`
can solve these problems. In order for this to work the setting MUST be changed
before ANY build or restore occurs. To do this you can make use of the MSBuild
`Directory.Build.props` support.
deep folder structures. In this case enabling long path support in Windows *might*
be enough to get your project working. Details on how to do this can be found
[here](https://learn.microsoft.com/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#enable-long-paths-in-windows-10-version-1607-and-later).


If long path support does not work changing the location of the
`$(BaseIntermediateOutputPath)` can help solve these problems. In order for this
to work the setting MUST be changed before ANY build or restore occurs. To do this
you can make use of the MSBuild `Directory.Build.props` support.

Creating a `Directory.Build.props` file in your solution or project directory which
redefines the `$(BaseIntermediateOutputPath)` to somewhere nearer the root of the drive
Expand Down

0 comments on commit 556072c

Please sign in to comment.