المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ClickOnce Deployment Issue



C# Programming
04-18-2010, 11:22 PM
I published a C# Forms application to a directory on my server called ... /www/appBeta/ and the installation folder URL was /appBeta/

Everything worked and we decided to take the application live.

So I changed my publish folder to /www/app/ and the installation folder URL to /app/ and it seems that Visual Studio has cached the installation folder of Beta/

It correctly published the application to the /www/app/ directory, but the setup in that directory references the /appBeta/ directory.

I have shut down and restarted VS, I have rebooted my computer and I have gone through the publishing wizard again. The directories are correct in my project setting, but the published version has the OLD directory for the installation folder.

Why is it doing this? I have seen I can go back and manually change the installation URL, but it is frustrating to see my project settings are not applied. Where is this old directory getting cached and how to I remove it so I can do a clean build and publish with the correct settings?