Author: mhutch
Date: 2007-12-31 17:33:17 -0500 (Mon, 31 Dec 2007)
New Revision: 92079
Added:
trunk/monodevelop/main/src/addins/VBNetBinding/templates/AssemblyInfo.xft.xml
Modified:
trunk/monodevelop/main/src/addins/VBNetBinding/ChangeLog
trunk/monodevelop/main/src/addins/VBNetBinding/Makefile.am
trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.addin.xml
trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.mdp
trunk/monodevelop/main/src/addins/VBNetBinding/templates/EmptyVBFile.xft.xml
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml
Log:
* VBNetBinding.addin.xml, VBNetBinding.mdp,
templates/AssemblyInfo.xft.xml, Makefile.am: Add AssemblyInfo
template.
* templates/EmptyVBFile.xft.xml: Use standard header.
* templates/VBGtkSharp2Project.xpt.xml,
templates/VBConsoleApplicationProject.xpt.xml: Use standard headers
and AssemblyInfo template.
Modified: trunk/monodevelop/main/src/addins/VBNetBinding/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/VBNetBinding/ChangeLog 2007-12-31
22:22:16 UTC (rev 92078)
+++ trunk/monodevelop/main/src/addins/VBNetBinding/ChangeLog 2007-12-31
22:33:17 UTC (rev 92079)
@@ -1,5 +1,14 @@
2007-12-31 Michael Hutchinson <[EMAIL PROTECTED]>
+ * VBNetBinding.addin.xml, VBNetBinding.mdp,
templates/AssemblyInfo.xft.xml,
+ Makefile.am: Add AssemblyInfo template.
+ * templates/EmptyVBFile.xft.xml: Use standard header.
+ * templates/VBGtkSharp2Project.xpt.xml,
+ templates/VBConsoleApplicationProject.xpt.xml: Use standard headers
and
+ AssemblyInfo template.
+
+2007-12-31 Michael Hutchinson <[EMAIL PROTECTED]>
+
* VBBindingCompilerServices.cs: Use WaitForOutput instead of
WaitForExit to
make sure we get all of the output, or the output-collecting thread
can
sometimes try to write to the StringWriter after it's disposed, and
Modified: trunk/monodevelop/main/src/addins/VBNetBinding/Makefile.am
===================================================================
--- trunk/monodevelop/main/src/addins/VBNetBinding/Makefile.am 2007-12-31
22:22:16 UTC (rev 92078)
+++ trunk/monodevelop/main/src/addins/VBNetBinding/Makefile.am 2007-12-31
22:33:17 UTC (rev 92079)
@@ -36,6 +36,7 @@
RES = \
icons/VB.FileIcon \
icons/vb-icon-32.png \
+ templates/AssemblyInfo.xft.xml \
templates/EmptyVBFile.xft.xml \
templates/EmptyVBProject.xpt.xml \
templates/VBConsoleApplicationProject.xpt.xml \
Modified: trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.addin.xml
===================================================================
--- trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.addin.xml
2007-12-31 22:22:16 UTC (rev 92078)
+++ trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.addin.xml
2007-12-31 22:33:17 UTC (rev 92079)
@@ -25,6 +25,7 @@
<Extension path = "/MonoDevelop/Ide/FileTemplates">
<FileTemplate id = "EmptyVBFile" resource = "EmptyVBFile.xft.xml"/>
+ <FileTemplate id = "VBAssemblyInfo" resource = "AssemblyInfo.xft.xml"/>
</Extension>
<Extension path = "/MonoDevelop/Ide/ProjectTemplates">
Modified: trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.mdp
===================================================================
--- trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.mdp
2007-12-31 22:22:16 UTC (rev 92078)
+++ trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.mdp
2007-12-31 22:33:17 UTC (rev 92079)
@@ -33,11 +33,11 @@
<File name="templates/EmptyVBFile.xft.xml" subtype="Code"
buildaction="EmbedAsResource" />
<File name="templates/EmptyVBProject.xpt.xml" subtype="Code"
buildaction="EmbedAsResource" />
<File name="templates/VBConsoleApplicationProject.xpt.xml" subtype="Code"
buildaction="EmbedAsResource" />
- <File name="templates/VBGtkSharpProject.xpt.xml" subtype="Code"
buildaction="EmbedAsResource" />
<File name="templates/VBGtkSharp2Project.xpt.xml" subtype="Code"
buildaction="EmbedAsResource" />
<File name="icons/VB.FileIcon" subtype="Code"
buildaction="EmbedAsResource" />
<File name="VBNetBinding.addin.xml" subtype="Code"
buildaction="EmbedAsResource" />
<File name="icons/vb-icon-32.png" subtype="Code"
buildaction="EmbedAsResource" />
+ <File name="templates/AssemblyInfo.xft.xml" subtype="Code"
buildaction="EmbedAsResource" />
</Contents>
<References>
<ProjectReference type="Project" localcopy="False"
refto="MonoDevelop.Core" />
Added:
trunk/monodevelop/main/src/addins/VBNetBinding/templates/AssemblyInfo.xft.xml
===================================================================
---
trunk/monodevelop/main/src/addins/VBNetBinding/templates/AssemblyInfo.xft.xml
2007-12-31 22:22:16 UTC (rev 92078)
+++
trunk/monodevelop/main/src/addins/VBNetBinding/templates/AssemblyInfo.xft.xml
2007-12-31 22:33:17 UTC (rev 92079)
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<Template
+ Originator="Michael Hutchinson"
+ Created="2007/12/31"
+ LastModified="2007/12/31">
+
+ <!-- Template Header -->
+ <TemplateConfiguration>
+ <_Name>Assembly Information</_Name>
+ <Category>Misc</Category>
+ <Icon>md-text-file-icon</Icon>
+ <LanguageName>VBNet</LanguageName>
+ <DefaultFilename
IsFixed="True">AssemblyInfo.vb</DefaultFilename>
+ <_Description>A file defining assembly information
attributes.</_Description>
+ </TemplateConfiguration>
+
+ <Conditions>
+ <ParentProject PermittedCreationPaths=""
ExcludedFiles="AssemblyInfo.vb" RequireProject="True"/>
+ </Conditions>
+
+ <!-- Template Content -->
+ <TemplateFiles>
+ <File name="AssemblyInfo.vb" AddStandardHeader="True">
+ <![CDATA[Imports System.Reflection
+Imports System.Runtime.CompilerServices
+
+// Information about this assembly is defined by the following attributes.
+// Change them to the values specific to your project.
+
+<assembly: AssemblyTitle("${ProjectName}")>
+<assembly: AssemblyDescription("")>
+<assembly: AssemblyConfiguration("")>
+<assembly: AssemblyCompany("")>
+<assembly: AssemblyProduct("")>
+<assembly: AssemblyCopyright("")>
+<assembly: AssemblyTrademark("")>
+<assembly: AssemblyCulture("")>
+
+// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
+// If the build and revision are set to '*' they will be updated automatically.
+
+<assembly: AssemblyVersion("1.0.*.*")>
+
+// The following attributes are used to specify the signing key for the
assembly,
+// if desired. See the Mono documentation for more information about signing.
+
+<assembly: AssemblyDelaySign(false)>
+<assembly: AssemblyKeyFile("")>
+]]></File>
+ </TemplateFiles>
+</Template>
Modified:
trunk/monodevelop/main/src/addins/VBNetBinding/templates/EmptyVBFile.xft.xml
===================================================================
---
trunk/monodevelop/main/src/addins/VBNetBinding/templates/EmptyVBFile.xft.xml
2007-12-31 22:22:16 UTC (rev 92078)
+++
trunk/monodevelop/main/src/addins/VBNetBinding/templates/EmptyVBFile.xft.xml
2007-12-31 22:33:17 UTC (rev 92079)
@@ -10,9 +10,8 @@
</TemplateConfiguration>
<TemplateFiles>
- <File DefaultExtension=".vb" DefaultName="EmptyVBfile">
- <![CDATA['created on ${Date} at ${Time}]]>
- </File>
+ <File DefaultExtension=".vb" DefaultName="EmptyVBfile"
AddStandardHeader="True">
+ </File>
</TemplateFiles>
<FileOptions/>
Modified:
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml
===================================================================
---
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml
2007-12-31 22:22:16 UTC (rev 92078)
+++
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml
2007-12-31 22:33:17 UTC (rev 92079)
@@ -14,7 +14,7 @@
<!-- Actions -->
<Actions>
- <Open filename = "application.vb"/>
+ <Open filename = "Application.vb"/>
</Actions>
<!-- Template Content -->
@@ -27,15 +27,16 @@
<!-- <Options Target = "Class" PauseConsoleOutput =
"True" /> -->
<Files>
- <File name = "application.vb">
-<![CDATA[' project created on ${Date} at ${Time}
+ <File name = "Application.vb"
AddStandardHeader="True">
+<![CDATA[
-Public Class application
+Public Class Application
Public Shared Sub Main()
System.Console.WriteLine("Hello world!")
End Sub
End Class
]]></File>
+ <FileTemplateReference TemplateID="VBAssemblyInfo"
name="AssemblyInfo.vb" />
</Files>
</Project>
</Combine>
Modified:
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml
===================================================================
---
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml
2007-12-31 22:22:16 UTC (rev 92078)
+++
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml
2007-12-31 22:33:17 UTC (rev 92079)
@@ -35,8 +35,7 @@
</References>
<Files>
- <File name="Main.vb"><![CDATA[' project created
on ${Date} at ${Time}
-Imports System
+ <File name="Main.vb"
AddStandardHeader="True"><![CDATA[Imports System
Imports Gtk
Public Class MainClass
@@ -49,7 +48,7 @@
End Sub
End Class]]></File>
- <File name="MyWindow.vb"><![CDATA[Imports System
+ <File name="MyWindow.vb"
AddStandardHeader="True"><![CDATA[Imports System
Imports Gtk
Public Class MyWindow
@@ -69,39 +68,7 @@
End Sub
End Class]]></File>
- <File name="AssemblyInfo.vb"><![CDATA[Imports
System.Reflection
-Imports System.Runtime.InteropServices
-
-' Information about this assembly is defined by the following
-' attributes.
-'
-' change them to the information which is associated with the assembly
-' you compile.
-
-<Assembly: AssemblyTitle("")>
-<Assembly: AssemblyDescription("")>
-<Assembly: AssemblyConfiguration("")>
-<Assembly: AssemblyCompany("")>
-<Assembly: AssemblyProduct("")>
-<Assembly: AssemblyCopyright("")>
-<Assembly: AssemblyTrademark("")>
-<Assembly: AssemblyCulture("")>
-
-' The assembly version has following format :
-'
-' Major.Minor.Build.Revision
-'
-' You can specify all values by your own or you can build default build and
revision
-' numbers with the '*' character (the default):
-
-<Assembly: AssemblyVersion("1.0.*")>
-
-' The following attributes specify the key for the sign of your assembly. See
the
-' .NET Framework documentation for more information about signing.
-' This is not required, if you don't want signing let these attributes like
they're.
-<Assembly: AssemblyDelaySign(false)>
-<Assembly: AssemblyKeyFile("")>
-]]></File>
+ <FileTemplateReference TemplateID="VBAssemblyInfo"
name="AssemblyInfo.vb" />
</Files>
</Project>
</Combine>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches