visual-studio-2008

How to get big Vista icons for a shortcut created with a VS2008 Setup and Deployment project?

First I made an app and I set its application icon to a icon I made. That icon has 256x256px in it, and it works good in windows vista (256 size gets used when really large icon). I've made a setup project, that installs the app I made, and I added a shortcut to the desktop. The icon of the shortcut won't get big, it stays +- 48x48 maxi...

Source file not refreshing

Hello, I am trying to create a Visual Studio 2008 add in, so I have created a Visual Studio Add in Project, pressed F5 to see it run an the icon for my new add in appears at the top of the Tools menu. So after stopping the execution I made a few changes to the source code and pressed F5 again, no changes what so ever and no debugging ...

subversion ankhsvn files disapear from solution explorer

Im using Visual studio 2008. Every once in a while files that exist in the root of couple of my class libraries disapear from the solution explorer on visual studio. Files exist on subversion. I could not understand the reason of this and it just happened again.. Any one has experienced this problem also? ...

Show method name in "Find all references" - C# Visual Studio

When i rightclick something in visual studio and press Find all references i get a list of all locations where this object occur. Is there any way to also show the scope of this location (Namespace.Class.Method) instead of just a line-number. Now i have to doubleclick all of the results to see where it actually is. ...

File type icon in a visual studio tab?

Is there a way to view file type icons in a visual studio tab? It displays them in the little drop down menu (upper right arrow of an editor), but not in the tabs. Is this a feature? Personally I would hide the extension and show the icon. ...

Visual Studio intellisense not working in one .ascx file

I have two .ascx files in the same folder in an ASP.NET MVC project. In one of them intellisense is working fine. In the other it does not work at all. Any ideas? The files are very similar with the same @control definition at the top. Using VS2008 and C#. ...

Web Page not being closed after debugging session is stopped

Using Visual Studio 2008 (Tried Team Edition and Professional), I have a web service app, that when I stop debugging the FireFox Browser Tab remains open. How can I change the behaviour of VS / Firefox to close this window when the debugging is stopped? ...

Hide Radiobox and Checkbox Name on Visual Studio Design View

I have been designing controls in Visual Studio 2008 and as you may have notice when I use radio button and checkbox web controls for ASP .NET it shows the name on design view, this causes me to see an odd preview because the text are unnecessarily wide. I was wondering if there is any settings in visual studio to turn this off? ...

Creating a item template for Visual Studio 2008, with file-dependencies, is it possible?

I have a template that adds a new entry to the "Add->New item" right-click menu on a project in the solution explorer in Visual Studio. I have already built the template, put it into my ItemTemplates directory beneath my documents folder, and it works, in the sense that I can add new items to the project through the template. However, ...

Visual Studio Add in to Add Tracing

I was looking to write/get a visual studio addin. I want to be able to write descriptive log calls at the top and bottom of a function. like this log.debug("TheClass.TheMethod(string TheStringParam ="+TheStringParam+") - in"); log.debug("TheClass.TheMethod(string TheStringParam ="+TheStringParam+") - out"); Is there an adin that do...

Is it OK to redistribute the utility installutil that ships with .NET?

I have a .NET service built with C# and it requires install util to be properly installed. However I don't trust that it's always in the right place when my installer runs on a customer's machine. Does Microsoft allow you to freely redistribute installutil with your products? ...

Illegal characters in path error while parsing XML in C#

Hi, I'm getting an "Illegal characters in path error" while using XMLTextReader method. Basically, I'm sending a long URL to tr.im, and tr.im sends the response as an XML stream, which I'm trying to parse but I get the above mentioned error. Can you guys guide me as to why I'm getting this error and where I'm going wrong? Here's the co...

How can Resharper be made aware of the framework version?

I am coding in VS2008 with Resharper 4.5.1, but the projects are set to target .NET Framework 2.0. Still, Resharper is making suggestions that are relevant to the .NET 3.5 framework. For instance, it tells me that I should be using collection initializers, etc... I've looked through the settings and can't seem to find the checkbox to t...

Creating msbuild script to build, publish with specified app.config, and update from different locations.

I have googled everywhere for this solution and cannot find anything! I want to have a msbuild script to do the following: Build the project solution Publish the built solution with the specified app.config (app.config.debug or app.config.release) to a specified folder (Development or Production) With the specified configuration, know...

send variables to Visual Studio 2008 build event command line

I would like to send additional parameters to the batch file that I'm running in the "Pre-build event command line" of Visual Studio 2008. I can change directory ("cd") to the current "solution directory" by passing in "$(SolutionDir)\MyProject". Can I pass in the build version? I've set my AssemblyInfo.cs to auto increment (as describ...

Reset View in Visual Studio 2008?

For some reason, the layout and sizes of various panels in my copy of Visual Studio 2008 has gone all wonky -- for example, the Error and Output windows appear in the same tab group as my code, and their position doesn't persist if I attempt to manually move them where I want them to go. Is there some sort of way to reset all panels to t...

How can I cancel a Visual Studio NewPendingChange event?

I'm trying to programmatically intercept and cancel a user's attempt to check out a file in TFS. Am I correct in thinking that the proper way to go about this would be to handle the NewPendingChange in a Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer ? What is the proper way for canceling the event from its event ...

Change spacing of snaplines in Visual Studio 2008

Is it possible to change the amount of space snaplines put between controls in a WinForms project in Visual Studio 2008? For example, when I slide a textbox up to another textbox (one above the other), there's 6 pixels of space between the controls. I'd like there to be 5 pixels of space between them when they snap to each other. Than...

Is there any way to get Visual Studio to reload all projects when the .proj files have changed?

If I do an svn update while I have Visual Studio open and a number of project files have changed (but not the solution file) I have to wait and click yes on the reload project dialog box every time. Sometimes this can take a while depending on how many projects have changed and how slow my pc is being. Is there a way to say 'reload a...

Unable to add a DLL Reference to VS 2008

Hi, I wonder if someone can help me. I'm trying to add a reference to the LAME MP3 encoder in my VB.Net (3.5) App. The DLL I'm using (lame_enc.dll v3.98.2) was downloaded from here: http://rarewares.org/mp3-lame-bundle.php When I try to add the DLL reference to my project, I get an error: "A reference to C:\\Lame_Enc.dll could not be ...