Can't use the Visual Studio macros in the include directives

Like $(ProjectDir) or $(SolutionDir).   <#@ include file="$(ProjectDir)T4\T1.ttinclude" #> I am getting an error:   Error 4 A namespace cannot directly contain members such as fields or methods   B...

Id #18402 | Release: None | Updated: Feb 13, 2013 at 3:44 AM by sandermvanvliet | Created: Jul 24, 2012 at 7:26 AM by sash_kr

nvarchar(max)

for some reason when there is a column with type "nvarchar(max)" column.GetSqlType() returns just "nvarchar".   I'm using a work around of appending the max after when it returns just the plain nva...

Id #18163 | Release: None | Updated: Feb 13, 2013 at 3:44 AM by trendoid | Created: May 31, 2012 at 2:51 PM by trendoid

datetime2

When I use   <#foreach(var column in table.Columns) {#> <#= column.GetName() #> <#= column.GetSqlType() #> NULL <#}#>   against a table that has datetime2 columns the result type is datetime2(7,...

Id #18157 | Release: None | Updated: Feb 13, 2013 at 3:44 AM by sandermvanvliet | Created: May 30, 2012 at 2:25 PM by trendoid

Value cannot be null

I installed the plugin and performed the setup from the video. All I can get is an error.   Template transformation failed: Value cannot be null. Parameter name: element GetFullName   Have you see...

Id #18149 | Release: None | Updated: Feb 13, 2013 at 3:45 AM by trendoid | Created: May 29, 2012 at 5:18 PM by trendoid

  • 1-4 of 4 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items