Jump to content

herb

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. I have now kicked out the additional languages (references in project-properties as well as the .resx files). The exception remains.
  2. Here's how we work with Resources: Only the default resx has an auto-generated .cs associated with it, all others do not have that (cannot remember why) Resources are in a WP8 project as EmbeddedResources That class exposes them to all other projects in the solution via a LocalizationHelper, which does the lookup via AppResources.ResourceManager.GetString(key, AppResources.Culture); The log ends with: [AppXamlCorrectionTask] Processing C:\Users\herb\AppData\Local\Temp\WindowsPhone,Version=v8.0.AssemblyAttributes.cs Starting task: UniversalManifestGenerationTask Starting task: AddSplashScreenImageWhenMissingTask Starting task: ResourceFilesRelocatorTask It does contain some lines about AppResources: [CompletedActionPatternTask] Processing D:\myApp\Win8_Silverlight\app\myApp\myAppSharedHelpers\Resources\AppResources.Designer.cs [DynamicEventHandlerDecoratorTask] Processing D:\myApp\Win8_Silverlight\app\myApp\myAppSharedHelpers\Resources\AppResources.Designer.cs [NamespaceReferenceTransformationTask] Processing D:\myApp\Win8_Silverlight\app\myApp\myAppSharedHelpers\Resources\AppResources.Designer.cs [AppXamlCorrectionTask] Processing D:\myApp\Win8_Silverlight\app\myApp\myAppSharedHelpers\Resources\AppResources.Designer.cs Should we try the following? a) kick out the additional languages or b) add the .cs to the additional resources?
  3. Hi, I do not have that <Link> node. The Resources have the following properties: EmbeddedResource, Do not copy Herb
  4. I have a similar setup. The Resources are in a separate WP8 project. There only the default resource catalog AppResources.resx has a AppResources.Designer.resx associated to it. The other languages (e.g. AppResources.de-DE.resx ) don't have that. The csproj file of that library does include: <Compile Include="Resources\AppResources.Designer.cs"> <DependentUpon>AppResources.resx</DependentUpon> <AutoGen>True</AutoGen> <DesignTime>True</DesignTime> </Compile> and also: <TargetFrameworkIdentifier>WindowsPhone</TargetFrameworkIdentifier> <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
  5. Here's the English version of that same Exception, which I also get for my project. Herb The "ResourceFilesRelocatorTask" task failed unexpectedly. System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Artinsoft.Common.NetAggregation.Project.GetDocument(String filename) at Artinsoft.Common.NetAggregation.Project.GetSource(String filename, SMExceptionHandler exceptionHandler, CancellationToken cancellationToken, Func`2 getDefaultEncoding) at Artinsoft.Winph2UAP.ResourceFilesRelocatorTask.<>c__DisplayClass4.<MoveDesignerGeneratedFiles>b__0(DesignerResxPair item) at System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x) at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at Artinsoft.Winph2UAP.ResourceFilesRelocatorTask.MoveDesignerGeneratedFiles(Project project, ITargetSolutionArtifacts artifacts, IResourcesRelocator relocator) at Artinsoft.Winph2UAP.ResourceFilesRelocatorTask.ExecuteImpl() at Artinsoft.CSharp.Tasks.AbstractTask.BeforeExecuteImpl() at Artinsoft.Common.MSBuild.BaseCancellableTask.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use