Ok so its the "classes" that you want to make public? To be honest i have never tried to do that myself, but the document link that Maheshwar provided will give you the info about using that command and how to properly use it.
Hope that helps a bit. If not, let us know and we can look into other options. There may be some type of reason why the application blocks that from happening specifically.
Thanks,
Jon