I’m trying to rebuild zlib.net and create an assembly I can reference in future projects in Visual Studio.
However, after building from the supplied source code and moving the resulting zlib.net.dll to C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies, while I can indeed add the zlib.net reference to a new project, I do not have any access to the underlying objects.
I believe I’m missing some important configuration(s) in the zlib.net.dll project settings file so I can generate an assembly that can be referenced at design time by other projects. I’m just not sure which.
Could you please help?
UPDATE:
Note that I’m testing the resulting assembly by using zlib.net (link above) own supplied demos. When I use the supplied zlib.net.dll all works fine. When I use the one I build from source, it fails.
You shouldn’t ever need to add something to the PublicAssemblies folder.
Place the assembly somewhere in your development folder hierarchy (perhaps
C:\dev\Reference\zlib.net\zlib.net.dll). When you want to add a reference, click Browse and locate the assembly in your dev folders. Then click the reference in Solution Explorer and bring up the Properties pane. Make sure Copy Local is set to true.If you have your solutions in source control, you’ll want to copy the DLL to the current solution hierarchy and reference it from there – you don’t want to force everyone to have some specific non-source-control folder to build a source controlled project.