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.

18 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. 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
  3. NMAT Preparation 2021 – Never Miss Any Thing!

    NMAT PREPARATION

    ReplyDelete
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. Thank you for sharing your experience in using Visual Studio. https://cincinnati-seo.com/

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

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

    ReplyDelete
  12. "The reviews and ratings on sdmoviespoint.com.in help me decide which movies to watch."

    ReplyDelete
  13. "Kerala Lottery Result's transparency is a testament to its commitment to fairness and integrity."

    ReplyDelete
  14. A trip to Nashville isn't complete without visiting Music Row, home to buildings housing record labels contributing to the $9.7 billion economic impact in the area. RCA Studio B, where icons like Dolly Parton and Elvis recorded, is a must-see. Don't miss the "controversial" Musica statue in the roundabout. Tours of RCA Studio B require tickets from the Country Music Hall of Fame. kolkata ff

    ReplyDelete