Disclaimer

Any opinions expressed here are my own and not necessarily those of my employer (I'm self-employed).

Sep 14, 2013

The "Unable to remove directory "bin\Release\app.publish\" Azure packaging error

Just a quick note on an error I often run into when I'm working on my Azure applications. I usually create Azure packages and upload them by hand through the Azure management portal. Ever so often I get the following error when I create the package in Visual Studio (2012).
Unable to remove directory "bin\Release\app.publish\". Access to the path 'AzureStartupTest.Azure.cspkg' is denied.
 Turns out someone is holding on to that file!!

When you create an Azure package, VS opens a file explorer window showing you the published files. You should close this explorer window before you run the package command again. It also turns out that Internet Explorer holds on to the file if you've uploaded it through the Azure management portal. If you refresh (F5) the management portal, IE lets go of the file and you can run the package command again without problems.

It seems I'm not the only one on the Internet running into this problem. I found some shady advice out there, such as rebooting your computer or disabling the antivirus to make the problem go away. I would recommend neither. With the aforementioned trick you can safely re-enable your antivirus and get back to work.

38 comments:

  1. Refreshing the IE page i had opened did the trick for me, thank you for the tip!.....It's always wise to start with the simple solutions, no matter the level of the issue.

    ReplyDelete
  2. I simply deleted the bin\debug\app.publish folder and initiated a Rebuild and VS recreated the folder and all was fine

    ReplyDelete
  3. Geozilla family locator can be downloaded from this site.

    ReplyDelete
  4. I found some shady advice out there, such as rebooting your computer or disabling the antivirus to make the problem go away.click here

    ReplyDelete
  5. Very nice source. I think you will be also interested in another web-source where you can gain info about sprint family locator app.

    ReplyDelete
  6. Mini spy cameras are in all probability the most excellent models for spy gear given that they are trouble-free to hide and can be mounted or fixed to almost everything. cell phone tracker reviews

    ReplyDelete
  7. Informative post! I really like and appreciate your work, thank you for sharing such a useful information about Retail management strategies, keep updating the information, hear i prefer some more information about jobs for your career hr jobs in hyderabad .

    ReplyDelete
  8. Thank you for the tutorial! This is what I need to find.
    Adele instagram

    ReplyDelete
  9. Welcome to the Best writer Review, Here you can get the best All Assignment Help reviews sites. We strongly urge you to check our entire website once and we will assure you will find this review website very useful. Our hard work will be rewarded if students like you will appreciate our effort and spread the message about this site with your class-fellows and friends.

    ReplyDelete
  10. LOOKING FOR SOMEONE WRITE All ASSIGNMENT HELP
    For getting the best essays written hire the Professional Essay Writers of all assignment help.com who have knowledge in every field to write the best essays for you.Expert assignment helpers of All Assignment Help are well efficient and capable of creating unique assignments for college or university students all across the globe.

    ReplyDelete
  11. As a user of Kohls Credit Card Login , it is essential that you must have precise knowledge about the cards and the services it delivers; how to make
    the billing, how to recharge and much more. If you are facing all these issues, then you are in the right place, as here are the answers to all these questions.

    ReplyDelete
  12. Wondering for the top essay writing solution provider in Australia? Get all sorts of essay help at cost effective rate.

    ReplyDelete
  13. We are the finest British online coursework help to help students for almost a decade now. We have obtained the place of being the best writers for your choicest and student-friendly benefits.Our service has a pool of coursework writer who are actually expertise in these fields

    ReplyDelete
  14. Our team is not charding charge much from students and cover all their deadlines. The professional experts at StudentsAssignmentHelp.com offers outstanding make my dissertation writing services. Our writers cover all the important topics while composing an excellent dissertation for the students.


    ReplyDelete

  15. شركة مكافحة حشرات بالقصيم
    شركة تنظيف فلل بالقصيم
    شركة تنظيف منازل بالقصيم
    شركة تنظيف شقق بالقصيم
    شركة تنظيف كنب بالقصيم
    شركة تنظيف مجالس بالقصيم
    شركة تنظيف موكيت بالقصيم
    مكافحة النمل الابيض بالقصيم
    شركة مكافحة الصراير بالقصيم
    شركة مكافحة البق بالقصيم
    شركة مكافحة الفئران بالقصيم

    https://fcnsc.com/combating-insects-qassim/
    The cleaning company in Saudi Arabia is necessary to clean houses, villas, offices, offices, institutions and companies. Al-Qassim Cleaning Company is considered one of the best cleaning companies in Qassim city, because it provides cleaning service with high quality and best prices. Trained workers to use the latest equipment and advanced scientific methods in the field of cleaning and use the company new technology in the cleaning using steam technology and sterilization in all areas of cleaning and the company cleaning in the areas of Qassim and neighboring areas and a cleaning company in Qassim Cleaning the place and all the inside of the home furniture and carpets and electrical appliances and other The company provides cleaning service and guarantees customers high quality service

    ReplyDelete
  16. In the healthcare business, nurses are finding that individuals who have pursued an RN-BSN diploma program tend to be times prepared to proceed from traditional patient care to distinct roles in the health care sector. You can read more at http://coursework-writing-service.org/

    ReplyDelete
  17. This comment has been removed by the author.

    ReplyDelete
  18. We have all utilized the component sooner or later and it very well may be effortlessly said that it is an extraordinary apparatus to have available to you to secure the protection of your work. windows 10 password removal

    ReplyDelete
  19. Programming Assignment help
    Programming Assignment Help is efficient in reducing stress from your academic life. It can save most of your time. Hence you can utilize your time in other necessary works. However, it is essential to choose a proper service; else it can trouble you badly. To avoid this, you must check the online reviews for a better Computer Science assignment

    ReplyDelete
  20. Easily, the post is really the greatest on this laudable topic. I concur with your conclusions and will thirstily watch forward to your future updates. Saying thank will not just be sufficient, for the great c lucidity in your writing. I will instantly grab your rss feed to stay privy of any updates. Solid work and much success in your business enterprise! www.ldpack.com

    ReplyDelete
  21. Great Site! I wanted to ask if I could quote a portion of your posts and use a handful of items for a school assignment. Please let me know whether or not that would be fine. Thanks www.baopackauto.com

    ReplyDelete

Copyright notice

© André N. Klingsheim and www.dotnetnoob.com, 2009-2018. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to André N. Klingsheim and www.dotnetnoob.com with appropriate and specific direction to the original content.

Read other popular posts