I know that Visual Studio 2008 support JavaScript intellisense as I am using it with Jquery. I am wondering if anyone has ever explored how to get other libraries like Dojo and Dijit to work with it as well. I would assume you would have to provide the ///reference tag to your custom code but would still need a vsdoc for visual studio ...
When creating a new database project with the Database Edition of Visual Studio, you can choose to create either a Database Project or a Server Project. What is the difference between the two? The resulting projects seem to be pretty much identical. The server project still seems to target a single database.
(For the record, I'm using V...
I have a numericupdown control on a C# Windows Form, and am interested in adding a leading zero to its value if it is < 10. (It is for the user to enter the minutes value of a time.)
I am not very familiar with overrides/inheriting yet in C# but it is looking as though I may have to do that.
It looks like this post on EggheadCafe has t...
This could quite possibly be the dumbest question ever asked. Our client wants us to have a Solution file (one .sln and .suo) neatly put into 1 directory higher than the actual web project. And we don't even have a Web Project file, it's just a website setup in IIS that we open from Visual Studio (2008 in case it matters) by clicking o...
Occasionally (usually after having updated my .sln file in source control) I get a strange Visual Studio error wherein I'm unable to open some of my files. The files in question show up in the appropriate project, but trying to open them results in an error dialog saying "A file of that name is already open."
This is virtually identical...
I am writing an app to print formatted data using Visual Studio 2008/C#. I have formatted the data in the fashion that I want it to display. I am using two Print Documents and event handlers, because the first page of the report carries formatting requirements that differs from pages 2 through N.
Print Preview shows me properly formatt...
I'm adding some ASP.NET MVC pages to an existing ASP.NET Web Forms project.
I've been able to port over some models, views, and controllers from an MVC project I created and they're working great.
But I'd like to add some new "Strongly Typed" views to my project, but I don't get the New View Wizard in my Web Forms project.
I'm a bi...
Is there an option somewhere in Visual Studio 2008, that when you "Add new item" he defaults the chosen save location in the window that pops up, to the directory of the currently active project ?
For now, it just saves it to previous saved file location (usually the last project worked on).
...
For normal (say Windows Forms) C# applications, to execute commands after a successful build I would use the Build Events->Post-build event command line in Project Properties.
I have a Web Site project which I "Publish", using the "Publish..." command in the context menu in the solution explorer.
Is there a way to run commands after th...
Guys,
I've read all related remote debug entries here and couldn't find an answer to my problem. I've trying to setup remote debugging to test a console app.
Dev Machine - Vista, VS 2008
Remote Machine - Win 2008
I've followed the steps in this article to configure it and I'm stuck with the following error when I try to list processes...
Does anyone have the issue with Resharper where opening a solution with MVC projects causes Visual studio to close/crash? No Errors, no warning, just close.
To fix the problem, I have to delete the bin and obj folders from the MVC project directory which allows the solution to be opened again.
When the solution is loaded, sometimes ope...
Hi,
I have added reference to few dlls in my VB.net Project. When I check into Visual source safe and get latest version from another machine, VS.net 2008 throws errors.
I have to add the references again in that new machine. Is there anyway where I can keep the references in spite of files checked in to VSS?
I need to send copy all t...
Hello everybody
I have the following configuration:
A host Windows Vista Home Premium SP2 with SQL Server 2008 Express SP1 and SQL Server Management Studio.
A Virtual PC 2007 machine with Windows Vista Ultimate, Visual Studio 2008 Express and Visual Studio 2010 Beta 1.
With SP1 on the host machine and before installing Vista SP2 and...
Service Reference namespace becomes unknown after I 'Update' the service reference.
Has any one else encountered/resolved this issue?
The changes I make to the Service Reference code are sometimes so minor, and always in method, never to the contract or anything and after update the service reference, VS2008 no longer recognizes the name...
I would like all my project to default to .Net 3.5 when creating a new project, but it initially defaults to 2.0. I've spent a few hours online, and and a few hours digging through project templates. No luck.
Can someone please help me out with this?
...
I hope this I can explain what I am trying to achieve: I want to be able to create a unit test in the same solution as my web service, have it fire up the web service environment and be able to set breakpoints in the unit test code and in the web service code and have the debugger stop on both of them. Is this possible?
...
Hi,
I have Visual Studio Team System 2008 RTM and .NET Framework 3.5 SP1.
When I try to install ADO.NET Entity Framework Tools Preview it says:
ADO.NET Entity Framework Tools Preview
can only be installed if at least one
of the following Microsoft Visual
Studio 2008 Beta 2 products is
installed: Visual Basic 2008 Beta 2
Exp...
I'm trying to track down a bug that occurs when I click a particular element on an aspx page...
In the past I've had to track down the class that handles that particular event and put a break point on the line that I think should be hit. Often it takes me several tries before I finally find the correct class....especially if the class i...
I'm trying to encode a URL using the HttpUtility.UrlEncode() method, why am I getting
The type or namespace name 'HttpUtility' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
error ?
I'm using Visual C# 2008, Express Edition.
The code I'm using is simplistic:
using System;
using System.Text;...
Hi, is there a way to enable IntelliSense for XML literals in VB9 (VS 2008)?
The ideal source of IntelliSense is an XSD document, but I can use anything else format to do it.
Thanks
...