Add shader code to dll

What is the proper way to add shader code to a class library? I am building on visual studio 2010, it seems no matter where i put my shader code i get errors. Is there a specific wrapper i need to add or is loading shaders from a dll not supported/ill-advised?

Sorry, but that’s impossible. Shaders and regular code are two different things!