Hi,
Everytime I try to create a new item using SitecoreService.Create I get the following GlassMapperException: Type Models.NewsArticle does not have a Template ID or Branch ID.
I am using the auto mapping feature and I added the following attribute to my class as shown in the tutorial:
[SitecoreType( TemplateId = "{8FB185C4-4C0C-4066-8131-2C119C9B251F}", AutoMap = true)]
public class NewsArticle
I have downloaded the following package from Nuget: Glass.Mapper.Sc.CastleWindsor and I am running Sitecore 6.6 with .NET 4.5 on a Windows 8 desktop.
I haven't done any modifications to Sitecore, this is a fresh installation and I dont have any custom configuration to GlassMapper, all I did are the first 11 steps of the GlassMapper tutorial.
Do you have any idea of the problem ?
Thank you.
Patrick
