visual-studio

VS 2008 The operation could not be completed. Not enough storage is available to complete this operation.

On updating my working copy from SVN. I get this error. The operation could not be completed. Not enough storage is available to complete this operation. This error also corrupts my all reference in main project ( not in DAL not in BLL). and I have to add all (.net or 3rd party dlls) again. It was working OK but I am getting this e...

Removing redundant using statements

Does anyone know of a tool to remove redundant using statements from classes, or a whole solution? I'm using the Refactor! addin which has a "move type to separate file" smart tag, but it takes all the using clauses from the original class with it. ...

Macros in Visual Studio 2008

Is it possible to configure Visual Studio 2008 to automatically remove lines in a sql file like this: prompt PL/SQL Developer import file prompt Created on jueves, 30 de julio de 2009 by pepe set feedback off set define off prompt Disabling triggers for MYTABLE... alter table MYTABLE disable all triggers; Remove lines that starts wit...

Puzzling javascript array behavior

So, this may be a really stupid question, but I'm obviously missing something here. Consider the following code: var selectedItems = []; selectedItems.push("0ce49e98-a8aa-46ad-bc25-3a49d475e9d3"); //fyi, selectedItems[selectedItems.length] = "0ce49e98-a8aa-46ad-bc25-3a49d475e9d3"; produced the same result. At the end sel...

Find completely commented files

In a solution with lots of files and projects - how would you find all completely commented files? I assume that every line of code starts with // (EDIT: or is empty) in such files. I am using VS 2008, C#, ReSharper is available. I know, normally such files should not exist - that's what a source safe is for ... ...

What is needed to upgrade client for Crystal Reports from VS 2005 to VS 2008

I am upgrading an application that was originally written in VS 2005 (.NET 3.0) and now I am upgrading that application to VS 2008 (.NET 3.5). I have Crystal .rpt files that I have created in VS 2005. The application is a Windows Forms app. What is needed to run the applications on the client for Crystal? Is there a installation I nee...

Microsoft Team System value within only a Dev Team

Microsoft Team System appears to be a great platform for process-oriented systems implementation, however if you strip out access for the BAs, PM and Business Users and just purely use it within a Dev team does it have any more value than just using Visual Studio Professional, SourceSafe, a Defect Tracking Tool and a continuous integrati...

Do you think VS and Intellisense make us dumber?

I read this article, the parts of "Intellisense" and "Generated Code": http://www.charlespetzold.com/etc/DoesVisualStudioRotTheMind.html Do you think the Author's is right? I don't agree that Intellisense is soooo bad for programmers. VS for C# uses to "hide" the controls' events in another file, but you can find them if you know ...

Can I use .net 4.0 beta without having vs2010?

Possible Duplicate: Can I use .NET 4.0 beta in Visual Studio 2008? I have VS 2008 professional, and yesterday installed .net 4.0 Beta 1 (without vs2010). I want to try parallel Fx lib, but I don't know how to add .net 4.0 references. It is possible to use 4.0 version without visual studio 2010? ...

How to configure Visual Studio for native C++ (unmanaged) development?

I am completely new to C++ development and am trying to learn it in Visual Studio. How can I be sure that I am learning only C++ and not the managed extensions? What configuration settings do I need to change? What project types should I stick to? Any other advice? Side issue: I have tried turning off Language Extensions under Proj...

Visual Studio: How to Build a Static Library for use in Another Project (Avoiding STL Linking Errors)

I'm new to Visual Studio and Windows as a development platform, and I'm having troubles linking a static library from one 'Project' into an executable in another. The library builds without error, but linking bails after finding several STL template instantiations defined in the library. For the purpose of this question, Project A build...

Adding C# web app to a web site with IIS6

I finished my very first C# project in VS 2008 and it is working well now. But now I need to publish this project onto my new website. This project is a web application that interacts with my SQL Server 2008 Adventureworks database on this same computer(XP Professional OS). I am running IIS 6.0 Manager, but I am a newbie to both IIS 6.0 ...

Strange results with pre- and post-build events

When I use a post-build with my web project (which has an associated Silverlight 3 project in the solution, and uses a web service to access the DB), I get some really weird results. The post-build event creates a zip file from the published folder and uploads it, among other things. However, it doesn't seem to matter, because I seem t...

Spontaneous application execution abort in debug

A WPF application. Debugging. Stop on break point. After few seconds Visual Studio (2008) spontaneously aborts the application execution. It is never mind what I do after stop on break point: even if I do nothing. With very simple test WPF application everything is OK with debugging. Any ideas? ...

How to create project and item templates?

I want to know how to create project and item templates in VS2008. Can anybody explain to me step-by-step how to do that? I am new to templates. ...

Why would my Visual Studio 2008 close everytime I open a .xaml file?

Visual Studio 2008 has been very stable for months on my computer. This morning when I double-click on any .xaml file to open it, or even click on the tab of an already opened .xaml file, Visual Studio says "initializing toolbar" in the status bar and then 20 seconds later fully closes the whole application without any error message. O...

VS2008/SQL Server: Quickly set up many-to-many-tables

Hi I've recently started using Visual Studio 2008 and SQL Server Express. I'm coming from a Emacs/Django background, so I'm not used to this way of working. Is there any quick and easy way to set up a many-to-many-table between two other tables? This would be the equivalent to the table generated by a ManyToManyField in Django. ...

How can I disable the Toolbox in VisualStudio 2008

The Loadingtime from the ToolBox is lagging my Environment. How can I disable the Toolbox in VisualStudio 2008. I dont use the ToolBox, I work only in the XAML Code Mode. Edit. I mean the xamlcodeMode what i need , and I should like disable the desginMode.. sry ...

How can I disable the Design-Mode in VisualStudio options

How can I use only the XAML-Code-View without Visual Studio load the Design-Mode? I need every Time disable the designMode, i cant find this in my options... ...

How can I make Visual Studio's build be very verbose?

I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild, but I wasn't able. What do I have to do to see everything performed by Visual Studio for me? It's not necessary to obtain the output in the build window. Anywhere would be fine. ...