Try adding the compiler directive ILVERIFY to the project properties-->COBOL tab of the ClassLibrary1 project. This will ensure that the assembly produced will be verifiable.
I do not understand your statement:
"I am doing this because the pages are not successfully compiled because of the header information being different..."
Can you provide more detail on this statement?
Thanks.