This project has moved. For the latest updates, please go here.

Protection Level Errors -> Cannot generate code

Apr 2, 2009 at 3:05 PM
Hi,
I'm receiving the following Errors and Warnings. Any ideas on a fix? I do not have the VS SDK installed.
Thanks!

Error    2    Compiling transformation: 'Microsoft.VisualStudio.TextTemplating.VSHost.ModelingTextTransformation.ConvertModelRelativePathToTemplateRelativePath(string, string, string)' is inaccessible due to its protection level    c:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerCode.tt    16    84    
Error    3    Compiling transformation: 'Microsoft.VisualStudio.TextTemplatingAB22E765A169A6720888B9D2D948DC4A.GeneratedTextTransformation' does not contain a definition for 'AddDomainModel'    c:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerCode.tt    22    6    
Error    4    Compiling transformation: 'Microsoft.VisualStudio.TextTemplatingAB22E765A169A6720888B9D2D948DC4A.GeneratedTextTransformation' does not contain a definition for 'Store'    c:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerCode.tt    33    49    
Error    6    Compiling transformation: 'Microsoft.VisualStudio.TextTemplating39BB065DA3193F2D1B81A4D70C971B66.GeneratedTextTransformation' does not contain a definition for 'AddDomainModel'    c:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSample.tt    22    6    
Error    7    Compiling transformation: 'Microsoft.VisualStudio.TextTemplating39BB065DA3193F2D1B81A4D70C971B66.GeneratedTextTransformation' does not contain a definition for 'Store'    c:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSample.tt    33    49    
Error    9    Compiling transformation: 'Microsoft.VisualStudio.TextTemplatingD414C11A0646A37A828573BB39FF8637.GeneratedTextTransformation' does not contain a definition for 'AddDomainModel'    c:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSchema.tt    22    6    
Error    10    Compiling transformation: 'Microsoft.VisualStudio.TextTemplatingD414C11A0646A37A828573BB39FF8637.GeneratedTextTransformation' does not contain a definition for 'Store'    c:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSchema.tt    33    49    
Error    11    A namespace does not directly contain members such as fields or methods    C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSample.cs    1    1    Feeds
Error    12    A namespace does not directly contain members such as fields or methods    C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSchema.cs    1    1    Feeds
Error    13    A namespace does not directly contain members such as fields or methods    C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerCode.cs    1    1    Feeds
Warning    1    The include directive for file 'C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerCode.tt' causes an infinite loop. The directive will not be processed.    C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerCode.tt    1    4    Feeds
Warning    5    The include directive for file 'C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSample.tt' causes an infinite loop. The directive will not be processed.    C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSample.tt    1    4    Feeds
Warning    8    The include directive for file 'C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSchema.tt' causes an infinite loop. The directive will not be processed.    C:\Projects\AGI\Feeds\Feeds\Configuration\ConfigurationSectionDesignerSchema.tt    1    4    Feeds
Apr 8, 2009 at 3:14 PM
It looks like this was an issue with source control and something not being checked out appropriately. Recreated from scratch with no problem. May have potentially been caused by missing namespaces on Configuration objects.