Hello,
I have been using a crmcvutil-generated Xrm.cs file succesfully for a lot of import jobs and taking advantage of the early-binding as a result.
I am now creating a web site project (aspx page with code behind) but when I add an existing item and bring the Xrm.cs file into the project I can't reference any crm entities by entity name - instead I have to use the late-bound syntax e.g. Entity contact = new Entity() - and then assigning the logical name - instead of what I would expect to be able to use - " Contact contact = new Contact();" thanks to the inclusion of the Xrm.cs file (which looks normal/ fine).
It is as if my project is just taking no notice of the existence of the Xrm.cs file.
Any help would be gratefully received. Is it something to do with a namespace, the VS version, or the fact that this is an aspx project unlike the others where this was working fine?
Thanks.
*This post is locked for comments