Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

ViIvanov
#1 Posted : Wednesday, July 12, 2017 2:18:01 PM(UTC)
ViIvanov
Rank: Newbie

Groups: Member
Joined: 7/12/2017(UTC)
Posts: 1
Russian Federation
Location: St. Petersburg

I use a free version of a T4 Editor.

I have a next code in my template:
Code:

<#@ template language="C#" #>
<#@ output extension=".cs" #>
<#@ import namespace="System" #>
<#+
private static int[] Property { get; } = new[] { 1, };
#>



And I see next errors in Error List:
Code:

Severity    Code    Description    Project    File    Line    Suppression State
Error        Type name expected.                    …\Template1.tt    6    
Error        Class member declaration expected.        …\Template1.tt    6    
Error        Class member declaration expected.        …\Template1.tt    6    
Error        Class member declaration expected.        …\Template1.tt    6    


Template generated normally, I have problems only with parsing code.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2020, Yet Another Forum.NET
This page was generated in 0.092 seconds.

Authorization on the site

For an authorized user opens up new possibilities

Login

Password