visual-studio

debugging ASP.NET with visual studios like winform

When my code throws an error i like being brought to the line with the exception and look at all the variables with the call stack on hand. When i debug ASP.NET when an exception is thrown i dont have the visual studios IDE showing me the line and all that. How do make visual studios debug this like a normal C# winform app? NOTE: I dont...

VB + intellisense not working (doesn't show up) + in aspx or html files

I have intellisense when i type this: <p><%= boolean.falsestring %></p> I don't have intellisense when i typ this: <p class="<%= boolean.falsestring %>"></p> To further clarify (see line below), the first <%=%> doesn't show me intellisense popup, the second however does, why is that? <p class="<%= boolean.falsestring %>"><%= Boole...

Files deployed all over my Biztalk servers, in each user's "Project Folder"

When I deploy applications to our biztalk server, we deploy to a test machine, add all the necessary resources, and then export an MSI that we import on our production servers (we have two). The other day, I noticed that there are dozens of folders on our production servers that appear to be copies of each developer's source code locatio...

Visual Studio, svn and merging .csproj and .sln files

Anyone had any success getting SVN to merge Visual Studio project (.csproj) or solution (.sln) files that have been edited by two users? Example User A checks out project User B checks out same project User A adds a file User A commits changes User B adds a file User B commits changes Seems to me that at step (6), svn, Tortoise, Ankh...

Could not load file or assembly microsoft.hpc.scheduler, Version=2.0.0.0,

I am getting this error message, when I try to run any project in visual studio 2008 team system architect edition (On Vista Business 64). I have couple of third party components installed like DevExpress etc. I am not using microsoft.hpc.scheduler namespace in this project. I have installed HPC Pack Client Utilities as suggested b...

DateInterval.minute is not a recognized dateadd option

I'm trying to test a developer's application against a SQL Server 2005 database (80) instead of the normal SQL Server 2000 database that it would hit. Is anyone aware of issues that could cause this error that are related to SQL? 'DateInterval.minute' is not a recognized dateadd option. Description: An unhandled exception occurred dur...

VS2008 Custom Build Rule based on file location

How do I assign a build rule to all files in a given folder in Visual Studio 2008? I know how to associate a build rule with all files with a given extension but I want one that applies to all files in a given folder within the project directory. Example rule: If any file in .\media changes, zip the entire folder and copy the zipped f...

Where to download visual studio express 2005?

I'm trying to find download link for VS express 2005 but no luck. I need this version, not 2008. ...

Distributing microsoft.visualstudio.texttemplating.dll with custom app

We are writing an app that will use T4 to generate Flex/Actionscript to compile into SWF. We would like to distribute this app to users who will not have VS. I've searched and searched and could not find any info anywhere on redistributing microsoft.visualstudio.texttemplating.dll with your apps, except on this code plex project (http://...

Why I can't see event names of a particular control in visual studio 2008 in property window?

Hi It's about 3 days that suddenly the button that show the event names of a particular control within my .aspx web form in property window disappeared. Now, I can't work easily. What can I do? ...

Getting Console output to display from Gallio & xunit.net

Previously when executing unit tests with xunit.net / testdriven.net I could see output written to the console (via Console.WriteLine) displayed in the output window. I'm now using the Gallio TestDriven.Net runner to execute xunit.net tests (Gallio TestDriven.Net Runner - Version 3.0.6 build 787) - and I'm finding it no longer captures ...

Output a watched Visual Studio variable to a file

Is there a way in Visual Studio (2008 if it matters) that I can, in debug/break mode, write the contents of a variable to a text/XML file? The scenario is that I have a long process running in debug and I have realised too late that I haven't logged enough detail about the events that the process has been monitoring, but fortunately a ...

How do I print to the debug output window in a Win32 app?

I've got a win32 project that I've loaded into Visual Studio 2005. I'd like to be able to print things to the Visual Studio output window, but I can't for the life of me work out how. I've tried 'printf' and 'cout <<' but my messages stay stubbornly unprinted. Is there some sort of special way to print to the Visual Studio output window...

Call a F# Function in VB (or C# or whatever)

It seems I am not able to call a dummy function created in F# from C# and/or VB.Net in Visual Studio 2010 Beta 1. Most references dug up by Google resolve issues arising in older versions of Visual Studio and CTPs of F#. It would rock if somebody could post a small howto. Thanks in advance. ...

Just starting one instance of Visual Studio?

How do I start just one instance of Visual Studio 2008? For example if I assign a favorite shortcut for Outlook, and press this key, everytime it takes me back to the One and only instance of Outlook. How do I get this to work with VS 2008, I don't want it to start another instance whenever I press the shortcut key, but go back to the ...

Unable to debug application VS2008 blackberry Plug-in

I am using blackberry plug in for Visual Studio 2008. I have created a "Hello World" application but I am not able to debug at any point. I have set the breakpoints every where right from function main{} inside Program.mds. When I hit f5 i.e. run a program, an instance of Black Berry 8310(4.5) simulator opens and when I tries to perform ...

Can TFS or Visual Studio remind me about issues that have to be solved before a check in

I'm actually working on a tool that need some configuration before it can be used. To save some time a hard coded some values into the text boxes of the configuration tab, so I don't have to renter them every time I do some testing or debugging. As we're using TFS to manage our solutions I'm wondering if there is a way to mark those ha...

Load search URL in browser from Visual Studio

I'm finding the built-in Visual Studio Document Explorer less relevant, especially as more of the SDKs I work with have the most up-to-date content on-line. Pressing F1 starts Document Explorer usually with something unhelpful and it's not usable any more for me. Is there any way that on the press of a key combination in Visual Studio: ...

Compiling C-code from the Command Prompt in Windows?

Hello! I want to compile C code from the Command Prompt in Windows. I have added the environment variable to the PATH and I can compile .cs files with: csc app.cs That's OK, but how do I compile app.c? ...

Debugging Visual Studio builds from Eclipse

I'm just starting out on a cross-platform (Windows, Linux, OS X) C++ project, and we've decided to use Scons for our build system and Eclipse as our IDE. I've figured out how to trigger Scons to do a Visual C++ build from Eclipse, and for errors etc. to get reflected in Eclipse, so all good so far. However, what would be really nice is i...