visual-studio

Is it possible to squash all changes from a branch in TFS into one commit?

For personal projects I use Git for SCM, but at work we use TFS. One thing that I like about Git is that it allows a person to easily squash all the changes made in a branch when pulling the changes back into the master branch. The benefit of this is that if their is anything wrong with the changes they can easily be removed be reverti...

Interpreting Visual Studio 2005 Threads Window

I created a simple .NET windows application in Visual Studio 2005 and on just entering the main form load event my threads window is as in the following image: http://img519.imageshack.us/my.php?image=threadshh4.jpg My questions are 1)Why are there so many threads in the first place when I haven't started any(apart from my application...

How to add a SqlMetal build step in VS2008?

I've created a one-line batch file to run SqlMetal to regenerate a LINQ to SQL DataContext for my database; this works great. *Refresh_DataContext.bat*: "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\sqlmetal.exe" /server:.\sqlexpress /database:MyDatabaseName /code:"%~dp0\DataContext.vb" /context:DataContext /vie...

Implementing a SQL Server 2008 User-defined function in managed code for geocoding

The goal: To create a .NET dll i can reference from inside SQL Server where i can pass in an address & get back a geocode string that i can stick into a geography data type as a POINT using STPointFromText() in t-SQL. I'm using Virtual Earth, I signed up for a developer account which gave me access to virtual earth staging servers. I'...

"Microsoft.ACE.OLEDB.12.0 provider is not registered" [RESOLVED]

I have a Visual Studio 2008 solution with two projects (a Word-Template project and a VB.Net console application for testing). Both projects reference a database project which opens a connection to an MS-Access 2007 database file and have references to System.Data.OleDb. In the database project I have a function which retrieves a data ...

Visual Studio opens Development Servers for all websites in my project

I currently have a Visual Studio solution with 8 web applications. When I try run one of these applications, 8 instances of the Casini Web Development Servers are launched. Is there anyway to specify that only the web application I have set as startup project will be launched and not all 8. I am using Visual Studio 2008 Thanks ...

DataTable visualizer disappeared from my Visual Studio

A while ago I noticed I don't have a magnifying-glass next to my datatables. I used to have it, and somehow, sometime, it disappeared... Has anyone seen this happen? Do you know how to help me view my datatables again? Update: I'm still clueless about this. Could anyone point me in some direction, where should I even start looking for...

How do I Refresh Excel whilst Debugging

If I am debugging (in this case a Visual Studio assembly called by Excel) and the code updates the Excel worksheet, how do I get Excel to redraw the current sheet / window whilst paused in the debugger? ...

C++ Code Profiler

Can anybody recommend a good code profiler for C++? I came across Shiny - any good? http://sourceforge.net/projects/shinyprofiler/ ...

Can you configure VS2008 Code Analysis to use a British English Dictionary?

VS2008 Code Analysis will flag a spelling mistake in an identifier using the IdentifiersShouldBeSpelledCorrectly warning type. This process is using an American dictionary by default because words are being flagged that are correctly spelt using the British spelling. For example, words like "Organisation" and "Customisation", etc... I ...

C#: How to include dependent DLLs?

I am using a 3rd party API which is defined in 2 DLLs. I have included those DLLs in my project and set references to them. So far so good. However, these DLLs have at least one dependent DLL which cannot be found at runtime. I copied the missing DLL into the project and set the 'Copy to output' flag but without success. What should I...

What does the VisualStudio Dataset visualizer exclaimation mark mean?

Some rows in the dataset visualizer have an exclamation mark for each column, other rows have the data as expected. I have been unable to track down a description for the exclamation mark or indeed any symbol within the dataset visualizer. ...

Visual Studio Source control explorer displays wrong folder names

My Source control explorer is displaying wrong random or empty names, i.e. in the folders area I see TFSServer > TeamProject > Branch > "Do not share t" while the source location textbox has the correct $/TFSServer/TeamProject/Branch/FolderName. I'm not sure if this is related to sharing the drop location folder on the build machine. Has...

How do I speed up visual studio with a large number of projects?

Visual Studio 2005 is very slow with a solution with 21 projects. Any ideas how to speed it up? ...

Your experiences with Visual Studio 2010 CTP?

I just saw the anouncement for the Visual Studio CTP today, and am currently waiting for all those files to download... Have you already tried the CTP, or maybe a previous version? What are your thoughts? There is another question What features would you most like to see in Visual Studio 2010, now here it is, what do you think? ...

Will you use Delphi Prism

CodeGear announces that their Next .Net product which is known as Delphi Prism Will be RemObjects's Oxygene. Oxygene has many nice features that not found in Delphi or C#, and I think it will be a more effective solution for .Net than Delphi .Net previous releases, but it's uses Visual Studio IDE instead of Delphi IDE. which has some co...

How do i split a String into multiple values?

How do you split a string? Lets say i have a string "dog, cat, mouse,bird" My actual goal is to insert each of those animals into a listBox, so they would become items in a list box. but i think i get the idea on how to insert those items if i know how to split the string. or does anyone know a better way to do this? im using asp c# ...

Anything I should know before converting a large C++ program from VS2005 to VS2008?

Is there anything I should know before converting a large C++ program from VS2005 to VS2008? ...

How can I compile a Labview CIN in Visual Studio? [RESOLVED]

I am trying to compile a labview CIN using visual studio 2003. I have followed the tutorial located here to the letter, but am getting the following error: Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step" Does anyone know what is causing this? I tried this link found at an expert's exchange qu...

Visual Studio 2005 extensions for .NET Framework 3.0 (WPF)

Did Microsoft abandon support for Windows Presentation Foundation (WPF) on Visual Studio 2005? There was the a Community Technology Preview (CTP) for the WPF and WCF, but it's no longer available for download. There are released extensions for Windows Workflow Foundation (WF) for Visual Studio 2005. But as far as i can tell Microsoft a...