If this is a preprocessed template, there shouldn't be any problem. See Generating Text Files at Run Time by using Preprocessed Text Templates. If this is what you intended to do, check that the Custom Tools property of the file (when you view it in Solution Explorer) is TextTemplatingFilePreprocessor. You should be able to use
<#@ import namespace="MyProject.Information.TableInfo" #>
and use Table or TableInfo in the code.
But if you want to use your Table class in a standard text template to generate code in your VS project (with Custom Tool set to TextTemplatingFileGenerator) then you need to compile the class in a separate VS project (or a separate solution) and import the DLL using the <#@assembly#> directive. Use the full absolute path to point to the DLL.