More on VC++ Express 2010 Beta 2

Published December 18, 2009
Advertisement
No updates on the game today however, I have been working with 2010 Beta 2. My first test revolved around the ease of setting up Boost and Boost Test. In the past Boost was notorious for breaking intellisense. It was to the point where it was almost guaranteed to break it. This is the first change microsoft made. .ncb file are gone completely and intellisense is now driven by a database of sorts using a .sbf file.

The one thing I noticed about this is that Visual Studio now must parse the project and all its includes etc... and do so on the fly quickly as you make changes. This works phenomenally. There are a few bugs and quirks I noticed where there may be a slightly lengthy pause occasionally after typing a . but that could be related to a issue I was having that I will get into. The best thing is though it works with boost flawlessly. When you frist create your project it takes a few secs to parse the entire boost lib. Does not break intellisense and even gives you a tooltip showing the arguments functions take. Also it is guaranteed to resolve after use press a . which is even better yet.

This issue I talk about was originally in prior VS versions to do boost unit testing you needed to link to the lib of the project you are testing. This was done with a right click option called Project Dependencies. This option still exists but I was having a lot of issues with it. This is because microsoft changed the build engine for C++ from vcbuild to msbuild.

With a simple question MS came to the rescue and told me about a new feature called project to project references. I was told all old vs solutions that are coverted are auto converted to use project to project references where they were using project dependencies to ensure proper linking. They told me to switch to using project to project references. So I did and it is very easy. Right click on the project that needs the reference. Go to properties then common config. From there you go to references and add. Your projects auto pop up to select from then you select and hit ok and bamb good to go. Yes you still need to tell the referencing project where to find the header files.

Once I did all that surprisingly it seems intellisense is even faster did not notice any slowdowns at all. Most of all I did not have to do my workaround to get the lib to link.

I must say I am very impressed with this release. I think it will make life better for all.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement