visual-studio-2010

Visual Studio 2010 disable mouseover to display hidden window

Usually there are tabs like Toolbox, Properties, Error List, Output, Find results... on the side of screen. When I mouseover to those hidden windows, the window will popup. Is there any way to disable it? Thanks. ...

How to make a release build in the VS Express 2010?

Or should I just copy all the files from bin\Release\ excluding .pdb? UPD: UPD 2: That is what I've found in the Advanced settings at the Build tab. Is it what I'm looking for? ...

VSTS 2010 version issue

Hello everyone, I have tried hard to find something to learn VSTS 2010 version comparisons, like Ultimate version, professional version, etc. Any brief document desribes their functional differences from developer perspective? thanks in advance, George ...

How to enable Snaplines in VS2010 Winforms?

HI I just migrated from VS2008 to VS2010 Pro. When I use windows controls in forms in Visual Basic, the snap lines to other control does not appear to help to place the the controls with others. I checked the the option, all was checked and set to be enabled but still no guide lines!! Any ideas? Regards ...

DB design strategy in Visual Studio

Hi All, I'm currently investigating ASP.NET MVC 2 and LINQ to SQL. It all looks pretty cool. But I have a few application and development lifecycle issues. Currently, I design the DB in SqlServer Management Studio. Then I update my DBML files by deleting and re-importing modified tables. Issues: I can't find how to simply update the...

How to extend Visual Studio to provide override-like behavior?

When you type the override keyword in a C# file in VS and press Space, you get a second menu offering the method to override. Can I extend this behavior with my own custom code that would use another keyword to pop up my own list of actions? ...

Lesser known VS 2010 extensions that provide great all purpose functionality?

What VS 2010 extensions do you recommend for improving all purpose development? I've been having a look through the ones on MSDN, started to wonder if there were any that provide some great/unique features but haven't really got popular for some reason? :) Also wondering if there are any other repositories for VS extensions? ...

Organizing Build Output (centrally)?

I have a solution that is building a lot of executables and assemblies which need to be in a specific folder hierarchy to work. Mostly all the .exe files and their accompanying .dll files must be in one folder because the main exe will spawn (via process.start) the other exe files and they will dynamically load assemblies. TS redirects ...

stricmp doesn't work

i'm having a problem using stricmp in a specific function, in other functions it works perfectly, except this one. the problem is that even if it compares the same string (char*) it doesn't return 0. what might be the problem? (sorry for the mess, i'll try formatting it) that's the code: Employee* CityCouncil::FindEmp(list<Employee*> *l...

Visual Studio 2010 Schema Compare from Code

I'm trying to use the Sql100DatabaseSchemaProvider to generate a schema comparison and update script in code at runtime. It's not the same task really, but I'm using this: http://blogs.msdn.com/b/bahill/archive/2010/05/04/leveraging-the-visual-studio-2010-database-deployment-api.aspx as a working reference... So far I've got to the po...

problem using file.seekp

i'm trying to write to append data to the end of a file, and am using the seekp(streamoff off, ios_base::seekdir dir) function but it doesn't append, somehow it writes the data in the middle of the file. i tried adding opening the file like this - file.open(resultFile,fstream::in|fstream::out); (as was suggested in other similar posts) t...

std intellisense in VS2010

I just noticed that eclipse has a extensive intellisense for stl. If you hover over any stl function or object you get information similar to what you would find in a c++ stl reference. This is however not the case in VS2010 and I'm wondering if there is any good plugin that might enable this? and even more far fetched... for boost as w...

publishing a site in release mode using aspnet_compiler in batch file

hi everyone i am trieng to create a batch task that will publish my site in release mode but with no luck... my script for doing so is this: aspnet_compiler -errorstack -nologo -fixednames -v / -p "C:\projects\mysite\COMPONENTS\sitefolder" -f -u "C:\projects\publish-mysite" my site has about 10 other projects in the solution. so i...

design for table join in .dbml file

hello, I am creating project with MVC vs 2010. I want to use LINQ for queries. I have created a .dbml file and drag and drop tables on it. In some online tutorials there are scalar and navigation properties while dealing with table join in designer surface. How to get these properties, shown in designer surface in .dbml file. Can a...

Visual Studio 2010's strange "warning LNK4042"

I've just been beaten (rather hardly) on the head by some non-trivial warning from Visual Studio 2010 (C++). The compilation gave the following output: 1 Debug\is.obj : warning LNK4042: object specified more than once; extras ignored 1 Debug\make.obj : warning LNK4042: object specified more than once; extras ignored 1 Debug\view...

FileNotFoundException when using Microsoft.VisualStudio.Coverage.Monitor.dll

C# console app with a reference to c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\DataCollectors\x86\Microsoft.VisualStudio.Coverage.Monitor.dll: using Microsoft.VisualStudio.CodeCoverage; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { ...

Starting multiple projects when debugging in Visual Studio 2010

In Visual Studio 2010, I have a web application and a console application (actually a service using NServiceBus, but it runs locally as a console application) that I want to both startup when I hit Debug. Right now I have the Web Application set as the startup application and it opens in a browser, then I right click on my Service and...

Passing command line arguments in Visual Studio 2010 ??

Hey Guys ! I am a novice coder.. Need your help .. I am currently working on a C Project and could not figure out how to pass command line arguments to my main function in Visual Studio 2010 Express Edition .. I want to debug and also kind of figure out how these command line arguments work.. PLEASE HELP !! Thankyou fellows ...

How to "upgrade" from VS 2010 Ultimate trial to Professional

I have Visual Studio 2010 Ultimate Trial installed, which is about to expire. I also have a retail box with Visual Studio 2010 Professional. So I thought changing my trial to the full version would be as simple as entering the key, but no, it tells me that the key is invalid. OK, so I ran the setup from the Professional DVD. It accepted ...

Legacy Security Policy in Visual Studio 2010 and COM References

I have a project using DevExpress 8.3 (2008.3) which I just recently upgraded to use VS 2010. After doing so, everything compiled fine but I got errors trying to use the designer. I resolved this as described here: http://stackoverflow.com/questions/2637089/netfx40-legacysecuritypolicy-in-design-time-mode by adding <NetFx40_LegacySecur...