Solved

WCF - Won't let go of temp code

Posted on 2011-03-19
2
201 Views
Last Modified: 2012-05-11
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
Comment
Question by:Silas2
2 Comments
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 250 total points
ID: 35223702
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
 

Author Comment

by:Silas2
ID: 35242357
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now