0

I'm developing a plugin and want to use the automatic zip-and-upload bat files described in this article on developers.fogbugz.com. When I added these lines to my post-build events in my project properties in Visual Studio and built, it properly copied my static directory and zipped up the plugin, but failed silently on copying the zip file to my plugin uploads directory.

xcopy /Y /I /E "$(ProjectDir)static" "$(TargetDir)static"
"C:\Program Files\FogBugz7\Plugins\examples\_postbuildSln.bat" $(TargetName)

I discovered that the problem was the FogBugz directory was read-only. I make the upload dir not read-only, built again and it worked. After that build, however, the directory was once again read-only.

What is making it read-only when I build?

My VS solution is in C:\Program Files\FogBugz7\Plugins\examples

flag

1 Answer

0

It seems to be working now.. the directory does keep becoming read-only, but FogBugz is installing the zipped plugin from upload on heartbeat, then deleting it from the directory. I think the problem was actually that an initial version of the plugin caused an error on installation.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.