- A windows shell extension that is used to update mp3's cover by dragging images and dropping to mp3 file.
- Development environment:
.NET Framework 4.8
Windows 10 20H2
VS2019
.
SharpShell 2.7.2
ID3 0.6.0
- If you are using command line tool such as
dotnet cli
:
# Mp3CoverDroper.Extension project
cd Mp3CoverDroper.Extension
rm bin/ obj/ -rf
dotnet msbuild -property:Configuration=Release -property:Platform=x64
# -> Mp3CoverDroper.Extension\bin\x64\Release\Mp3CoverDroper.Extension.dll
# Mp3CoverDroper.Implementation project
cd Mp3CoverDroper.Implementation
rm bin/ obj/ -rf
dotnet msbuild -property:Configuration=Release -property:Platform=x64
# -> Mp3CoverDroper.Implementation\bin\x64\Release\Mp3CoverDroper.Implementation.exe
- If you are using Visual Studio:
# You just need to open the sln file, build it in x64 platform with Release configuration.
- Note that you need to add the following into PATH.
sn.exe
ildasm.exe
(Program Files\Microsoft SDKs\Windows\vx.xA\bin\NETFX x.x Tools)ilasm.exe
regasm.exe
(Windows\Microsoft.NET\Framework64\vx.x.x)
- Open cmd as administrator, and you may need to restart explorer.exe.
Register.bat
# or execute the following commands
cd Mp3CoverDroper.Extension\bin\x64\Release
sn -k key.snk # generate key
ildasm Mp3CoverDroper.Extension.dll /OUTPUT=Mp3CoverDroper.Extension.il
ilasm Mp3CoverDroper.Extension.il /DLL /OUTPUT=Mp3CoverDroper.Extension.dll /KEY=key.snk # add key to dll
regasm /codebase Mp3CoverDroper.Extension.dll # register
# Note that before replace the dll, you need to unregister it first !!!
- Finally, setup registry for Mp3CoverDroper.Implementation.
; Use RegisterImpl.reg
; Note to replace to your Mp3CoverDroper.Implementation.exe path.
[HKEY_CURRENT_USER\SOFTWARE\AoiHosizora\Mp3CoverDroper]
"Implementation"="\"E:\\Projects\\Mp3CoverDroper\\Mp3CoverDroper.Implementation\\bin\\x64\\Release\\Mp3CoverDroper.Implementation.exe\""
- Open cmd as administrator.
Unregister.bat
# or execute the following commands
cd Mp3CoverDroper.Extension\bin\x64\Release
regasm /u Mp3CoverDroper.Extension.dll # unregister