visual-studio

Problem installing visual studio service pack on Windows 7

I recently installed Windows 7, then installed Visual Studio 2008. I would like to install SP1 for Visual Studio in order to use MVC but I got an error. I found an answers on SO that suggested a certain patch. I anstalled the patch but still have a problem, see a screenshot here. What to do now? ...

Reason for VS.NET 'current breakpoint will not be hit' warning?

Trying to debug a controllers action method, and when I attach to process the debug icon goes hollow and says the 'current breakpoint will not be hit' But I am doing a response.write at that point and when the page renders it does output the test text. So that section is indeed being executed, why does debug mode not work? ...

How to launch EXE when project / solution / studio starts?

Is there anyway to customize the solution / project file so that it launches an EXE when it's loaded into Visual Studio or, as a second option, when Visual Studio is started? I know I can make a link to a BAT file or similar but I'd rather make it more seamless if possible. I did check the possibility of adding custom tasks into the pro...

Visual Studio editor and Long lines...

Visual Studio (and most other editors like Notepadd++ and Textpad) doesnt handle long lines well. For instance, I use SMO to generate database scrits. Some of these auto generated SQL script have single lines with thousand and thousand of characters in one single line. When I open that in Visual Studio it just freezes.. or it slows down...

Visual Studio style editor for an application-specific scripting language?

Right now I only know about Visual Studio 2008 Shell and the custom control used in the Snippet Compiler. Also is VS shell suitable for this job? I don't know if it's a custom control or a standalone app? Any tutorials about it? I would imagine the Snippet Compiler's custom control to be usable and therefore should work, but I still wa...

How to run Visual studio remote debugger in service mode

I want to run the remote debugger of visual studio 2005 in service mode.. It is running fine in application mode, and when in service mode it starts successfully but I can't connect from the remote system.. Is their any special setting required.. Please help me out. ...

How to have different Project Dependencies for each Project Configuration?

I would like to have different Project Dependencies depending on which Project Configuration I'm currently building. For example, I don't want to build and link SomeTestLib.vcproj in Release configuration, but I'd like to build and link to it in Debug. One solution, that sorta works, is to use conditional compilation macros: #if...

where do i find the MSF Agile 5.0 Process Template for TFS 2010?

Hi Can anyone tell me where to download the new MSF Agile 5.0 Process Template for TFS 2010? I recently decided to use TFS 2010 server.. ...

Qt: Should I use Visual Studio, Qt Creator or something else?

I realize that there have been similar questions, but they seem to have been from when Qt Creator was still in beta, so the answer might have changed since then: We are going to start a project with a small amount of GUI that needs to work on Windows, OS X and Linux. So choosing Qt was a no-brainer, even though we have little experience...

Visual Studio: Profiles for addins

I would like to be able to switch between using Visual Studio with C#-addins (Resharper, TestDriven.Net and VisualSVN) and C++-addins (Visual Assist X and VisualSVN). I have found that Resharper and Visual Assist X does not coexist very well and I would like an easy way to change between them. Anyone know how to do that? If I can have d...

List of the $(xxx) macro in visual studio

I would like to establish a list of all the visual studio macro that can be used in the post-build event script. $(Configuration) : Name of the current build configuration (ie: Debug or Release). ...

DataGridView column editor empties string properties of a custom column

Hi, I've implemented a custom lookup column, but I'm encountering the damnedest thing with the VS designer. The column has four string properties in addition to the standard column props. Now, if I select the column from the component list in the property grid, then set the properties, everything seems to work fine. However, the moment ...

Create XSD from database programatically in C#

My DB schema has matured a lot. The XSD had increased in size and hence using Visual Studio 2008 designer is getting difficult. Is there a way i can automate the XSD generation? ...

Visual Studio: testing on different a server than developing on

In dreamweaver, it's really simple to set up a site so when you test a page that you are developing that it deploys it to a different test server that you are developing on and then browses to that page at that location also. Question: Can you set up Visual Studio so that when you "run" or "View in Browser" that it automatically push...

How to Bootstrap SQL Server 2008 Express SP1?

I am trying to bootstrap SQL Server 2008 Express SP1 into my application. Previously I used Wise for Windows to perform the prerequisite installation, but Wise doesn't support Windows Installer 4.5 yet. I am now trying to use the Visual Studio 2008 bootstrap technology with WiX 3.0, and have had good success getting the SQL Server prer...

A .NET DLL question

I created a C# file and wish to compile it into a DLL for future use. However, this .cs file depends on another DLL. In my code inside my .cs file I am doing something like: using anotherlib.dll; When I try to compile it into a DLL, the compiler tells me that it can't find that anotherlib.dll (missing directive or assembly reference)....

C# in VS2005: Can a device project target both full framework and CF?

We're developing with Compact Framework for a device under Visual Studio 2005. However we want to make an emulated version of the software as well, running at the PC (preferably selectable via a Build Configuration). It seems however that the .vsproj file is specific for devices; there is no way to use the full .NET framework for examp...

Very strange evaluation problem

I'm working on some VB.net code that I inherited and am seeing some very strange behavior when trying to lookup a value in a Interop.Scripting.Dictionary object. Here's the output from my watches. The expressions are in italics and the return values are bolded: oAwayBalanceTeam.Dates("40068") 1 {Integer} Object CStr(Int(oTempBooking.S...

Unable to access oci.dll due to application type.

Hello, I am using attempting to create a connection to an Oracle database via entity framework in Visual Studio 2008. I am running 64 bit Vista Ultimate. At first, I had difficulty even making a connection to the db through Visual Studio, but eventually got things working by installing 10204_vista_w2k8_x64_production_db AND ODTwithODAC...

make changes in gridview without using database

I have a gridview... which is not using a database. I have these 3 rows of which are fixed and when the user clicks on the add button a new row is created . The grid view looks like this employee department ||timeorwork ||Delete admin |||[dropdownlist] ||[dropdownlist] button // so this row is fixed and i start adding a...