ASPX file does not make sense in a class library. Class library is client-side project (even with Web controls) so it is unable to run a Web server to display aspx page (aspx cannot be opened directly in a browser). You need to add a Web site project to the solution and add class library as a reference to the Web site.
Did you create custom controls or user controls (ascx)? With custom controls you should only have class libraries, you may want to merge several into one. You cannot build library of user controls, user controls are not indended to be distributed in an assembly (compiled form).
Thanks
------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.