VS2010 Beta 2 e WCF RIA Services - problemi di compilazione

Dato che uno è in Beta (Visual Studio 2010), l’altro in preview (WCF RIA Services) non ho motivi per lamentarmi, ma se vi capita questo immenso stack di errore mentre cercate di compilare ...

Error    1    The "CreateRiaClientFilesTask" task failed unexpectedly.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Web.Resources.RegistrationDataResources.resources" was correctly embedded or linked into assembly "imperugo.CommunityTour.Catania.Silverlight.Web" at compile time, or that all the satellite assemblies required are loadable and fully signed.
   at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at imperugo.CommunityTour.Catania.Silverlight.Web.Resources.RegistrationDataResources.get_SecurityAnswerLabel() in D:\Session\Community Tour Catania\imperugo.CommunityTour.Catania.Silverlight\imperugo.CommunityTour.Catania.Silverlight.Web\Resources\RegistrationDataResources.Designer.cs:line 128
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   at System.ComponentModel.DataAnnotations.LocalizableString.<>c__DisplayClass5.b__2()
   at System.ComponentModel.DataAnnotations.LocalizableString.GetLocalizableValue()
   at Microsoft.RiaServices.Tools.DisplayCustomAttributeBuilder.GetAttributeDeclaration(Attribute attribute)
   at Microsoft.RiaServices.Tools.CustomAttributeGenerator.GenerateCustomAttributes(ClientProxyGenerator proxyGenerator, CodeTypeDeclaration referencingType, IEnumerable`1 attributes, CodeCommentStatementCollection comments, String customCommentHeader, Boolean forcePropagation)
   at Microsoft.RiaServices.Tools.CustomAttributeGenerator.GenerateCustomAttributes(ClientProxyGenerator proxyGenerator, CodeTypeDeclaration referencingType, IEnumerable`1 attributes, CodeAttributeDeclarationCollection outputCollection, CodeCommentStatementCollection comments, String customCommentHeader, Boolean forcePropagation)
   at Microsoft.RiaServices.Tools.EntityProxyGenerator.GenEntityProperty(CodeTypeDeclaration proxyClass, PropertyDescriptor propertyDescriptor, String propertyName)
   at Microsoft.RiaServices.Tools.EntityProxyGenerator.Generate()
   at Microsoft.RiaServices.Tools.ClientProxyGenerator.GenerateProxyClass(String& generatedCode)
   at Microsoft.RiaServices.Tools.CreateRiaClientFilesTask.GenerateClientProxies()
   at Microsoft.RiaServices.Tools.CreateRiaClientFilesTask.ExecuteInternal()
   at Microsoft.RiaServices.Tools.RiaClientFilesTask.Execute()
   at Microsoft.Build.Framework.ITask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)    imperugo.CommunityTour.Catania.Silverlight

...chiudete Visual Studio e riapritelo :).

Ciauz


Comments