Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App_Code folder to dll in vs2013

We have a superbly old web service on our production server that I applied very small updates to. All that is in the project is

App_Code folder
     IService.cs
     Service.cs
Bin folder
     a few other dll's
Service.svc
web.config

All i've done is make a few changes to Service.cs. On the server, the structure is:

Bin folder
    App_Code.dll
    other dll's
PrecompiledApp.config
Service.svc
Web.config

All I really want is to swap out that App_Code dll. Using ILSpy, I confirmed it just contains those two .cs files. However, when I build/publish/anything the app in VS2013, I cannot get it to create the App_Code.dll that I need. I've been researching this the most of the day and haven't found a solution. Clearly I'm not understanding how these old services work. Can someone point me in the right direction?

like image 951
Jonesopolis Avatar asked Mar 25 '14 16:03

Jonesopolis


1 Answers

Got it. When you go to the publish screen, go to Settings -> File Publish Options -> precompile during publishing.

Don't do like I did and overturn your desk and threaten to hulk smash your coworkers in anger.

like image 192
Jonesopolis Avatar answered Oct 05 '22 23:10

Jonesopolis