KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
We have a number of projects, and each lives deep in a folder structure. When one set of projects needs to reference a project in a different folder, the reference can fail because the relative path to is in VS is too long. For example, project 1 will be in: C:\folderA\folder1\folder2...\folderN\myProject1.csproj It references another project: C:\folderB\folder1\folder2...\folderN\myProject2.csproj The HintPath to the reference is stored as a relative path, as in ............\folderB\folder1\folder2...\folderN\myProject2.csproj When VS loads the solution, it can't resolve the reference because the absolute path it builds includes numerous ../'s such that the path exceeds 256 characters. And the build fails. We fix it by editing the csproj and putting in an absolute path, which is just silly. What is the best solution for this?
Tags (comma-separated)
Save Edits
Cancel