Hi,
I have visual studio 2005 and the ASP .NET 2 templates.
The site compiles and runs fine and I've been able to add my own page template in C# but I can't find a way to create anything new for coding in visual basic (ie page/usercontrol/masterpage etc...). (the language option is not available on the new item screen as if C# is the only option?)
Any ideas?
Many thanks,
Seb
Isn't that a limitation in VS 2005? If the project is a C# project, you cannot code in other languages (actually, i think you can, but I've never done it so I have no idea of how you do it).
A suggestion would be to create a new project in VB.Net and convert everything in /templates (if you are keeping that directory). Don't forget to copy all the other directories you need (/admin, /bin, /edit, /lang, /util, and other directories i might have forgotten) and also the web.config file.
Another solution might be to skip all code behind-files and put your code in script tags in the aspx/ascx files instead (not a very pretty solution).
Regards,
/Patrik