Friday, April 19, 2013

Visual Studio 2010

I am not a fan of Visual Studio. Unfortunately I must use it for some projects. Recently I was forced to upgrade to Windows 7 and Visual Studio 2010. Not wanting to duplicate all my files, I decided to leave them on a network drive and just access them via the network.

Seems like a good idea, after all, why have a network if you store everything locally? Well, it seems that Visual Studio does not like that.

For some settings it will decide to find a suitable local directory for you. For some other settings it leaves you high and dry.

For example, when I try and build my program I get the error:

Error    1    error C1033: cannot open program database '\\server\share\working\project\debug\vc100.pdb'    \\server\share\working\project\stdafx.cpp    1    1    project

The internet was of little use which is why I thought I would put it in my blog.

This goes a long way to explain my criticism of Visual Studio. After installing several gig of software, is that the best error message it can come up with? Well I will try the help, Oh, that is online only. After jumping through some hoops, the help tells me that:

This error can be caused by disk error.

Well, no disks errors here. Perhaps it means that it does not like saving the .pdb on a network share. What is a .pdb anyway???

In the end, my solution (can I call it that or as Visual Studio hijacked that word?) was to save intermediate files locally:
  • Open Project -> Properties...
  • Select Configuration Properties\General
  • Select Intermediate Directory
  • Select <Edit...>
  • Expand Macros>>
  • Edit the value (by double clicking on the macros or just typing in):
$(TEMP)\$(ProjectName)\Debug\
  • Select OK
  • Select OK

And that seems to sort it out.

14 comments:

  1. Thank you for your sharing. Thanks to this article I can learn more things. Expand your knowledge and abilities. Actually the article is very practical. Thank you!
    lucky patcher ,
    color switch

    ReplyDelete
  2. The article you have shared here very awesome. I really like and appreciated your work. I read deeply your article, the points you have mentioned in this article are useful
    Bad Ice Cream

    ReplyDelete
  3. Key Details of Microsoft Visual Studio 2010 Ultimate. Create, deploy and debug applications on a wide array of platforms with the industry ...

    download hotstar apkxyz

    ReplyDelete
  4. NMAT Preparation 2021 – Never Miss Any Thing!

    NMAT PREPARATION

    ReplyDelete
  5. trip to Nashville is not complete without a quick jaunt through Music Row, where most of the unassuming buildings housing record labels responsible for the $9.7 billion economic impact in the Nashville region are located. One particular point of interest, RCA Studio B*, where hundreds of artists (including Dolly, Willie Nelson, Elvis Presley) recorded.

    When exiting Music Row, don't miss the "controversial" Musica statue in the center of the roundabout. If you're in town during a special event or holiday, you may even find clothing on this nude piece of art.

    Music Square East, & Music Square West, Nashville, TN 37203
    *Just a note-- to tour the kolkata ff studio you must purchase a ticket through the Country Music Hall of Fame

    ReplyDelete
  6. Its always nice and i feel honored reading your Blog . Your Blogs always based on all basic concepts which anyone can understand so easily and relate to Pleasure to read your Blogs Sir.
    countdown timer

    ReplyDelete
  7. LottoAgent achieved a maximum in transparency when it comes to lottery wins. On their homepage, kolkata ff they list the latest winners at every moment. The statistics indicate around 7 million winning tickets were played on this website. You can see the player username, game, date, and sum won on the homepage.

    The provider has paid more than $89 million to its players until April 2021, and that sum will increase in the future. Since you can play all popular lotteries on this website, there is no reason why you can’t win multi-million jackpots at LottoAgent.LottoAgent achieved a maximum in transparency when it comes to lottery wins. On their homepage, they list the latest winners at every moment. The statistics indicate around 7 million winning tickets were played on this website. You can see the player username, game, date, and sum won on the homepage.

    The provider has paid more than $89 million to its players until April 2021, and that sum will increase in the future. Since you can play all popular lotteries on this website, there is no reason why you can’t win multi-million jackpots at LottoAgent.

    ReplyDelete
  8. When people meet someone of the opposing sex, they often have issues, which can lead to a host of issues. And thanks to a fantastic find - a find a russian bride - that may be easily fixed today. They're straightforward; you may pick any female you desire. This ceremony exceeded my expectations, and for the first time, I was able to experience joy with a loved one.

    ReplyDelete
  9. نقل الأثاث الثقيل ليس بالأمر السهل على الإطلاق ، وحتى أقل من ذلك عندما يتعين عليك تحريكه لأعلى الدرج! سواء كنت تنتقل إلى منزل جديد في طابق أعلى في شقة لا تحتوي على مصعد أو تحتاج إلى نقل بعض الأثاث إلى طابق آخر في المنزل ، فمن المهم استخدام الأسلوب الصحيح للقيام بذلك بأمان. اتخذ بعض الإجراءات لحماية الأثاث ومنزلك ونفسك من التلف والإصابة قبل أن تبدأ في نقل أي شيء. احمل قطعًا كبيرة على الدرج باستخدام مساعد أو استخدم عربة لنقل القطع الثقيلة الصغيرة والمتوسطة الحجم بمفردك بينما يكتشفك شخص ما من الأسفل. استفد من المعدات والتقنيات المتخصصة لتسهيل رفع بعض العناصر ووضعها في مكانها.
    تقديم خدمة نقل الأثاث بأفضل خدمة وأقل تكلفة وأسرع وقت وملائم للعملاء لتنفيذ عملية نقل الأثاث وتوفير المال والوقت للعملاء. جميع خدمات شركتنا بمعنى الخدمات الشاملة.

    دينا نقل عفش بالرياض

    نظافة المنزل تعتبر نظافة المنزل عاملاً أساسياً للصحة الجسدية والعقلية لأفرادها ، ولأن النظافة هي أساس الوقاية من الأمراض الناتجة عن تراكم الأوساخ والبكتيريا وتعكس صورة ونمط حياة صاحب المنزل ، تحتاج كل أسرة إلى إنشاء نظام للحفاظ على جميع تفاصيل المنزل والبقاء على اتصال مع جميع أفراد الأسرة
    يتم تنظيف المنزل لجعل المنزل يبدو أفضل ورائحته أكثر انتعاشا وأسهل للعيش فيه. بدون تنظيف المنزل، يمكن للجير أن يبني على الصنابير، وينمو العفن في المناطق الرطبة، وتظهر اللطخات على الأسطح الزجاجية، ويتكون الغبار على الأسطح، تفاعل الجراثيم يجعل سلال القمامة والمرحاض تفوح برائحة كريه وأنسجة العنكبوت تتراكم في الاسقف. الأدوات المستخدمة في تنظيف المنزل تشمل المكنسة الكهربائية والمكانس والمماسح والإسفنج، إلى جانب منتجات التنظيف مثل المنظفات والمطهرات المبيضات.
    أفضل شركة تنظيف منازل تقوم بتنظيف جميع انحاء المنزل حتى تجعله خالي من الاوساخ والاتربة ولان شركتنا مميزة فهي تقوم بتنظيف الاماكن الصعبة في المنزل حيث تستخدم أفضل معدات التنظيف وتمتلك عمالة مدربة
    شركة تنظيف بالخرج

    ReplyDelete
  10. You made some decent points there. I looked on the internet for the issue and found most individuals will go along with with your website.

    Dogforum.co.uk
    Information
    Click Here
    Visit Web

    ReplyDelete