• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

WCF - Won't let go of temp code

I'm using WCF ( in a project with Silverlight/Entity Framework, I don't know if that's germane to my problem), and every time I change any code behind the WCF I have to break the interface, re-run Update Service ref in the consuming project to clear the (I guess) web server/cassini's use of the old code in c:\users\appdata\local\blah blah.
I can't delete the files without closing down VS.
Is there an easier way of doing this?
0
Silas2
Asked:
Silas2
1 Solution
 
Miguel OzSoftware EngineerCommented:
Steps:
- Close the aspnet server (icon on your main window toolbar when running your web service)
- On  your solution context menu click clear.
- Now build and run your solution.
(Assumption: You are using VS only, you are not deploying to IIS)
0
 
Silas2Author Commented:
Thanks for getting back to me, sorry about my late response, I've been away.
When I pull up the context (right mouse click) menu on the solution in the solution explorer, I don't get a 'clear' option, 'Clean Solution' is the only entry starting with 'CL'.
I'm using VS 2010 Pro with the PowerCommands Extensions, am I missing something?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now