Skip to content
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

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

jjonescz
Copy link
Member

@jjonescz jjonescz commented Nov 4, 2024

Workaround for #75680 until the fix flows into VS IntPreview.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 4, 2024
@jjonescz jjonescz marked this pull request as ready for review November 4, 2024 16:47
@jjonescz jjonescz requested a review from a team as a code owner November 4, 2024 16:47
@@ -17,7 +17,7 @@

<!-- Enable output of generated files back into our Generated directory -->
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
<CompilerGeneratedFilesOutputPath>$(MSBuildThisFileDirectory)\Generated</CompilerGeneratedFilesOutputPath>
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Contributor

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.

Copy link
Contributor

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>
Copy link
Contributor

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.

@jjonescz jjonescz merged commit 9dcb2a3 into dotnet:main Nov 5, 2024
24 checks passed
@jjonescz jjonescz deleted the absolute-path branch November 5, 2024 09:08
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Nov 5, 2024
@jjonescz jjonescz modified the milestones: Next, 17.13 P2 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants