Steps for getting a SDR# plugin to compile using SharpDevelop:
- get sdrdev from sdr# plugin page
- go to GITHUB and get SDRSHARP Common trunk
- copy SDRSHARP Common trunk into /sdrdev/SDRDEV/
- copy ZoomFFT into a new folder and rename to your plugin
- rename all ZoomFFT's to your plugin name
- go through *.cs and rename the namespace to your plugin name
- open SDRSharp.ZoomFFT.csproj and replace all occurrences of ZoomFFT with your plugin name
- open SDRSharp.ZoomFFT and replace all occurrences of ZoomFFT with your plugin name
- open SDRSharp.yourPlugin.csproj and copy the following 4 XML propertygroups:
- copy the block of propertygroups into SDRSharp.Common.csproj
- copy the block of propertygroups into SDRSharp.Radio.csproj
- copy the block of propertygroups into SDRSharp.Panview.csproj
- go to the properties directory inside your project and open AssemblyInfo.cs. Edit to reflect new project name.
- set compiling option to "allow unsafe code"
- create ./bin/debug folders in your radio, common and panview folders; and then go to your SDR# install and copy SDRSharp.radio.dll, SDRsharp.panview.dll and SDRSharp.common.dll into them. DO NOT COMPILE radio using the project file. (a couple of interfaces are missing in the radio source code and compiling a fresh DLL won't work, so just copy them from a working install.)
- now build the project
- go to /bin/debug/ and copy the DLL into your sdr# folder where the other DLLs reside. Edit "plugins" XML file and add your plugin.
- start SDR# and the plugin should appear. If you've made a mistake in assembling the DLL, you will get an error. however, the error will be fairly easy to track to the problem. took me about 2 hours to get it right.