sharing about .NET and technology RSS 2.0
# Wednesday, November 22, 2006

This macro enables you to nest project items inside Visual Studio .NET. Until now, there is no easy way to nest project items through the Visual Studio IDE, you can only do it by manipulating the project (.csproj or .vbproj) file and adding the DependentUpon element.

Inside the IStaySharp.vsmacros file there is a macro called 'Create Dependency' which allows you to nest two selected items. I have even created a video (672,18 KB) to illustrate how to configure and use the macro.

Wednesday, November 22, 2006 12:23:49 AM (Romance Standard Time, UTC+01:00) -  # -  Comments [6] -
.NET | Visual Studio
Monday, November 27, 2006 10:17:52 AM (Romance Standard Time, UTC+01:00)
Hello p0l, a while ago I read the following blog post:

http://extraview.co.uk/blog/PermaLink,guid,689818e8-817e-49d1-a33f-47decffa1700.aspx

Which shows you how to associate a .js file with a .aspx which was very interesting. Does your macro support this is well?
Thursday, November 30, 2006 12:44:40 AM (Romance Standard Time, UTC+01:00)
Yes, the macro is not bound to any file extension and/or file structure.
Thursday, January 04, 2007 3:27:17 PM (Romance Standard Time, UTC+01:00)
Thanks, I needed this.

I've been trying to figure out for months why this doesn't just work automatically with files named in certain patterns indicating partial class usage (Class1.cs, Class1.Static.cs). At least now I have a way to do it manually.
Grim
Tuesday, January 09, 2007 4:30:50 AM (Romance Standard Time, UTC+01:00)
How would you about doing the reverse?
Removing the dependency using a Macro?
Michael Norton
Wednesday, May 12, 2010 12:29:15 AM (Romance Daylight Time, UTC+02:00)
@Michael Norton,
you can use @http://mokosh.co.uk/vscommands/@vscommands addin from http://mokosh.co.uk/vscommands/ to do both nesting and unnesting.
Ann
Wednesday, May 12, 2010 12:29:43 AM (Romance Daylight Time, UTC+02:00)
@Michael Norton,
you can use a@http://mokosh.co.uk/vscommands/@vscommands addin from http://mokosh.co.uk/vscommands/ to do both nesting and unnesting.
Ann
Ann
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
Navigation
Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Christoph De Baene
Sign In
Statistics
Total Posts: 176
This Year: 2
This Month: 0
This Week: 0
Comments: 283
All Content © 2010, Christoph De Baene
DasBlog theme 'Business' created by Christoph De Baene