468,290 Members | 1,993 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,290 developers. It's quick & easy.

having visual studio recognize my own extension

Hi,

I have renamed aspx to .ret and would like visual studio to recognize .ret
file as an aspx file

recognize = show designer, intellisense, group up with corresponding
codebehind in solution explorer, etc.

Many thanks
J
Jun 25 '06 #1
4 1118
Hmmm...I'd like to know how to do that, too.

Probably, the best place to ask that question is the MSDN Forums and,
in particular, the Visual Studio Extensibility Forum, which is manned by
the Visual Studio Development Team.

http://forums.microsoft.com/MSDN/Sho...ID=57&SiteID=1

You will need to register with an MS Passport account to be able to post questions.

If it's not too much trouble, could you post back the answer here if you get it ?

Thanks...and good luck!

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"John Mick" <mf**@yahoo.com> wrote in message news:eK**************@TK2MSFTNGP05.phx.gbl...
Hi,

I have renamed aspx to .ret and would like visual studio to recognize .ret file as an aspx file

recognize = show designer, intellisense, group up with corresponding codebehind in solution
explorer, etc.

Many thanks
J

Jun 25 '06 #2
Hi, Thank you very much for the advice...

Sure definitly will let you know/others when i get a workaround from MS
forum.

Thanks
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:u2*************@TK2MSFTNGP05.phx.gbl...
Hmmm...I'd like to know how to do that, too.

Probably, the best place to ask that question is the MSDN Forums and,
in particular, the Visual Studio Extensibility Forum, which is manned by
the Visual Studio Development Team.

http://forums.microsoft.com/MSDN/Sho...ID=57&SiteID=1

You will need to register with an MS Passport account to be able to post
questions.

If it's not too much trouble, could you post back the answer here if you
get it ?

Thanks...and good luck!

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"John Mick" <mf**@yahoo.com> wrote in message
news:eK**************@TK2MSFTNGP05.phx.gbl...
Hi,

I have renamed aspx to .ret and would like visual studio to recognize
.ret file as an aspx file

recognize = show designer, intellisense, group up with corresponding
codebehind in solution explorer, etc.

Many thanks
J


Jun 25 '06 #3
Here is the reply from MSFT Forum:
-------
You can get basic coloring by simply associating your extension with the
html editor. You can do so in the registry by adding a key under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio \8.0\Languages\File
Extensions

Next, you will need to support for the web site related features. You can
check out the WebSiteProjectAttribute.cs and
WebSiteProjectRelatedFilesAttribute.cs under
\VSIntegration\Common\Source\CSharp\

These files appear in the June VS SDK CTP and they show how to register new
extensions with a web editor.

--------------------------------------------------------------------------------

Carl Brochu, Visual Studio SDK
-----------------

It worked in my case :)

"John Mick" <mf**@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi, Thank you very much for the advice...

Sure definitly will let you know/others when i get a workaround from MS
forum.

Thanks
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:u2*************@TK2MSFTNGP05.phx.gbl...
Hmmm...I'd like to know how to do that, too.

Probably, the best place to ask that question is the MSDN Forums and,
in particular, the Visual Studio Extensibility Forum, which is manned by
the Visual Studio Development Team.

http://forums.microsoft.com/MSDN/Sho...ID=57&SiteID=1

You will need to register with an MS Passport account to be able to post
questions.

If it's not too much trouble, could you post back the answer here if you
get it ?

Thanks...and good luck!

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"John Mick" <mf**@yahoo.com> wrote in message
news:eK**************@TK2MSFTNGP05.phx.gbl...
Hi,

I have renamed aspx to .ret and would like visual studio to recognize
.ret file as an aspx file

recognize = show designer, intellisense, group up with corresponding
codebehind in solution explorer, etc.

Many thanks
J



Jun 27 '06 #4
Fantastic, John!

Thanks for the update...


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"John Mick" <mf**@yahoo.com> wrote in message news:Os**************@TK2MSFTNGP03.phx.gbl...
Here is the reply from MSFT Forum:
-------
You can get basic coloring by simply associating your extension with the html editor. You can do
so in the registry by adding a key under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio \8.0\Languages\File Extensions

Next, you will need to support for the web site related features. You can check out the
WebSiteProjectAttribute.cs and WebSiteProjectRelatedFilesAttribute.cs under
\VSIntegration\Common\Source\CSharp\

These files appear in the June VS SDK CTP and they show how to register new extensions with a web
editor.

--------------------------------------------------------------------------------

Carl Brochu, Visual Studio SDK
-----------------

It worked in my case :)

"John Mick" <mf**@yahoo.com> wrote in message news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi, Thank you very much for the advice...

Sure definitly will let you know/others when i get a workaround from MS forum.

Thanks
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:u2*************@TK2MSFTNGP05.phx.gbl...
Hmmm...I'd like to know how to do that, too.

Probably, the best place to ask that question is the MSDN Forums and,
in particular, the Visual Studio Extensibility Forum, which is manned by
the Visual Studio Development Team.

http://forums.microsoft.com/MSDN/Sho...ID=57&SiteID=1

You will need to register with an MS Passport account to be able to post questions.

If it's not too much trouble, could you post back the answer here if you get it ?

Thanks...and good luck!

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"John Mick" <mf**@yahoo.com> wrote in message news:eK**************@TK2MSFTNGP05.phx.gbl...
Hi,

I have renamed aspx to .ret and would like visual studio to recognize .ret file as an aspx file

recognize = show designer, intellisense, group up with corresponding codebehind in solution
explorer, etc.

Many thanks
J



Jun 27 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by blackdog | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.