One of the strange omissions in BOL, even in its new improved July update, is that there doesn’t seem to be a page showing which features of Analysis Services are available in which editions (if there is please send me the link!). For example, I recently found out the hard way that Perspectives and Translations are not allowed in Standard Edition but I couldn’t actually find that fact documented anywhere; so how do you know, when you’re developing a cube (especially if like me you use Developer Edition) what features you’re allowed to use?
What you need to do is set the Deployment Server Edition property on your project appropriately. You can find it by right clicking on your project in the Solution Explorer in Visual Studio – it’s on the Build page of the Configuration properties dialog. If you have a project which uses features that are only available in Enterprise Edition and you have set Deployment Server Edition to ‘Standard’ you will get a list of errors when you build your project telling you that these features are unavailable in Standard Edition.