visual-studio

Visual Studio Solution Template - Link Source Control Projects

Hello, My team is creating some standard VS solution templates. We have a well-defined project structure, resources, etc. that we need to use every time we start a new project and this is the perfect solution. The basics work nicely. However, as well as defining folder structure (etc.) it would be nice to be able to import a number of p...

TFS - Link a Work Item to a Label

In TFS it is easy to link a Work Item to a changeset. I would like to link a Work Item to a Label. Is this possible? Anyone know a way? ...

User Control vs. Windows Form

What is the difference between a user control and a windows form in Visual Studio - C#? ...

Reporting services and errors in expressions

I'm researching using Microsoft Reporting Services as a replacement for Crystal Reports. In production, most of the reports would be built by technical end-users, or by professional report designers (people who are technical, but not developers) My question: I've created a report, and I have purposely put a syntax error in an expressio...

c fOpenThread() is this part of a header file, any info

Hi, Visual Studio 2008 C XP SP3 I am reading a book by Hoglund and he uses: HANDLE hThread = fOpenThread( THREAD_ALL_ACCESS, FALSE, dbg_evt.dwThreadId); Anybody know anything about fOpenThread as I can't find any details and I am getting the error message error C3861: 'fOpenThread': iden...

Visual Studio Object Browser disregards XML comment formatting

In my .NET XML comments on methods and classes, I try to provide usage examples in <example><code></code></example> blocks. When I use Sandcastle to generate a .chm documentation file using my XML documentation, it's always formatted nicely and respects the newlines in my <code> blocks. However, when I browse the classes and methods in...

Visual Studio UPDATE-EDMX feature: How it works

When you use the update-edmx feature of visual studio. Your EDMX schema is merged against a database. What Rules Apply to changes merging? UPDATE: looks like new db fields are added to your edmx, modified fields are merged in someway and deleted ones are left in your schema. ...

How to change language of designer files in Visual Studio

Does anybody know how to change the language of the (automatically generated) designer files in Visual Studio without changing the language of the UI? Background: the members of my team use german and english Visual Studios. The problem is (svn-) merging the designer files with comments in two different languages. Whenever a member chan...

How to block usage of DateTime.parse() from coders on VisualStudio project?

We want our coders to NOT use DateTime.parse(). How can we block to use it? Can we override this, to hide from them? EDIT1 Actually we want to override this method, we have our own method which gets called this way: clsStrUtils.ISOToDate(). EDIT2 We do trust our programmers, but this is a specific situation. I don't want to restrict n...

Is MS Reporting Services suitable for stand-alone reports?

Hello all: I work for a ISV. Our product can use both SQL Server and Oracle as its back-end server. It includes a number of reports (currently in Crystal). We are investigating moving to Micrsoft Reporting Services, but I'm beginning to think that it's a bad idea. We want for our reports to look and feel as though they are a part of ...

Does VS Express have everything I will need?

I have to ask this question because I've never programmed except in an intro to C++ class, so my knowledge is extremely limited. Here's my question. For me to write a C# program with a SQL Server Express db, does VS Express have everything I'll need to get from start to finish? If not, what else might I need (and please be specific ...

Launch Reflector from Visual Studio 2008 References Section in Solution Explorer

How do you configure Visual Studio 2008 to launch the Redgate .Net Reflector from a right click on an assembly in the references section in the solution explorer? I have it set up at the office to do this, so I know it's possible. I do have ReSharper installed but I don't think this is ReSharper functionality. UPDATE This is the func...

Collaborative editing for .NET development - what are the possibilities

What are the best options for real-time collaborative editing for .NET development? (C#,VB.NET, ASP.NET - not Mono unless it is the best way to get collaboration) 1) Anything possible with visual studio? 2) Collaborative editors? I know Eclipse has real-time collaboration, but I don't know how far you can combine it with .NET support....

VS C++ 2008: Modifying Output text?

I'm using Visual Studio C++ 2008 Express Edition. Is it possible to modify the text in the Output pane for compilation (or other) errors? For example, I might receive an error that reads: error C2556: int Class::getResult(void) + a lot more relative garbage. I can parse the output text and find and fix my mistakes easily. It would st...

How can I add a ClientAccessPolicy.xml file to the SharePoint 2010 root folder?

In a Visual Studio 2010 SharePoint (2010) project, we can add mapped SharePoint folders, including the {SharePointRoot} folder. When I deploy my project, I can see that the root files end up in the 14-hive, but they never appear in the web site root. What I really want to accomplish to unit test my Silverlight application which communic...

Change save directory of Visual Studio 2008 project?

I have a Visual Studio solution consisting of 2 projects. Unfortunately several files are spread out in different folders. I'd really like to just save everything to a new folder for simplicities sakes, but cannot find any option to do this. Thanks. ...

What development tool should I use to code in F#?

Hi there, I got started with F# back in the day (before VS2010 beta); at the time, if I remember correctly, there was not an Express version of F#, but one could use the VS Shell (I think that was the name) and then install F# on top of it. What's the current state of affairs? I've read out there that there's no 2010 Express version of...

TFS: How do I cleanup the messed up server?

Hello, I'm using TFS to connect to codeplex.com. The source version of the project is messed up, and I want to replace it. Found a way to delete the project, but it won't let me delete it. How can I say delete all of the subprojects without deleting the representative folders on the hard drive? Note: this is codeplex so I have limit...

visual studio 2008 extended c# intellisense

Hi, If I have an xml file like this: <?xml version="1.0" ?> <CATALOG> <TITLE>Title1/TITLE> <COUNTRY>USA</COUNTRY> </CaTALOG> </xml> can I call Catalog tag like a class name from intellisense when I edit c# application ? and his child Title1 and USA ? Example with intellisense VS 2008 c# : 1) System.DateTime.Now; 2...

How to create Startup and Cleanup script for Visual Studio Test Project?

I'm using a Visual Studio Test project, am modifying the test config with deployment files, etc. (through the VS GUI) and now I need to write a Startup script for the test run. I have no clue what language or file type or mechanism is used for these scripts. Need a tip. ...