visual-studio-2010

How can I change the date format for TFS work item query results in Visual Studio 2010

Using VS2010 with TFS and all the date columns in the query results are in US format (ie m/d/yyyy). Can I change this to the en-AU (Australian) format of d/m/yyyy? Or even the more useful yyyy-mm-dd? Is there a setting for this or is this format hard-coded into the software. My OS datetime format settings are set for standard Australi...

Java in Visual Studio 2010?

Is there a way to manage/debug/compile Java projects in Visual Studio 2010? Before you answer, please read this. ...

Customize project context menu of visual studio

Hello, I'm using Visual Studio 2010 with some add-ins and extensions. The problem is now that the context menu of the project items in the solution explorer is getting so large that I always have to scroll down for the "Properties" and the "Open in Windows Explorer" which I use most. This is getting very nasty. Is there a possibility to...

Team Foundation Server 2010 - Source Control & Automated Build

Hi, We are currently using VS 2005 and VSS, however we have some upgraded VS 2010 Premium with MSDN essential licenses as we are MS partner. We are planning to use TFS 2010 for Source Control and Build Automation and have following queries: We currently use VSS where it is integrated with legacy applications such as Classic ASP, VB 6...

How to define multiple Commands for same File Type in VS2010 Deployment Project?

In my solution I have 2 project. Let's call them the "editor" and the "player". They both operate on the same file type. Now in my deployment project, I have set up a new file type ".myext", and defined the command to the primary output of "editor". Then I created an action "Edit". So far so good. Now I want a second action called "Play"...

Migrate solution from 3.5 to 4.0

Hello, I'm developing an XBAP solution which contains 52 projects. I upgraded already the solution from visual studio 2008 to visual studio 2010 without any problems; but I would like to also migrate all the projects from the .Net Framework 3.5 to 4.0 without having to do it manually. Does there exist a tool or some other automated way...

Code sections and intellisense in html tags and attributes

Hi there. I noticed this in earlier versions of Visual Studio. But now i use VS 2010 and it is still there, so i want to ask if this is supposed to be so, or if its just not fixed yet. Using the <%= %> tags inside 'real' html tags works and is in most cases the way i use them. But the intellisense and code highlightning does not work an...

How can I set a breakpoint in .NET Framework source code using Visual Studio 2010 Express?

I need to set a breakpoint in System.Web.Handlers.ScriptModule.OnPostAcquireRequestState and then step into some of the System.Web.Script.Services.WebServiceData methods. But I only have Visual Web Developer 2010 Express (or other Express SKUs). I have configured the Microsoft Symbol Server and unchecked the Just My Code option. I can s...

VS2010 Database Project to Drop Database before deploy?

Is it possible to get VS to drop the destination database before a deploy? I've tried adding a post deploy script to the project, but it always comes back with active connections. Any ideas? Thanks! ...

Build Errors When Migrating to VS 2010 and .NET4.0 from VS 2008 and .NET3.5

Hi, I have a VS 2008 project. This project's target framework 3.5. Everything is Ok in this situation. I migrated this project to VS 2010 and I also changed target framework to .Net 4.0. Then I tried to build the project. But I got an error which says me to about to use "NetFx40_LegacySecurityPolicy" switch. So I used that switch and e...

Compiled .dll files requiring msvcr100.dll to load

I have a dll file compiled in MSVC++ 2010. It doesn't require any other extra library, yet only half of its users can load it because some are missing msvcr100.dll. Looking at the dependencies, it is requiring some basic functions like memcpy free malloc, though I thought those were standard C runtime functions. The code generation setti...

VS2010 modify intellisense popup order via an addin?

Is it possible to modify the order of the intellisense options shown when I hit ctrl-space? Specifically, I'd like to order them in scope, so that if I have a variable in my function that matches what I've typed so far then it goes to the top of the list. If there's a member in the class, that's next, etc. I'm just kind of sick of h...

Uninstalling VS Setup project prerequisites

We currently use a VS 2010 (upgraded from 2008) setup project to install our application, and utilize the SQL Server 2008 install prerequisite. Well wouldn't you know, management has got it in their head that everything (including prerequisites, but not .net) that's installed by the application must now be uninstalled by the uninstaller...

How the default website in VWD 2010 works?

Ok, this might sound as a silly question, but I am a newbie without experience, and I am curious how stuff works, I am not for the "just works". The default website generated by VWD2010 is documented somewhere? I searched in MSDN but no luck. If i understand how it works, it would be better, to understand how login is implemented, the ...

TFS 2010 Custom Build Activity TF215097 error

I am working on developing a system that employs custom build activities using TFS 2010. Sometimes when I create a new XAML template in visual studio and run my build definition I get an error that says... TF215097: An error occurred while initializing a build for build definition ...... Cannot create unknown type '{clr-namespace:Aut...

How to build 64-bit Visual Basic.NET in Visual Studio 2010?

Hopefully this is a simple question and I have just overlooked something somewhere... I am writing VB.NET stuff in VS2010 on Windows 7 64-bit. It seems to build by default for a 32-bit target, how to I tell it to make a 64-bit executable? I went to the project properties -> Compiler -> Advanced, but don't see the option anywhere. Oh, ...

Using Crystal Report with SQLCE

I'm developing a local application with C#, and I would like to use Crystal Reports but when I use the wizard it doesn't have the SQLCE oledb connection, so I was asking if there's a way to do it programatically or any other way? :D ...

Change Default Shell for Command Line Application Run From Visual Studio

When debugging or running command line applications from inside Visual Studio (2008 or 2010 in my case). It is possible to switch the default shell from cmd.exe to a something else? ...

Code contracts for .NET 3.5 messes up VS10's debugger

I've recently migrated a lot of manual precondition testing and exception throwing with code contracts. Instead of upgrading to .NET 4, I've been using the Microsoft.Contracts.dll assembly so I could stick to .NET 3.5 a bit longer (this is a library that is used both by .NET 3.5 and .NET 4 assemblies). I've set up the contracts rewriter ...

Noob DetailView/FilterExpression Question (C#, Visual Studio 2010)

I have a DetailView (RunnerDetails) bound to RunnerDataSource, and I set the FilterExpression of that DataSource from user input: String WhereClause = FindBox.Text; RunnerDataSource.FilterExpression = WhereClause; RunnerDetails.DataBind(); The DetailView then immediately re-displays with the correct info, but w...