Author: mhutch
Date: 2007-09-05 11:41:38 -0400 (Wed, 05 Sep 2007)
New Revision: 85367
Modified:
trunk/monodevelop/Extras/AspNetAddIn/ChangeLog
trunk/monodevelop/Extras/AspNetAddIn/Templates/WebApplication.xpt.xml
Log:
* Templates/WebApplication.xpt.xml: Use new FileReferenceTemplate to
reference CodeBehindWebForm instead of duplicating whole template.
Modified: trunk/monodevelop/Extras/AspNetAddIn/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/AspNetAddIn/ChangeLog 2007-09-05 15:32:42 UTC
(rev 85366)
+++ trunk/monodevelop/Extras/AspNetAddIn/ChangeLog 2007-09-05 15:41:38 UTC
(rev 85367)
@@ -1,5 +1,10 @@
2007-09-05 Michael Hutchinson <[EMAIL PROTECTED]>
+ * Templates/WebApplication.xpt.xml: Use new FileReferenceTemplate to
+ reference CodeBehindWebForm instead of duplicating whole template.
+
+2007-09-05 Michael Hutchinson <[EMAIL PROTECTED]>
+
* Project/XspParameters.cs: Fix some compile warnings.
* Templates/CodeBehindWebHandler.xft.xml,
Templates/EmptyWebForm.xft.xml,
Templates/CodeBehindWebControl.xft.xml,
Modified: trunk/monodevelop/Extras/AspNetAddIn/Templates/WebApplication.xpt.xml
===================================================================
--- trunk/monodevelop/Extras/AspNetAddIn/Templates/WebApplication.xpt.xml
2007-09-05 15:32:42 UTC (rev 85366)
+++ trunk/monodevelop/Extras/AspNetAddIn/Templates/WebApplication.xpt.xml
2007-09-05 15:41:38 UTC (rev 85367)
@@ -32,48 +32,7 @@
<Reference type="Gac"
refto="System.Web.Services, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
</References>
<Files>
- <AspNetFile name="Default.aspx"
BuildAction="FileCopy">
- <FileText>
- <![CDATA[<%@ Page
Language="${Language}" Inherits="${Namespace}.${Name}" %>
-${Doctype}
-<html>
-<head>
- <title>${Name}</title>
-</head>
-<body>
- <form id="form1" runat="server">
- </form>
-</body>
-</html>]]>
- </FileText>
- </AspNetFile>
-
- <CodeTranslationFile
name="Default.aspx.${LanguageExtension}">
-<![CDATA[using System;
-using System.Web;
-using System.Web.UI;
-
-namespace ${Namespace}
-{
-
- public partial class ${Name} : System.Web.UI.Page
- {
- }
-}]]>
- </CodeTranslationFile>
- <CodeTranslationFile
name="Default.aspx.designer.${LanguageExtension}"
ShowAutogenerationNotice="True">
-<![CDATA[using System;
-using System.Web;
-using System.Web.UI;
-
-namespace ${Namespace}
-{
-
- public partial class ${Name}
- {
- }
-}]]>
- </CodeTranslationFile>
+ <FileTemplateReference
TemplateID="CodeBehindWebForm" name="Default" />
</Files>
</Project>
</Combine>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches