Home

Running with lprun after schema update

I deployed a .linq file to a server along with the LINQPad and lprun executables. It seemed to work ok for the first few days. Then I had to make a change to a table. I made the change and updated the .linq file. If I open up LINQPad (it's not installed, I just copied the exe) and run the .linq file manually, it works just fine. If I run it with lprun, it throws an error that indicates that it's not seeing the changes I made to the database.

I realized that my automated task was running as a different user, so I went in and deleted LINQPad cache files for that user, and it started to work.

My question: Is there a way to get it to update all of this without manually deleting the cache every time I need to make a change to the script?

Comments

Sign In or Register to comment.