visual-studio-2008

Visual Web Developer 2008 Express Edition Solution File

I created a new ASP.NET website using Visual Web Developer 2008 Express edition and am not able to find the solution file. Does Visual Web Developer 2008 Express edition generate a solution file when we create a new ASP.NET website ? How can I open multiple websites within the same IDE window? Thanks in advance. ...

Do you have a development IDE hotkey set in AutoHotkey?

I've recently rejoined the AutoHotkey band wagon, and I've been setting up a master script for myself. Generally, I have a few global hotkeys, for doing things like popping open the calculator, and frequently used solutions. I even have a hotkey to restart certain local windows services, I've also got several contextual hotkeys that are ...

How to temporarily disable code analysis locally?

Here, we run a set of Visual Studio 2008's CA rules both locally and on the build server. In order to check in, our CA rules must match the servers policy. However, I work on a large solution with several projects. Building the project in release mode takes a long time with the CA rules enabled, but this is necessary when creating or ...

Missing Siverlight templates in Visual Studio 2008

Hello ! I have Visual Studio 2008 (sp1, .NET 3.5). I have installed Silverlight 3 SDK and Silverlight 4 SDK beta + Sivelrlight toolkit. I also have installed Windows Phone Developer Tools CTP that includes Visual Studio 2010 Express for Windows Phone CTP. I have noticed that when i start a new project in VS2008 all the Silverlight temp...

Close Office applications (Word, Excel, Outlook) before install an Office 2007 Add-in

Hello All, How can I close any Office 2007 running application like Word,Excel,Outlook before installing an Office 2007 Add-in in a Visual Studio 2008 Setup Project? Thanks! Martin ...

Refactor instance declaration from try block to above try block in a method

Hi, Often I find myself coming across code like this: try { StreamWriter strw = new StreamWriter(); } However, there is no reference to the object outside the scope of the try block. How could I refactor (extract to field in Visual Studio says there is no field or something) the statement in the try block so that it is declared abo...

Random Function from SQL Server database in ASP .NET

I am creating a webpage which is using asp .net as its backend. I need to grab categories from my database which is SQL Server. I am using this code right now For Each row00 As DataRow In f_oDatatable(7).Rows sCategories += row00.Item("Category").ToString & " / " Next If sCategories.Length > 0 Then sCategories = sCategories.Su...

profiling WCF services with visual studio profiler

I am trying to profile a WCF service using visual studio profiler. So i created a profile by choosing asp.net application, and gave it the url of the web service. When i launch the session, it launches a web page to the site. I then run my unit test using another visual studio client, but the test always fails with with communication ex...

VB.Net 2008 IDE hanging - MSVB7.dll eating 100% CPU when editing code

Edit 1: Uninstalled & Reinstalled Edit 2: Same problem. Seriously? Yes. I am having a problem with msvb7.dll eating 50%+ cpu on my dual core system. This usually lasts 10-30 seconds or so, during which time the IDE is non-responsive. This occurs when I do pretty much anything in the text editor, and can be replicated by simply adding ...

Do you need Visual Studio 2010 to manage a 2010 build agent?

we are considering TFS2010 but need to confirm some information as we're still using TFS2008 and vs2008. the question is whether we can still manage our builds using the 2008 client. please advise. thanks! ...

Header correct, but identifier not found

I have two projects (x64). A. Written in C (wxWidgets) --- edit: its in C++! B. Written in C++ A compiles fine, but B (which uses functions of A) gives several errors when I try to compile. I suggest that the reason for the errors is the same for all, so I mention only the first. It says: strlen: identifier not found In the file...

Best approach to managing software versions via code branches?

I would like to customize an off-the-shelf software that has a Lite Edition and an Enterprise Edition. The features are almost the same so that my extended customizations can work for both, but I have to recompile for each version because they have different version assemblies. Can someone help advise me on how maintain this? I am usin...

Configuring TeamCity + NUnit unit tests so files can be loaded properly

In a nutshell, I have a solution that builds fine in the IDE, and the unit tests all run fine with the NUnit GUI (via the NUnitit VS2008 plugin). However, when I execute my TeamCity build runner, all unit tests that require file access (e.g. for running tests against specific XML files), I just get System.IO.DirectoryNotFoundExceptions....

Is there any way to trigger some macro after build in visual studio

I want to count how many times i built on VS.NET . I have a plan. If i run svn commit when i build to project, i would have build count on revision number :) I didn't write any macro which can execute a command. And i don't know visual studio is allowing to prebuild event for this kind of request. ...

VS C++ throwing divide by zero exception after a specific check

In the following C++ code, it should be impossible for ain integer division by zero to occur: // gradedUnits and totalGrades are both of type int if (gradedUnits == 0) { return 0; } else { return totalGrades/gradedUnits; //call stack points to this line } however Visual Studio is popping up this error: Unhandled exception ...

how to run proj without solution file in visual studio 2008

friends i am trying to work with predesigned visual studio dotNet projects. so i have downloaded a sample project from internet, al those files doesnt contain files of type"Microsoft Visual Studio Solution","Visual Studio Solution User Options"..and i dont know to run those project without those files. plz help me to run those projects ...

attractive windows forms

how can we make visual studio windows forms attractive ...

What does Visual Studio 2008 do when I add an assembly reference?

When I add a reference to an assembly (living in the GAC) to web.config in an ASP.NET project, what does Visual Studio do? [This is related to an earlier question pertaining to BusinessObjects: http://stackoverflow.com/questions/2379615/ ] When I add "CrystalDecisions.Enterprise" and "CrystalDecisions.Enterprise.Framework" to the assem...

changing color vs2008 breakpoint marker

I've been looking for a couple of hours now, but can't figure out what option in visual studio 2008 controls the highlighting used for breakpoints. I have a darker theme and the lines are hard to read when entering a debugger. ...

More with eclipse cdt

What is done when we import an existing project(maybe a visual studio project)? Which files are used for configuration? ...