Code Smith Template does not work

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by Markus Foser - Developer, PROCOS AG
Avatar
Following error occours when i want to execute the CodeSmaith Language ID Type Builder Template

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

(126,22): error CS0117: 'System.Array' does not contain a definition for 'Count'
(131,23): error CS0117: 'System.Array' does not contain a definition for 'Count'
(145,23): error CS0117: 'System.Array' does not contain a definition for 'Count'
(147,24): error CS0117: 'System.Array' does not contain a definition for 'Count'
(181,22): error CS0117: 'System.Array' does not contain a definition for 'Count'

Build complete -- 5 errors, 0 warnings

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

Build failed

Then I change the .Count to Length. It compiles, when I try to load

ActiproSoftware.CSharp.xml

following Message Box pops up "There is an error in XMLDocument (1,2)"

Sincerly Thomas Stocker

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Are you using CodeSmith 3.0? I believe it only works with that latest release.

I just loaded it up here and it seems to work ok.


Actipro Software Support

Posted 14 years ago by Markus Foser - Developer, PROCOS AG
Avatar
Sorry

My fault I used Code Smith version 2.6

With Version 3.0 it works, the template is even integrated into CodeSmith :-)

Sincerly Thomas Stocker
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.