Skip to content

Commit 7bea401

Browse files
committed
chore: README with manual MediaInfo.dll removal
1 parent 2c125dd commit 7bea401

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ How to include the all `MediaInfo.dll` runtime native libraries in `.csproj`:
8484
</ItemGroup>
8585
```
8686

87+
and remove the auto copying library:
88+
89+
```xml
90+
<Target Name="ReduceReleasePackaging" AfterTargets="Build">
91+
<!-- MediaInfoDLL will copy the MediaInfo.dll file according to the architecture, we do not use this usage so delete it manually -->
92+
<Delete Files="$(OutputPath)\MediaInfo.dll" Condition="Exists('$(OutputPath)\MediaInfo.dll')" />
93+
</Target>
94+
```
95+
8796
## References
8897

8998
https://github.com/MediaArea/MediaInfoLib/blob/master/Source/MediaInfo/MediaInfo_Config.h

0 commit comments

Comments
 (0)