最好不要这样做,因为微软本身都不建议把class文件放到App_Code下面,而且加入你把那些CS文件放入到另外一个Project的Lib里面,就不能用了。
All partial-type definitions meant to be parts of the same type must be defined in the same assembly and the same module (.exe or .dll file). Partial definitions cannot span multiple modules
从这个就可以看出来了,其实Partial class根本就不是用在你这种情况的。