visual-studio

Visual Studio Intellisense, c#, no code behind.

If I open a file in Design View (web form), I get intellisense for my display code, but not my script code.. If I open with source code editor I, occasionally, get intellisense within the script tags. Anyone know how to get intellisense working all of the time for all of my code? Been living with this one for a long time. ...

Linking .Net Assemblies

This is all hypothetical, so please bear with me. Say I'm writing a tool in C# called Foo. The output is foo.exe. I've found some really great library that I like to use called Bar, which I can reference as bar.dll in my project. When I build my project, I have foo.exe and bar.dll in my output directory. Good so far. What I'd like ...

Code Outlining, Classic ASP and Visual Studio 2005

Is there a way to enable code outlining for Classic ASP in Visual Studio 2005? It outlines the HTML code pretty well and I get a big outline between <% and %>, but nothing for the code itself. ...

What does the option "convert to web application" do if I select it in visual studio?

What does the option “convert to web application” do if I select it in visual studio? If I do convert my site to a web application what are the advantages? Can I go back? ...

How to Autogenerate multiple getters/setters or accessors in Visual Studio

Before I start, I know there is this post and it doesn't answer my question: http://stackoverflow.com/questions/3017/how-to-generate-getters-and-setters-in-visual-studio In Visual Studio 2008 there is the ability to auto generate getters and setters (accessors) by right clicking on a private variable -> Refactor -> Encapsulate Field... ...

Best way to learn Visual Studio power features

Hi, What's the best way to learn the advanced features in Visual Studio? For e.g. using Debug windows like Threads, Memory etc., using the various Tools which come inbuilt such as Spy++ etc. Are there any good advanced/power-user tutorials around? Thanks, Nikhil ...

Resharper and ViEmu Keybindings ( and Visual Assist )

With ViEmu you really need to unbind a lot of resharpers keybindings to make it work well. Does anyone have what they think is a good set of keybindings that work well for resharper when using ViEmu? What I'm doing at the moment using the Visual Studio bindings from Resharper. Toasting all the conflicting ones with ViEmu, and then just...

C#: Import/Export Settings into/from a File

What's the best way to import/export app internal settings into a file from within an app? I have the Settings.settings file, winform UI tied to the settings file, and I want to import/export settings, similar to Visual Studio Import/Export Settings feature. ...

How do you guarentee the ASPNET user gets assigned the correct default directory rights.?

I seem to make this mistake everytime I set up a new development box. Is there a way to make sure you don't have to manually assign rights for the ASPNET user? I usually install .Net then IIS, then Visual Studio but it seems I still have to manually assign rights to the ASPNET user to get everything running correctly. Is my install order...

How to get Intellisense on error-marked code in Visual Studio 2005?

When I try to compile code on VS 2005 and it fails, the line which causes the error gets underlined blue, and mouse-hovering over it displays the error message. Fine, but you can't see object types or whatever, because Intellisense will show the error message, and not object info. In this image, I wanted to see what type DateTime.Subtra...

Any problems running SharpDevelop 3.0 and Visual Studio 2008 side by side?

I have been asked to lend a hand on a hobby project that a couple friends are working on, they are using SharpDevelop 3.0 (Beta 2 I think, but it might be Beta 1) is there any hassle for me to install and use this IDE given that I have Visual Studio 2008 installed? ...

C#: Why does Settings PropertyValues have 0 items?

Assuming there are 5 items in the settings file (MySetting1 to MySetting5), why does PropertyValues have 0 items while Properties has the correct number? Console.WriteLine( Properties.Settings.Default.PropertyValues.Count ); // Displays 0 Console.WriteLine( Properties.Settings.Default.Properties.Count ); // Displays 5 ...

Is there a tool to convert a .vim colour definition file to use in VS.NET 2008

If you go to a site such as: http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/index-c.html It has a bunch of example colour themes for VI. Does anyone know of a tool that would take those files and convert them into .vssettings files to use in Visual Studio? If not, how about some good docs on ether of the formats. ...

How do I get my Visual Studio Test Suite web test to iterate over my data source?

I have Visual Studio web test attached nicely to a data source, but I need to be able to iterate over each entry in the data source. How should I do this? ...

App_Code folder issues

So I'm having a really weird issue with my App_Code folder on a new website I'm designing. I have a basic class inside of a namespace in the App_Code folder. Everything works fine in the IDE when I setup the namespace and make an object from the class. It brings up the class summary on hover, and when you click on "go to deffinition...

How to stop the Visual Studio debugger starting my process in a job object?

When I start my process from Visual Studio, it is always created inside a job object. I would like to know how to turn this behaviour off. Any ideas? I expect that it is created in a job object to be debugged. I want to place my program in a different job object. It's not the hosting process. I'm talking about a Job Object. This is an ...

How to create and use resources in .NET

How do I create a resource that I can reference and use in various parts of my program easily? My specific problem is that I have a NotifyIcon that I want to change the icon of depending on the state of the program. A common problem, but one I've been struggling with for a long time. ...

Advantages of VS 2008 over VS 2005

Could somebody please name a few. I could given time, but this is for somebody else, and I'd also like some community input. ...

Can Visual Studio 2008 work with Team System 2005?

I would like to upgrade my team from VS2005 to VS2008 without touching the version of Team Server which is 2005. Is that possible? And if so, how do I tell VS to recognize TFS ? Currently in my VS2008 options menu, I don't have any source control to choose from... ...

PostSharp - il weaving - thoughts

I am considering using Postsharp framework to ease the burden of application method logging. It basically allows me to adorn methods with logging attribute and at compile time injects the logging code needed into the il. I like this solution as it keeps the noise out of the deign time code environment. Any thoughts, experiences or better...