visual-studio-2008

VS JavaScript intellisense with paramaters

here is some sample javascript: SomeObjectType = function() { } SomeObjectType.prototype = { field1: null, field2: null } SomeOtherObject = function() { } SomeOtherObject.prototype = { doSomething: function(val) { /// <param name="val" type="SomeObjectType"></param> var val2 = new SomeObjectType(); ...

How do I create an empty solution in Visual Studio (2008)?

I am unable to create an empty solution in Visual Studio. The msdn documentation says this is possible but fails to mention how. (Where I have looked, anyway..) ...

Visual Studio 2008 version specific references

Does anyone know if Visual Studio 2008 has a mechianism in web applications to include a reference without it being version specific? Backstory: I have a new web application built in VS08 which references class libraries built in VS03. The class library DLLs are included in a \References folder within the VS08 project. The references ar...

TortoiseSVN Working Copy / Revision is not commiting properly

Hi, I have a VS 2008 project under TortoiseSVN source control. I am the only person using it at present. I was trying to commit my latest changes when I received the message "File abc is out of date - please update". When I try to update the project, I get a whole set of file conflicts (binary and text). Since I am confident my working...

Do I have to close the SQL Connection manually if I use Linq?

Traditionally, when we use SQL string to done some work, we have to close the sql connection before the page being closed, I was wondering if I use Linq to do the data operations do I still need to close the connection manually? ...

Visual Studio Unit Testing of Windows Forms

We're working on a project here in Visual Studio 2008. We're using the built-in testing suite provided with it (the Microsoft.VisualStudio.TestTools.UnitTesting namespace). It turns out, that much to our chagrin, a great deal of complexity (and therefore errors) have wound up coded into our UI layer. While our unit tests do a decent j...

Visual Studio 2008 doesn't recognize Lambda Expression Syntax

Hello, I recently upgraded a Web Application Project (as well as some dependent projects) from .net 2.0 to .net 3.5 using the built in conversion tool. Everything works well such as using MS AJAX 3.5 vs. the external MS AJAX libraries in 2.0. My problem occurs when I tried using the new Lambda Expression syntax. The compiler will not r...

Visual Studio Upgrade Advice 2008 / 2010

Hi all, Currently thinking about pitching the argument for us migration from vs 2005 (winforms) to vs 2008 (wpf). My main point being the new UI design features. I am slightly worried that we will put loads of work into upgrading everything only for us to have to do the same when 2010 comes along? So this leads to also consider skipp...

Best documentation system for .NET?

I've never used a documentation system before, typically using commenting by hand but I think it would be nice to do so for a new project. What do you guys/gals advise? I've heard of Sandcastle but not sure if that's the best out. (This is for an open-source project so it needs to be free unfortunately.) ...

Use of Print Preview in .Net Winforms

I am writing c# code in .Net 2008 Winforms. I created a print preview window to create a report. It works fine I can preview the report and then print it. The only problem is it is not as flexible as the Office Print preview. The users cannot chose a printer other that the default printer and they cannot limit the print to certain pages...

Differences between Visual Studio 2005 and 2008

Hello lads I would like to find out what is the most significant differences of MS Visual Studio.NET 2005 Pro and MS Visual Studio.NET 2008 Pro? I was given a copy of Visual Studio.NET 2005 Pro as the previous person who used that has left the organisation. Therefore, I am considering upgrading this version to VS.NET 2008 Pro. At my or...

Compile time problem in .Net 3.5

Hi, I am developing a web application. When i build the application i can see the statement "Build Succeeded" in status bar even the syntax of object declaration is wrong in a aspx.cs file. I cleaned the solution again i tried to rebuild the application. But i did not get any error. If i am adding any block of code in that page it is no...

Does Team Explorer integrate with VS2005

I have both VS2005 and VS2008 installed on my machine. I was able to install Team Explorer 2008, but could not install Team Explorer 2005 (it kept throwing some error number 2337 which I could not resolve). Currently, I am having to launch the VS2008 IDE for using source control, and VS2005 for working on the source code (as the project...

Visual Studio HTML editor curly bracket annoyance

Does any one know of a way to control how Visual Studio handles curly braces in Html view? Type... <% if (true) { %> Then <% { %> And visual studio will auto format it as such. <% if (true) { %> <% } %> Not a major issue but nest a few of these using foreach and it gets messy. ...

WPF design rendering is dramaticaly slow Visual Studio 2008? Are there any tweaks that could speed it up?

I just wanted to do some tutorials in WPF but I find that the designer works very slow in comparision to Windows Forms/GDI+. Are there any tweaks to speed it up? ...

It's possible to develop for .net 2.x in Visual Studio 2008?

Hi, It's possible to develop only for .net 2.0 running Visual Studio 2008? Thanks! ...

Visual Studio missing "Add Installer" link in service project

I'm building a Windows service and following this MSDN article, but I'm stuck on step 3 under "Create an installer". I can't find the "Add Installer" link it's referring to. I've clicked everywhere, including following the instructions it gives exactly, but I can't seem to find it. A few people on Google have had the same problem, but ne...

What are the limitations to SQL Server Compact? (Or - how does one choose a database to use on MS platforms?)

The application I want to build using MS Visual C# Express (I'm willing to upgrade to Standard if that becomes required) that needs a database. I was all psyched about the SQL Server Compact - because I don't want the folks who would be installing my application on their computers to have to install the whole of SQL Server or something ...

VSS and Visual Studio 2008 "Binary Files Differ" message for source files

I'm using VSS 2008 and Visual Studio 2008. When my source files are checked in, the VSS property dialog shows them as type "Unicode (UTF-8)". But if I check one out from within Visual Studio, then do a compare, it says "binary files differ". Is anyone else seeing this? Do I have a screwed up setting somewhere? Thanks, Andy Update...

How do I get Intellisense (code completion) to work on VS.NET inside Parallels on a Mac?

How do I get Intellisense to work on Visual Studio running inside Parallels on a Mac? On my PC I press CTRL+Space to get Intellisense, but inside Parallels it looks like no key combination works; I thought that maybe it's because Quicksilver or Spotlight were using the same key combinations and could be intercepting, but it still doesn'...