visual-studio

Search a type assigned to a 'var' in Visual Studio

This is probably a wish, more than a question: In some part of the code I have used a function like this: var myProperty = typeof(T).GetProperty(titulo); I'd like to seach in Visual Studio any usage of the type 'PropertyInfo' (that is the internal type that takes var in this example). ...

Make Trusted MSI Setup Project in Visual Studio?

I have both VS2008 and VS2010 Setup projects that create .MSI files. On server 2008, I get warnings that the apps are not "trusted". How can I bake-in trust for the apps I build with Visual Studio? Thanks. ...

how can I remove SVN bindings from folder using GUI SVN tool

I have SVN bound folder that is copied from my colleague's machine. that folder contains svn bound hidden folders which are difficult to remove manualy. Is there a way to remove the svn bindings from folder using tortoise svn GUI tool ...

General approach to missing DLL's.

I guess everyone has run into missing dll's issues from time to time. What I am trying to get is the 'recommended' method to find and install the dll's. Finding out which dll's are missing is easy enough using depends.exe. ...

file has not been pre-compiled issue in asp.net

Hi, I have done a publish for my asp.net website through build>publish website option in visual studio 2010 and when deploy it in IIS 6 in staging environment it shows me "[filename].aspx has not been pre-compiled" for every page when i try to browse. Any help would be much appreciated. Thanks Guys.... ...

WCF RIA Services link dropdownlist not present in project properties (Visual Studio 2010)

I committed a project to VSTF and then pulled it down locally on another machine. It works fine on my dev box, but on the other machine, the WCF RIA Service link appears to be gone and there is no option to re-add it in the project properties. See image for clarification: http://imgur.com/XIwfB.png What's missing on the other machine? ...

Can ClickOnce be configured to delete off old published directories?

Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole applicat...

WiX: is there really no easy way to get started in Visual Studio?

I installed WiX 3.5 with Visual Studio 2010, as I've read lots of people saying that WiX is a great alternative to that hellhole that is the Visual Studio Setup project, but it sure seems like it requires a lot more effort to make even the simplest installer. Am I missing something? In a VS setup project, I can add a project output t...

Is there a way to prevent Visual Studio 2010 formatting C# code in ASP.NET MVC views?

I'd like Visual Studio to continue automatically formatting my .cs files, but is there a way to prevent it auto-formatting C# code in between the <% %> tags in ASP.NET MVC views because it really makes a mess of it? ...

Automated inlining for VC++?

Is there a way to tell the compiler to inline wherever it sees it to be useful? I thought it did this by default, but adding a few inline to my game loop functions improved performance by a good 30%. Thanks ...

does Visual Studio 2010 not have a "join lines" keyboard shortcut?

does Visual Studio 2010 not have a "join lines" keyboard shortcut? EDIT - That is when on line X anywhere, I hit a shortcut key once, and then line X+1 joins to line X (eliminating CR between them so to speak) ...

how to write a simple GUI application in VisualC++.

Hi, I wanted to do a simple GUI application in VC++ but can't find any good tutorial for same. I till now just worked in C,linux so dont know how to actually do that. If anyone can point me to some simple "Hello world" GUI application, it will be of great help. With this, I wanted to know is there any special things I need to do if I a...

debugging VS 2005 prompts an "Operation not supported"

Hi! I've been debbugging VS 2005 and set the 'Start external program' to C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe But after hitting F5 I got this error: Error while trying to run project: Unable to start program 'C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe Operation not supported....

Really disable XML Schema Explorer

The first time you open up an XML file in a Visual Studio 2008 SP1 instance, it opens up XML schema explorer. I want to disable it. Is this possible? Background: I'm developing within a VMware environment (yes, I agree, that is the real problem here). XML Schema Explorer uses graphics acceleration, and this messes up the VM (it drops ou...

Can Resharper (or Visual Studio) collapse a method call (replace the call with the contents of that method/constant)?

I've inherited a web application written in ASP.NET that has an incomplete implementation of a localization scheme (not using resource files). Here's a micro version: public class Useful { public void DoSomething() { return Localizations.Do_Something_Message_vx7Hds8i; } } public class Localizations { public cons...

VS 2010 conversion problem

I just converted a solution from VS 2008 to 2010, almost all of the projects were successfully converted. However, one of the project (say Project X) conversion was kind of unsuccessful with message (This project needs not to be converted.) But now i am not able to build solution, because the projects having references to Project X are ...

dropdown list wont populate values from database

Hello everyone i need help. Ive been having this problem for almost a day now. dropdown list won't populate from database Below is the code i am using: <%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="PhotoAlbum.aspx.vb" Inherits="PhotoAlbum" %> Members...

WCF 64 bit not working

Hi, I'm trying to develop a simple WCF service running in a 64 bit environment. I fire up VS2010 under Windows 7 New Solution -> WCF project -> Run -> It works fine. As soon as I change the properties of the project in order to make it compile in 64 bit, running it throws the following exception: Could not load file or assembly 'WcfS...

How can you stop Visual Studio rearranging its Windows when debugging

Does anyone know whether it's possible to stop Visual Studio 2010 from rearranging its windows when you run a program in the debugger? It's something that Visual Studio versions have done for as long as I remember - if I've understood it correctly, it has two settings for how to arrange its Windows - one for when it's in the debugger an...

Help me choose a topic for my graduation thesis with NAO

Hello, I would like to get some advice about my graduation thesis. The professor has already gave me some basic guidelines and I have two weeks to decide. My graduation thesis should be coding "something" for the NAO robot. The "something" should be coded using the Silverlight technology. Now I just need to decide on what the "somethi...