-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Use absolute path for CompilerGeneratedFilesOutputPath #75713
Conversation
@@ -17,7 +17,7 @@ | |||
|
|||
<!-- Enable output of generated files back into our Generated directory --> | |||
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> | |||
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath> | |||
<CompilerGeneratedFilesOutputPath>$(MSBuildThisFileDirectory)\Generated</CompilerGeneratedFilesOutputPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a note to the issue to undo this change and put a link to the issue here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't necessarily need to undo it, absolute path should work always
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm fine with leaving it as absolute as in the project file it means the same thing ultimately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can a long path be an issue?
@@ -17,7 +17,7 @@ | |||
|
|||
<!-- Enable output of generated files back into our Generated directory --> | |||
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> | |||
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath> | |||
<CompilerGeneratedFilesOutputPath>$(MSBuildThisFileDirectory)\Generated</CompilerGeneratedFilesOutputPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm fine with leaving it as absolute as in the project file it means the same thing ultimately.
Workaround for #75680 until the fix flows into VS IntPreview.