Skip to content

Commit bb65636

Browse files
r0073rr0rclaude
andcommitted
Fix PostBuildEvent to skip copy if mIRC directory doesn't exist
- Modified PostBuildEvent to check if C:\mIRC exists before copying - Prevents CI build failure on GitHub Actions where mIRC is not installed - Local development builds will still auto-copy DLL and script to mIRC Fixes: MSB3073 error in GitHub Actions workflow 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent da5b8db commit bb65636

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e.vcxproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@
119119
<OptimizeReferences>true</OptimizeReferences>
120120
</Link>
121121
<PostBuildEvent>
122-
<Command>copy /Y "$(OutDir)e2e.dll" "C:\mIRC\e2e.dll"
123-
copy /Y "$(ProjectDir)e2e.mrc" "C:\mIRC\e2e.mrc"</Command>
122+
<Command>if exist "C:\mIRC\" (copy /Y "$(OutDir)e2e.dll" "C:\mIRC\e2e.dll" &amp; copy /Y "$(ProjectDir)e2e.mrc" "C:\mIRC\e2e.mrc")</Command>
124123
</PostBuildEvent>
125124
</ItemDefinitionGroup>
126125
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">

0 commit comments

Comments
 (0)