visual-studio-2008

TFS Workspaces

Hi, I want to delete a workspace from another user different than mine How can I do this? If I use Visual Studio 2008 integration, I can only manage my own workspaces, but I cant see other users workspaces. I guess that one option should be connecting to the server with a different user in visual studio, but I cant find that option. Visu...

How do you automatically attach to a specific IIS pool on remote server?

Currently three developers share one IIS box for testing. Because of third party utils and other restrictions we can't run the project locally so remote debugging is the only option. Our current process is to remote to the webserver, run iisapp.vps to get the PID of our individual sites and then run remote debugging in VS2008, to connect...

Best Method for Printing .NET Source Code

I have an old skool professor that requires that we print out all of our project source code for him to review. I am writing this app in VS 2008 and the solution contains a C# Web App and several Class Libraries (consisting of probably 100 files total). Anyone have experience with a good method of printing out many source files like th...

How do you get VS 2008 Javascript Intellisense working for complex prototypes?

I have been able to get javascript intellisense working correctly for a 'class' prototype defined like this: function GetCustomerList() { } GetCustomerList.prototype = { HEADER: { RETURN_CODE: 0, RETURN_MESSAGE: "", } , NUM_RECORDS: 0, START_RECORD: 0, END_RECORD: 0 }; I can type something...

Is there any option to set in Visual Studio 2008 that would turn off the Silverlight XAML preview by default?

The preview for a silverlight usercontrol in vs2008 is mostly useless to me and it takes forever to load. I spend a lot of time switching to XAML only and minimizing the preview for every Silverlight UserControl that I open. Is there a setting whereby I can tell VS2008 to by default open these in XAML-only mode? ...

Mobile Web Development ?

Hi - I have an existing website that I need to develop a small portion of for mobile devices. For reasons that are not in the scope of this entry - I am using the Microsoft platform and tools - VS2008, ASP.Net, VB.net, .Net AJAX Framework, jquery. I have 2 questions: What is the best page size (Height and Width - mostly width) to m...

VS2008 Immediate Window Lost

Hello guys I work in Visual Studio 2008, and, a moment ago, I lost access to the windows usually docked at the bottom of the IDE (Immediate, Error List, Search Results) and I can't find a way to get them back again. I tried Using all the possible shortcuts (CTRL+ALT+I, CTRL+ALT+O)- none of them work Using the menu: Debug > Windows > ...

New windows mobile project - LINQ to data in .NET CF?

I have to convert a project I wrote a while back in MCL to windows mobile using CF 3.5. I am using Visual Basic and VS 2008. There is not much info out there, and much of what is, is in C#. I am working my way through that right now. What is the best way for data access? I am used to using LINQ to SQL, but that does not seem to be a o...

VS2008 Xaml Editor is totally unstable

I have installed every patch I can find that deals with stability. I have turned off intellisense in the XAML Editor. I have setup XAML to only use the XML View (I never use preview). VS2008 crashed multiple times an hour while editting XAML. It is fine until the first time I open up a XAML file and then it is only a matter of time b...

Unable to set breakpoints in C DLL used by C++/CLI called from C#

I have a native C DLL being invoked by a C++/CLI object which is the ViewModel for a WPF progam in C#. I want to set breakpoints in the C DLL. When I try to set them they are grayed out and the help balloon says the breakpoint will not currently be hit. No symbols have been loaded for this document. To get the program to run OK I had to...

VS 2008 designer "Could not find type...."

I'm getting this error in visual studio 2008 in a Mobile Desktop application .NET 3.5. Could not find type 'MyNamespace.MyType'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. This shows up when openin...

How do I create an MSI in VS 2008 to install a certificate into Trusted Publisher store on client machine?

What are the steps needed to create a VS 2008 MSI setup and deployment file to install a custom created certificate/key onto a client's machine? ...

Is there a better, 3rd party "Find" / "Search" add-on for Visual Studio 2008?

I can't stand Visual Studio 2008's "Find" or "Find and replace" functionality, does anyone know of a better 3rd party solution that integrates into visual studio? At this point, I'd gladly take any "Find" utility, visual studio integration or not. Some of the things VS.net 08 wont do that I'd like to do: let you specify the file type...

How do I get my wcf service to update when I use the WCF Test Client?

I have created a basic wcf service nothing more complicated than helloworld. I have tested it with both WCF Test Client and my own client app and it works fine. So with that I wanted to add a method to it to see if I might try something a bit more complicated. However now when I try to debug using the WCF Test Client my new method doesn...

Microsoft visual C# 2008 compiler could not be created. Please re-install Visual Studio.

Any idea how to fix this error in Visual Studio? This error occurs when trying to create a new C# Console Application. I can create and build a C# Website, but Intellisense does not work. VB Applications work correctly. I tried upgrading to SP1 but that did not help. I would hate to reinstall Visual Studio and have the error crop up...

Visual studio 2008 running only one web application instead of all in the solution

I have a solution in VS 2008 that consists of multiple Asp.net Web applications. Every time I start a new instance of any one of them, all of them open up ports on the development server and the system tray is littered with asp.net development server icons. This never happened in vs 2005, only the web app that an instance was started o...

why does SGEN.EXE require write access to referenced assemblies?

i have a project that links with ICSharpCode.SharpZipLib.dll (the dll itself doesn't matter). one of the project outputs is a serialization assembly. this output is generated by sgen.exe, a microsoft tool. all of this works as expected until i check in the SharpZipLib to my source code repository, which makes it read-only. i'm not bu...

Debugging a release version of a DLL (with PDB file)

If I have a DLL (that was built in release-mode) and the corresponding PDB file, is it possible to debug (step-into) classes/methods contained in that DLL? If so, what are the required steps/configuration (e.g. where to put the PDB file)? Edit: If have the PDB file in the same place as the DLL (in the bin/debug directory of a simple c...

Visual C++ - Linking plugin DLL against EXE?

I'm in the process of porting a large C++ application from Linux (gcc) to Windows (Visual C++ 2008) and am having linker issues with plugins. On Linux this wasn't an issue, as .so supports runtime symbol lookup, but dll does not seem to support this. Some background information: The application (the host), which hosts a scripting enviro...

How can I copy the DynamicData templates from another site?

I'm attempting to start using DynamicData functionality in a previously existing website. Basically I'm following this tutorial. When I got to the part about creating the Field Templates I decided I could probably create a new site with the Dynamic Data stuff built in, and then just copy the folder over. Unfortunately when I do that a...