Reference not updating
Options
Hello. Recently I added a reference in LINQPad to some custom assemblies I had developed. I then used them in my linqpad query. Later, I added new classes and methods to my assemblies, and rebuilt my project. However, my linqpad query could not access the new stuff that was added. I would get "type or namespace not found" errors. The LinqPAD intellisense could see the new stuff, but when actually executing the query I would get errors.
I have tried everything I could think of. I tried deleting ad re-adding the references. I tried deleting the linqpad temp folder. I tried uninstalling/reinstalling linqpad, but I am still having the same issue.
What else could I try?
I have tried everything I could think of. I tried deleting ad re-adding the references. I tried deleting the linqpad temp folder. I tried uninstalling/reinstalling linqpad, but I am still having the same issue.
What else could I try?
Comments
-
Has anyone ever seen this?
Here is a screenshot.
As you can see, i get an error, but intellisense sees it. -
Are you certain that you're pulling the references from the correct location?
-
Go to query properties -> "Additional namespace imports" tab -> Cleanup
-
Thanks. I tried the cleanup but no luck.
I am sure I am pulling the reference from the correct location. If you take a look at my screenshot above, you can see that Intellisense sees the object, but when I run it, it does not. It's like an old version is cached. -
Further troubleshooting:
I copied the exact same DLLs to my coworkers machine. He ran the query and it worked. It seems like the old one is cached on my machine. -
Could you have an older version referenced in 'My Extensions' or located in your Plugins folder?
-
sgmoore, Thank you!!! You were right, there was an old copy in my plugins folder.