SharpDevelop is my main IDE when developing Code Beautifier Collection, Alex and #SNMP. But now as I use Windows 7 x64 build 7000 as my workstation at home, this IDE starts to show a few issues. Luckily the one I met today was documented in this old thread.
So here is the steps I took to make things work again.
- Launch an elevated Visual Studio Command Prompt (you may use .NET Framework 2.0 SDK Command Prompt if you don’t have VS installed).
- Navigate to PartCover folder. By default it should be
C:\Program Files (x86)\SharpDevelop\3.0\Bin\Tools\PartCover.
corflags partcover.exe. Make sure that it shows 0 for 32BIT and 1 for Signed like mine.
corflags partcover.exe /32BIT+ /Force.
- Now execute
corflag partcover.exe. If it shows 1 for 32BIT and 1 for Signed you are done.
- Download the snk file from this link. I choose
sn -R PartCover.exe c:\users\lextm\downloads\partcover.console.snk. This will resign the executable so it is strong named again.
corflags ..\NUnit\nunit-console.exe. Make sure that 32BIT is 0 and Signed is 0.
corflags ..\NUnit\nunit-console.exe /32BIT+.
corflags ..\NUnit\nunit-console.exeagain. Now you are done if 32BIT is 1.