I'm stuck with a weird VS2008 C++ issue, that looks like operator precedence is not respected.
My question is what is the output of this:
int i = 0;
std::cout << ((i != 0) ? "Not zero " : "zero ") << ++i << std::endl;
Normally the ++ has precedence over the <<, right? Or is the << considered like a function call giving it a hi...
While I'm working, at various times that don't seem terribly random, the windows keep moving around.! This is a picture of my Visual Studio layout. It's across two screens, so the Solution Explorer is on the right side of the left screen, and the code window is full-screen on the right.
When this happens, the Solution Explorer (and al...
Hi
I'm using VS2008 and building a WinForms mobile application targetting the Compact Framework 3.5 and Pocket PC 5. I'm using the VS unit test functionality and the tests run OK but won't stop at breakpoints. I keep getting the dreaded "breakpoint will not currently be hit, no symbols have been loaded for this document" message. The so...
I'm using TortoiseSVN and Visual Studio 2008. Is there any way to update my project's subversion with svn's version in every build?
For example, 1.0.0.[svn's version] -> 1.0.0.12
...
I attempted to start a blank VS2008 project and follow along with the things being typed during the lectures, but I ran into a horrendous bunch of link errors. In the zip file for assignment 1 for the PC, there is a folder called CS106B.
First I told the compiler where the header files are (they're in the CS106B folder).
Next I had to t...
Hello team,
We've around 5 Test Runs scheduled as part of a build (VS2008) to run nightly. I have configured timeout values of my TestRunconfig file with following values,
I haven't set any "runTimeout" value - so i assume this test run will run infinite but each test run should only run for maximum of 5 mins. However, when the test...
Let's assume that I have
snippet A
snippet B
where snippet A contains snippet B n times with n > 1.
Right now I have copied the content of snippet B into snippet A. This has the disadvantage, that whenever I change snippet B, I have to additionally change snippet A. Therefore, my question is whether there is some kind of statemen...
I develop a website and I have this problem:
The registered users on the website should put a (date & time) field, and when the current date will be the same of this date a function (that I developed) should be called.
How can I do that?
Your Faithfully.
...
I have a solution, which I was working on yesterday without issue. Today I have opened the same solution and VS 2008 has underlined certain using directives in red. Mousing over the underlined directives brings up the tooltip: "Am I missing an assembly reference?" I am not, as I tried to add the references in and it does nothing to solve...
I have a new Visual Studio 2008 Database Project (Data Dude). It was generated by pointing at our existing database. I have now made a few changes (new columns, tables, indexes, etc) and I am trying to generate the deployment (diff) script for deployment. I have a Schema Comparison setup to do the comparison and generate the diff scri...
Hi all,
during development of our application we use a branching structure and while we are developing another team is using earlier builds of our software to create content with it.
To facilitate easy swapping between builds and teams I was hoping to use empty Hintpaths in the content projects' csproj files so that they can use our GA...
i'm using vb 2008 and local database sql server compact 3.5 to build a application.
the problem is that i can't insert a new data to the database from the app. i'm wrote the query right at dataset and using table adapter. but when i call the query, it succeed but the data don't exist at database.
for example:
at table adapter, i made Add...
Since I started to use Code Contracts in Visual Studio 2008 (C#), building my dlls goes really slow. I haven't got static checking turned on, but apparently rewriting takes forever...
Is there way to solve this and will this be improved in future versions of Microsoft Code Contracts?
Update: When building in VS2008, even when Static an...
I am getting weird problem, the crash happens at random times, for example i managed to use the 3d app for a while without crashing, then most of the times it crashes always when i suddenly render a lot of objects at same time.
I have recently noticed that changing the huge texture surface on this ATI card will crash my whole computer ...
Hey,
I'm trying to edit some .RPT files via VS08/Crystal Reports.
Problem is, if i create new elements or delete/move existing elements, the text below (within a new section) floats up to (or above) the element i created.
How do i create elements with an absolute "top-value"?
Other than that, if there are there any design-essentials-t...
What are the most used TDD packages for VS2008?
...
Hi Folks!
I'm searching for a way to implement a designer/editor like the aspx-Designer in VS2008.
We use a custom XML-Format and want to edit it graphically.
We already have a Designer and want to integrate in VS.
Is there a good tutorial?
I want to adapt to features like "switch to code" (and those tabs at bottom of the window).
So ...
Hi,
When I debug a web project (WCF, website etc) I find it convenient to fix the port number that the webdev.server.exe uses to server the page as I don't have to switch the port number in other config files that consume that service.
My problem is that over time visual studio becomes unable to use the ports. The error message I get ...
I have two great tables that I would like to use as foundation for an even greater third table!
The output depends on date interval, like 09/01/2010 - 09/03/2010
Example of Output from TABLE A - - (ALLOCATED Testers)
Date Country Allocated testers
09/01/2010 Nigeria 0
09/02/2010 Nigeria ...
I have a Windows Mobile project that runs some code before displaying the first form. If I put a breakpoint on a method I know is called before the form is displayed I get the hollow breakpoint warning symbol that tells me "the breakpoint will not currently be hit. no symbols loaded for this document".
When I look in Debug -> Windows -...