Jose R. Guay Paz

Most of the time on
ASP.NET, C# & SQL Server

Sponsors

News

INETA Community Speakers Program

My latest tweets

this.blog.owner=

  • CSW Solutions
  • Follow Me
  • Works On My Machine

.NET Communities

  • INETA Latam

Blogs I Read

Websites I like

Dragging & Dropping Files into Visual Studio Projects

I don’t know how many of you use this feature but for some time I’ve been having the problem of not being able to drag files into my Visual Studio projects.

It’s true that you need this feature, it’s true that it’s available, but why did this happened?

Well, it turns out that for some time now, I’ve been running my Visual Studio Team System 2008 in Windows Vista with elevated permissions (aka. Run as administrator).

For some security related issues related to UAC, Visual Studio can’t allow you to drag files into your projects when it is running as administrator. I just discovered that… It may be pretty obvious to some of you but it wasn’t to me for sure.

So, I’m now running my Visual Studio without elevated permissions and drag files into projects are enabled again. The drawback, you can’t access websites hosted in IIS, or at least I have that problem now.

Please feel free to comment. I’d love to hear your thoughts on this and probably we could all get all the features from Visual Studio up and running.

Cheers,

Comments

Valamas said:

You may be able to drag the files in if you also run "Windows Explorer" as administrator.

# March 4, 2009 10:01 PM

Guy said:

seems to be working just fine for me?

i have "Microsoft Visual Studio (Administrator)" in the title bar.

i have UAC turned off though, maybe this is why...

# March 5, 2009 8:58 AM

Phil said:

Unfortunately running windows explorer as administrator doesn't seem to work either.

If there's a solution for this which doesn't involve using an alternative file manager or disabling security features, I'd love to hear it!

# March 5, 2009 10:46 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)