I am trying to localize a sandboxed visual webpart (part of the SP2010 development powertools released by MS), but as soon as I add
<%$Resources:RESXFILE,RESOURCEKEY%>
to for instance a label's Text property, the generated file (webpartname.ascx.g.cs
) with the ascx's contents as actual C# code is cleared, as in completely empty!
The resources are of course deployed using a module with the deployment target set to AppGlobalResource
.
Any ideas?