Plugin Developer Discussion

Discussion for FogBugz Plugin developers

Zip file with dll != just the dll

I have the following post-build script

cd $(TargetDir)
"C:\Program Files (x86)\FogBugz\accessories\zipit" "C:\Program Files (x86)\FogBugz\Plugins\upload\KanbanBoard.zip" $(TargetPath) static
REM copy $(TargetPath) "C:\Program Files (x86)\FogBugz\Plugins\upload"

The REMed line results in the plugin being loaded by FB, but when I use the zipit line, FB gives the following errors:

Error uploading plugin from C:\Program Files (x86)\FogBugz\Plugins\upload\KanbanBoard.zip. - Hide Notification
5/3/2009 3:08 AM (GMT-07:00): Error loading plugin: No plugin assemblies found in KanbanBoard.
Error uploading plugin from C:\Program Files (x86)\FogBugz\Plugins\upload. - Hide Notification
5/3/2009 3:08 AM (GMT-07:00): FogBugz found files in the plugin upload directory, but none were FogBugz Plugin assemblies. In order to be considered a FogBugz Plugin assembly, a file must be a .NET assembly with the FogCreek.Plugins.AssemblyFogCreekPluginIdAttribute set.
Stefan Rusek Send private email
Sunday, May 3, 2009
 
 
I have confirmed that the dll is in the root directory of the created zip file.
Stefan Rusek Send private email
Sunday, May 3, 2009
 
 
Also the zip file works fine if I upload it through the UI.
Stefan Rusek Send private email
Sunday, May 3, 2009
 
 
If you just manually drop the zip file into the /upload directory does it give the same error?
David Fullerton Send private email
Monday, May 4, 2009
 
 
nope
Stefan Rusek Send private email
Tuesday, May 19, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz