Reputation: 2286
I have a project which was done in a website. moving to a web app will be a real pain. It does get published, and thats how it gets moved to production. as a result of the publishing, all the classes inside the app_code folder get compiled into an app_code.dll file.
I want to import this dll into another project. it imports fine. but when i try to deckare an object from inside, my new project cant get a reference to the object.
Can this be done?
Upvotes: 0
Views: 348
Reputation: 45083
Just don't do it. Create a class library project and encapsulate the functionality into a named dynamic link library, which is the output, that can be shared and versioned properly (as opposed to its history being mixed with the nature the website that uses it) in its own right.
Upvotes: 3