Skip to content

Fix duplicate Compile entries causing CS2002 warnings - #11

Merged
stanoddly merged 1 commit into
mainfrom
10-fix-duplicate-compile-warnings
Mar 5, 2026
Merged

Fix duplicate Compile entries causing CS2002 warnings#11
stanoddly merged 1 commit into
mainfrom
10-fix-duplicate-compile-warnings

Conversation

@botoddly

@botoddly botoddly commented Mar 5, 2026

Copy link
Copy Markdown
Collaborator

Closes #10

Summary

  • Use relative paths in ComputeFluidifyOutputs so Compile Remove matches SDK glob entries — %(RelativeDir)%(Filename) instead of %(RootDir)%(Directory)%(Filename), and %(Fluidify.Destination) instead of $(MSBuildProjectDirectory)\%(Fluidify.Destination)
  • Add RebuildWithExistingOutput_NoDuplicateCompileWarning test that builds twice and asserts no CS2002 warning

Test plan

  • New test fails before fix, passes after
  • All 6 functional tests pass

@botoddly
botoddly force-pushed the 10-fix-duplicate-compile-warnings branch from b7276f4 to f319573 Compare March 5, 2026 07:31
@stanoddly
stanoddly merged commit de123a3 into main Mar 5, 2026
1 check passed
@stanoddly
stanoddly deleted the 10-fix-duplicate-compile-warnings branch March 5, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate Compile entries cause CS2002 warnings

2 participants