Skip to content

Commit

Permalink
Change the PostBuildEvent to use the AssemblyName (#31) (#32)
Browse files Browse the repository at this point in the history
The projectname can differ from the assemblyname.

Co-authored-by: Bart Donninger <[email protected]>
Co-authored-by: Bart Donninger <[email protected]>
  • Loading branch information
3 people authored Jan 6, 2025
1 parent f58a932 commit 96b231b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MockMe/Build/MockMe.targets
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<!--<UsingTask TaskName="MockMe.Build.ReplaceGenericMethods" AssemblyFile="$(MockMeAssembly)" />-->

<Target Name="ReplaceGenericMethods" AfterTargets="PostBuildEvent">
<Exec Command='dotnet --roll-forward Major "$(MockMePath)MockMe.PostBuild.dll" "$(MSBuildProjectDirectory)\$(OutputPath)$(ProjectName).dll"' />
<Exec Command='dotnet --roll-forward Major "$(MockMePath)MockMe.PostBuild.dll" "$(MSBuildProjectDirectory)\$(OutputPath)$(AssemblyName).dll"' />
</Target>
</Project>

0 comments on commit 96b231b

Please sign in to comment.