質問

I have a asp.net application, in which I have App_code folder with different classes. Whenever I publish my application it creates single App_Code.dll for all classes, which is fine, but now I have to add one more class but I want to publish only that class file. Is it possible??

役に立ちましたか?

解決

Try with adding new project (Class library ) in solution, add your class file in that project . And use it by adding reference it to in another project.

他のヒント

Then you shouldn't publish, place the code as is and it gets compiled on first user's request. And whenever new class is added, AppPool gets restarted. Of course, this comes with slowness for first user and after that it is similar to what is done with publish.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top