visual-studio-2008

Launch program after msi installation

I've created a msi installer with visual studio 2008. I'd like to launch the installed program right after the installer has finished. 1) How to add a User Interace like many installers have that asks if to launch the app now? 2) Can I create a custom action that runs the app with user privileges? ...

Database-pages * Sub-applications * Multi-location * multi-language: how does this work?

I'm developing (.NET MVC) a large website which has the following specifications: Database pages (HTML editors) Sub applications (/products, /search, /user-area (more mixed db-pages & apps)) Multi location (both db-pages & apps) Multi language (all: db-pages, apps & multi-location) I have problems with the following: Routes. Do I i...

Network Connectivity Issues with the .NET License Compiler (LC.EXE)

I've recently moved my dev environment (VS.NET 2008 SP1 on VMWare) over to a new network, using a more restrictive firewall. During subsequent builds, the license compiler (lc.exe) took a long time to complete (several minutes). I assume it was timing out because it was not able to connect through the firewall, but I can see no evidence ...

Best way to buy visual studio

I have just started today at a new company. They are a wensure that used to outsource all of their development. I am the only dev for now and need visual studio 2008. What is they best way to licence it? It is a website and they won't be creating an application. Is isv possible and is it the way to go? ...

When I click the "stop" debugger button, the developer web server also stops!

Does this happen to any one of you? It is driving me crazy: On every other machine I develop on, when I click the "stop" button for the debugger in Visual Studio, the Developer Web Server continues to run. And I can still browse my web application. Suddenly one day, on one of the machines I use for development, it no longer behaves th...

How to view stack trace of project in debug mode in VS 2008

How to view stack trace of project in debug mode in VS 2008? I am running and debugging a big application in VS2008. Build mode is DEBUG, Windows Forms project. Is there a way I can see the pieces of codes getting called, something like Stack Trace in exception while i do normal actions in the form like clicking button, etc... The proj...

Debugging: Stop an exception and NOT unwind?

I did something stupid and double clicked a db instead of the copy i made for read only testing. My app was running pulling data from remote servers for about 1.5 hrs. An exception occurred and it was because i opened the db which prevented the app from writing to it. If my code was more complete i wouldnt care and i would resume but its...

Looking for a RegEx Find and Replace Visual Studio addons

Hi I am looking for a Visual Studio Addon which does standard Regular Expression Find and Replace, not the Microsoft Visual Studio version of Regular Expression As you do not get the complete syntax Please help? Thanks ...

ASP.NET Ajax control toolkit not shown in VS 2008

I have downloaded the Ajax control toolkit; I have created a new tab in VS 2008 (SP1) toolbox, added the controls from the AjaxControlToolkit.dll,everything went fine. When I removed the toolbox and tried to perform the same steps as above, it didn't work anymore... That is, in the window shown for the "Choose items", the controls are'...

WCF Service default values

Hi I have following data contract class for my WCF Service: [DataContract(Name = "MyClassDTO")] public class MyClass { private string name = "Default Name"; [DataMember] public string Name { get { return name; } set { name = value; } } } When I use Visual Studio's Add Service Reference function to...

Visual Studio 2008/2010 on terminal server (IDE virtualization)

Hi, What is your opinion about using Visual Studio 2008/2010 with all components (sql server, nant, nunit etc) by terminal server. I've got two options: create separate virtual machines on hyper-v server (VS 2008/2010, windows7/sql server 2008/nan/nunit etc) for every user (hmm but there is a problem with application running as servi...

How install LINQ Preview May 2006 on windows 7?

I have Visual Studio web developer Addison , Visual Basic 2005 Express Edition, Visual C# 2005 Express Edition and Visual Web Developer 2005 Express Edition installed on my system. My operative system is a Windows 7 When I start the installation of "LINQ Preview (May 2006).msi", I get the next error message: "Cannot find a valid Produc...

Missing last item on enums

I was looking for some enums options, and just spotted a missing comma after last option. Take, for instance, that DayOfWeek enum (press F12 to go to definition): public enum DayOfWeek { Sunday = 0, Monday = 1, Tuesday = 2, Wednesday = 3, Thursday = 4, Friday = 5, Saturday = 6, // note this comma...

Eclipse keyboard bindings in Visual Studio 2008

Is there anyway to mimic the majority of Eclipse keyboard bindings in Visual Studio 2008? ...

Problem with implementing successive approximation algorithm in C++ with Visual Studio 2008

I'm trying to implement an algorithm we did in numerical methods class. I have an identical procedure written in Maple and it works fine. I can't understand why it isn't working in C++. Any help or tips would be appreciated; thanks in advance. #include "stdafx.h" #include "math.h" #include <iostream> using namespace std; double absv...

Run NUnit tests automatically from command line

I'm launching the NUnit gui from visual studio by setting the test project to start start nunit 2.5.3 as an external program. That loads the tests into the GUI but I still have to manually click the run button. Is there a command line argument that will have the tests run at the same time they're loaded? ...

Visual Studio Resource Generation - Custom Tool Namespace

I have a C# class library that contains several resources files organized in folders. Since I want the generated classes to be all in the same namespace I'm setting the CustomToolNamespace property of each resource file. However I discovered through Reflector that although the classes are all being generated in the same namespace the pa...

Proper way to rename solution (and directories) in Visual Studio

I have a rather involved Visual Studio solution (2010, but it shouldn't matter) that I need to rename. I want to rename the folders to match the new solution name, but I can't figure out a way to refactor the folder names automatically, and going through every single project file will be painful. Is there an official way to do this? Alt...

Static reflection with Visual Studio 2008 targeting .net 2.0 ?

Is there a trick to use static reflection with Visual Studio 2008 targeting .net framework 2.0 ? ...

Developing PHP Extensions with VS 2008 for Apache

Hello, I was wondering if anyone else has tried to develop a PHP extension that can be used with apache, done on Visual Studio 2008, and what steps they had to go through to do so. I would like to not install VS 2003 to use the VC6 compiler, but if I absolutely have to, I will. ...