visual-studio-2010

No Symbols loaded in mixed C# C(win32) project using VS2010

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...

Does Visual C# 2010 Express need Windows 7 SDK?

Do I need to install the Windows 7 SDK, to create programs with Visual C#? ...

How to install sql server management studio 2008 component only

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...

Why would the VS2010 Debugger Hang?

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...

Disabling C++0x features in VC 2010?

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...

F# project references not working when targeting x64 platform in Visual Studio 2010

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...

LNK1561 Linking Error in MSVS2010 when main is defined

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; }...

Windows Phone 7 CTP Refresh to Beta Build Conversion

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 '...

Why is there no intellisense in ASP.Net MVC 2.0 when assigning Model values to JavaScript?

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...

Finding all the places a variable has been set?

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 ...

Why won't the following keyboard shortcut work for a Resharper action on VS 2010 ?

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...

EF4 VS2010 not mapping linked tables properly

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...

Visual-C++ 2008 vs Visual-C++ 2010 - what has changed?

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++? ...

NUnit 2.5.7 requires explicit Debug Attach under VS2010

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...

Visual Studio - Working on the same project via multiple machines

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...

Turning on linker flags with CMake

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...

Which Windows Phone 7 emulator is new?

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? ...

Why does the Rich Text Box freeze when loading a large string?

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...

Looking for a tutorial to start with Unit Test and Visual Studio 2010

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. ...

Teamcity - which external diff viewer

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. ...