My project has several new C# modules and one C module (not C++) compiled using win32 system calls. I'm using the PInvoke interop layer to call the C code from the C#. The C function is getting called.
All modules are writing to a single bin directory and all write pdb files.
On running, and then stopping at a breakpoint right be...
Do I need to install the Windows 7 SDK, to create programs with Visual C#?
...
Hi, below is a list of the sql components that I installed in the Visual Studio 2010 Professional setup. Sadly, while trying to work I could not find sql server management studio 2008 .
Is there a way to download the sql server management studio 2008 separately and install only that component ?
Since in the past I installed sql server...
This just started happening on both my work box and home.
In Visual Studio 2010, I'll start a debugging session and the program will run to the first breakpoint and that's it.
I can hit F10/11/5 all I want. Nothing will happen. The only way to get out is a Shift+F5.
This driving me nuts!
Both machines are 64 bit Windows 7. Though, t...
Does C++0x mode in VC++ 2010 has an off switch? I am working on a project that supposed to compile on non 0x compilers, and therefore I want to compile against the current standard. (Even if non of the new features are being used directly, there are still subtleties that makes C++0x more premissive).
The closest switch I found was Confi...
Hi,
I have an F# library project that depends on a C# class library project, both in the same solution. Essentially in the F# code, I do open MyLib (where MyLib is the name of the C# project), and access some code defined in the C# project.
I compile and both projects build without errors or warnings. If I then change the target from A...
I have been making several projects to compile small SDL code tutorials from a tutorial site in Microsoft Visual Studio 2010 using C++>Empty Projects; and all of these projects have compiled fine. In all of these projects I've used this version of main for my entry point:
int main (int argc, char* args[]) {
//code...
return 0;
}...
EDIT: I modified the question title
after understanding the actual
problem.
I tried to run the sample RSS reader from Codeplex. I tried it on CTP version of the Windows Phone Developer Tools and it worked ok on that.
But now after trying it on beta version of the tools, it gave me following error.
The type or namespace name '...
I'm trying to add some Model properties into my JavaScript within my content page:
$(document).ready(function () {
createPager(1, <%=Model.TotalPages %>);
createUnprocessedPager(1, <%=Model.TotalUnprocessedPages %>);
});
Does anyone know if this is by design? Are you not meant to combine Model properties with JavaScript? Or is...
Hi,
Often when developing with VS2010 Ultimate, I want to check where in a codebase a value is being set (so where this is an assignment).
Is there a way, using VS2010 Ultimate, or a 3rd party debugging tool, to be able to get all the places in a codebase where a variable has been set or got?
Thanks
...
Although it most likely doesn't have anything to do with resharper... here's my setup
VS2010 Ultimate 10.0.31319.1
JetBrains Resharper 5.1 (C# Edition 5.1.1727.12)
I've configured the shortcut via VS2010 Tools > Options > Keyboard > C# Scheme
Command Resharper_UnitTestSession_RunAll
Shortcut Ctrl+Alt+\ (Global)
Use...
I have a pretty standard linked table setup
Table1
Id - PK, seeded
Table2
Id - PK, seeded
Table3
Table1Id - FK
Table2Id - FK
For some reason, when using the designer to create the edmx in VS2010, table 1 exists already. When adding Table2 and Table3, they get added, but no relationship gets attached between Table3 and Table1. As w...
Possible Duplicate:
How to find whats new in VC++ v10?
Visual-C++ 2008 vs Visual-C++ 2010 - what has changed? What are + and - of new VC++?
...
I've just "upgraded" from NUnit 2.5.2 to NUnit 2.5.7 so that I can run unit tests against an dll's built with .Net Framework 4. I've been using 2.5.2 for a long time via the "StartExternalProgram" property uner project properties. I've never had to explicitly debug attach to the NUnit process in that scenario.
Now under 2.5.7 it appear...
Hi,
I like to work between my laptop and desktop during different parts of the day.
I have recently installed VS 2010 Ultimate (Extreme) and am wondering the best way to go about sharing a project across these two machines.
Whether to go with something like subversion, or whether to put the project on a network drive and open it on the c...
When generating VS2010 targets with CMake, I would like the /LTCG flag turned on (only for release + releasewithdebinfo if possible, but its okay if its on for debug builds). How do I modify the linker flags? add_definitions() doesn't work because that only modifies compiler flags. And yes, I have wrapped it in if(MSVC).
How do I modify...
I just now installed Windows Phone 7 Developer tools Beta. I noticed that the icons on the emulator differ from the icons in the web site, demos, samples etc.
Mine looks like this;
But other uses a different emulator like this;
Why is that? which one is real? or latest?
...
I have a program where I basically need to load Rich Text from a StringBuilder.
The problem is, somethimes I get a string that is 100,000 lines long (and this is a possible situation for the program), including Rtf codes and colours.
The problem isn't building the string, it's when I asign the Rtf property to the StringBuilder.ToString...
Hi everyone,
What are the tutorial best suit for us to get start with Unit Test in Visual Studio 2010?
Hope to hear from you.
...
Do You know any tools that can be used as external diff viewer for Teamcity's Visual Studio plugin?
I'm using Visual Studio 2010 Pro and Teamcity 5.1.2.
...