CodeSmith Community
Your Code. Your Way. Faster!

No Property Set

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 2
Points 40
geek001 Posted: 11-13-2006 3:08 PM

Any ideas?

Downloaded .netTiers for the first time today. Got to the first little piece of documentation that says "double click the NetTiers.cst file." I did this and it opened my CodeSmith 3.1.6 version. It ran through a compile list and then FAILED with the following errors:


---------------- Compile started -----------------

C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(319,4): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(114,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(163,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(215,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(233,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(251,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(270,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(288,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(305,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(326,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(493,21): warning CS0618: '_CodeSmith.NetTiers_cst.VSNetIntegration' is obsolete: 'Separated project is automatically used.'
C:\netTiers2.0.0\NetTiers.cst(494,17): warning CS0618: '_CodeSmith.NetTiers_cst.VSNetVersion' is obsolete: 'Visual studio 2005 is the only solution type for .net2 framework.'
c:\Documents and Settings\All Users\Application Data\CodeSmith\v3.0\Template Cache\NetTiers_cst.cs(5415,44): warning CS0108: The keyword new is required on '_CodeSmith.NetTiers_cst.CustomNonMatchingReturnType' because it hides inherited member 'MoM.Templates.CommonSqlCode.CustomNonMatchingReturnType'
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(957,20): warning CS1572: XML comment on 'MoM.Templates.CommonSqlCode.GetKeyIfNullable(SchemaExplorer.ColumnSchema, string)' has a param tag for 'containerName', but there is no parameter by that name
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(959,20): warning CS1572: XML comment on 'MoM.Templates.CommonSqlCode.GetKeyIfNullable(SchemaExplorer.ColumnSchema, string)' has a param tag for 'indent', but there is no parameter by that name
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(2215,27): warning CS1574: XML comment on 'MoM.Templates.CommonSqlCode.GetDataObjectFieldCallParams(SchemaExplorer.ColumnSchema)' has cref attribute 'System.ComponentModel.DataObjectField' that could not be found
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(2224,51): warning CS1574: XML comment on 'MoM.Templates.CommonSqlCode.GetDataObjectFieldCallParams(SchemaExplorer.ColumnSchema)' has cref attribute 'System.ComponentModel.DataObjectField' that could not be found
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(2361,17): warning CS1573: Parameter 'forceReturnDefault' has no matching param tag in XML comment (but other parameters do)
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(2515,10): error CS0117: 'string' does not contain a definition for 'Contains'
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(2585,36): error CS0019: Operator '!=' cannot be applied to operands of type 'System.Guid' and '<null>'
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(2589,12): error CS0117: 'System.Data.DbType' does not contain a definition for 'Xml'
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(3298,4): warning CS0168: The variable 'exc' is declared but never used
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(3341,4): warning CS0168: The variable 'exc' is declared but never used
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(3608,5): warning CS0168: The variable 'exc' is declared but never used
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(3632,4): warning CS0168: The variable 'exc' is declared but never used
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(3654,4): warning CS0168: The variable 'exc' is declared but never used
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(4278,9): warning CS0219: The variable 'isCovered' is assigned but its value is never used
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(319,4): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\TemplateLib\CommonSqlCode.cs(319,25): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(900,3): warning CS0618: '_CodeSmith.NetTiers_cst.UsePartialClass' is obsolete: 'Partial class are now automatically where targetting .net2 framework.'
C:\netTiers2.0.0\NetTiers.cst(3183,74): warning CS0618: '_CodeSmith.NetTiers_cst.UsePartialClass' is obsolete: 'Partial class are now automatically where targetting .net2 framework.'
C:\netTiers2.0.0\NetTiers.cst(3203,77): warning CS0618: '_CodeSmith.NetTiers_cst.UsePartialClass' is obsolete: 'Partial class are now automatically where targetting .net2 framework.'
C:\netTiers2.0.0\NetTiers.cst(3230,81): warning CS0618: '_CodeSmith.NetTiers_cst.UsePartialClass' is obsolete: 'Partial class are now automatically where targetting .net2 framework.'
C:\netTiers2.0.0\NetTiers.cst(3249,84): warning CS0618: '_CodeSmith.NetTiers_cst.UsePartialClass' is obsolete: 'Partial class are now automatically where targetting .net2 framework.'
C:\netTiers2.0.0\NetTiers.cst(3933,3): warning CS0618: 'System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable, System.Xml.Xsl.XsltArgumentList, System.Xml.XmlWriter)' is obsolete: 'You should pass XmlResolver to Transform() method'
C:\netTiers2.0.0\NetTiers.cst(4359,5): warning CS0162: Unreachable code detected
C:\netTiers2.0.0\NetTiers.cst(114,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(114,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(163,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(163,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(215,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(215,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(233,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(233,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(251,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(251,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(270,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(270,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(288,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(288,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(305,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(305,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(326,3): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyAttribute' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'
C:\netTiers2.0.0\NetTiers.cst(326,24): warning CS0618: 'CodeSmith.Engine.CodeTemplatePropertyOption' is obsolete: 'The CodeTemplatePropertyAttribute has been deprecated, use the OptionalAttribute and the NotCheckedAttribute instead.'

Build complete -- 3 errors, 51 warnings

---------------------- Done ----------------------

Build failed

 

Note: I then opened the file from within CodeSmith (File - Open) and I noticed that there is NOTHING in the property window.

Top 25 Contributor
Posts 221
Points 5,911

Hi!

I am using CodeSmith 3.2.7 and quite a recent version of .netTiers 2 I downloaded last week using Subversion, and it is working fine. Is it possible for you to upgrade CodeSmith to the latest version? Did you download the latest .netTiers build witn SVN?

 Cheers!

JF


 

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright © 2010 CodeSmith Tools, LLC