[MonoDevelop] re Missing Designer Files
m.j.hutchinson at gmail.com
Fri Apr 11 14:06:08 EDT 2008
On Fri, Apr 11, 2008 at 9:19 AM, Patrick Barry <drpatrickbarry at gmail.com> wrote:
> Visual Studio has two formats for web sites The normal web site. This
> format does not work well with MD as as you say it does not have
> designer files as the controls are dynamically created at runtime and
> stored in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
> ASP.NET Files/WebSiteName
> However a VS service pack introduced a "web application" project type
> that uses designer files instead of files in
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files/WebSiteName. This format works great with MD as the website
> also has a project file unlike the web site format.
> It not a bad job to convert a VS web site to a web application. Just
> add a new web application project to your solution and then add all of
> the file in your website to the new project. They will still be
> missing the .designer files so you need to right click on the each
> file or directory and select convert to web application. This will
> create your designer files.
That's pretty neat :)
> MD will then happy open the solution and compile.
> >At work, we developped an asp.net web application using Visual Studio 2005.
> >When I open it in MonoDevelop there's a problem with the webcontrols not
> >being recognised in the code behind files.
> >When I create a new .aspx file in MonoDevelop, a designer.cs file is added
> >with the declarations for the webcontrols.
> >But in VS2005 I have no such files.
> >So now, MonoDevelop doesn't recognise my webcontrols.
> >Do I have to add them manually, or is there a way to automatically generate
I'd like to add a way to generate them (an "add designer class"
command) but that'd need a language-agnostic API to make classes
partial or discover whether they're partial, which we don't have yet.
That makes it somewhat harder to implement.
> PS How do I reply to a specific message??
In gmail, "reply to all".
More information about the Monodevelop-list