visual-studio-2008

Team Foundation Server + Visual Studio 2008 Pro. A worthwhile combination?

Consider the use case of: Team Foundation Server (Workgroup edition?) Visual Studio 2008 10-15 developers ~10 SQL Server devs and admins (data warehousing/reporting) The needs are: replace Visual SourceSafe as the defacto version control system continue to use VS2008 Pro allow the SQL-focused users to leverage the TFS version contr...

Visual Studio 2008 adding SQL Server database (SQL Server 2008 Management Studio) not working

I'm trying to practice using the ASP.NET MVC at home, but I ran into an impossible problem. I cannot open a connection to SQL Server 2008, I get this error: "Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. ..." I've googled around for numerous responses, none of them either working or addres...

Develop seamlessly in both VC++ 2010 and VC++ 2008 on the same work ?

Hi, I'd like to synchronize a VC++ 2010 project with a VC++ 2008 one. Is it even possible ? Basically, if I'm adding/deleting/renaming a file to a project in VS2010, I'd like it to be added/deleted/renamed to the corresponding VS2008 project. Project options synchronization would be awesome too, but not necessary. I don't need a solutio...

Visual studio 2008 Test tools

Is it possible to run in parallel a web test in visual studio ? ...

No ASP.NET control intellisense in Win2K8 server (not R2) x64, VS2008 SP1

This is a new install of Visual Studio 2008 SP1 on Windows 2008 (original) SP1. I have opened up projects I have previously had intellisense in in VS2008 on different machines, but I don't get intellisense for any asp: server control. I have intellisense for HTML markup, and I have it for the vsdoc version of jQuery on the same page th...

How to force Visual Studio 2008 to regenerate code from T4 templates when an XML file changes?

I'm generating quite a bit of code from a single XML file, but the templates are organized in two different T4 templates. Whenever I change the XML file, I have to remember to open the two *.tt files, change them trivially (add / delete a space) and save them again to make sure the code is generated. This can't be the right way to do it...

Outlook Plug-In - Visual Studio closes on build

I am running Windows Vista using Visual Studio 2008 to build a Office 2007 Plug-in making use of WPF. Everything used to work fine until I installed .NET 3.5 SP1 and the WPF Toolkit. What happens is that when I build the solution Visual Studio closes unexpectedly. I have read up on this issue and the only related issues I could find wa...

Creating VIsual Studio Addins with Iron Ruby

Some time ago at one of the .Net conferences John Lam gave a demonstration of how to use Iron Ruby to create VS add in's. At the time it seemed alot easier than what you currently have to do to create new VS add in's. Where can I get an example of this or does someone know a better starting point for me. ...

Creating an XML-based help system in Visual Studio 2008 Express Edition

I'm creating an application with a help system based on XML. I need to know how to populate TreeView and ListView controls with XML data (specification below). TreeView: <root> and <topic> tags. ListView: <document> tag (with group and icon dependent on if it's a web link or local file link, but I can do it). Can somebody help? ...

How to use .NET 3.x features in .NET 2.0 (Visual Studio 2008)

You're stuck with targeting .NET 2.0 in Visual Studio 2008, but you'd like to use all the latest goodness from .NET 3.x features, like: LINQ Extension Methods Lambdas What can one do to enable this awesomeness? EDIT: I had not originally found the post: http://stackoverflow.com/questions/173080/c-net-3-0-3-5-features-in-2-0-using-v...

How can I remote debug on another workgroup machine?

I have used the "Attach to process" function within VS 2008 many times, but never actually on a remote machine. Now I have to do it and I already read a bunch about it on the net. After playing around a bit I've reached a point where I am not quite sure how to proceed. First of all, here's a quick list of what I've done so far: Test mac...

ClickOnce, Skip asking for update (or fail lauch if skip is selected)

I update my ClickOnce app and then when the user runs they are asked if they want to install the new version: I am working in a highly controlled environment. When an update is available it has to be installed (backwards compatibility with the database is not ensured with old versions). Another option is to fail the run if skip is p...

Property accessors in Visual Basic .Net

Could someone explain to me the concept of Get and Set property? It's just not sinking in for me. Thanks! ...

Refactoring to seperate business logic from code behind

I've inherited a asp.net project and I'm finding that the code behind pages contain a lot of business logic. I've decided that in most cases it's better to leave the working code in place than try and do a massive refactoring. However there are pages that perform functionality that could be re-used in command line utilities for batch p...

Scintilla .NET - Can't find libraries.

Hello, I'm trying to get Scintilla .NET working in a C# form I'm making. I've followed the directions provided in the readme such as adding the Scintilla component to the toolbox, but when I try to drag the component to a C# form I get this following error: http://tinypic.com/r/152m7wx/4 I've placed the two included dlls (SciLexer.dll,...

How to populate combo box in resource template ?

I'm trying to populate a combo box, by filling in the Data field in the combo box property page in the resource template, but the values I type don't show up in the field. Whats happening ? I've already increased the list box size by dragging its handles, but still the data doesn't show in the Data field ! I'm using VS2008SP1 Professio...

Web Deployment .vdproj file changes every time I rebuild my solution

I'm using Visual Studio 2008 for an ASP.NET web application. I've included a Web Deployment (Setup) project as part of the solution. Each time I rebuild my solution, the underlying .vdproj file changes. Specifically, MsmKey and OwnerKey values, which appear to GUIDs, are regenerated even though I didn't add any new references or other...

Trouble with Visual Studio --> Localhost --> Web Deployment Tool

I am looking to deploy an ASP.NET MVC application using the Web Deployment Tool along the lines of this post. The way I've gotten that to work is by getting everything first working on localhost. But there's one catch. The way I've gotten things to run on local IIS is via the Visual Studio web tab, which requires setting up a Virtual ...

.net project app.config binding

How is the app.config binding in .Net? Let's say if I have an application project referencing a class library project. The code ConfigurationManager.AppSettings["MySetting"] in the class library project will read the value from app.config from the application project. Is my understanding correct? So how about if we have 2 class libra...

Creation of asp.net websites artifacts in Teamcity from SVN repository

I'm using TeamCity Professional Version 4.5.4 (build 9071) at work to build my asp.net web application project. My solution file consists of several projects (e.g. web application, unit tests, some web service project, etc). I want to create an artifact consisting of my web application (the others can be ignore for now), so I have the...