Skip to content
This repository has been archived by the owner. It is now read-only.

RateMyApp 1.2.4 alpha prevents Windows Phone Universal App from being deployed to device when compiled in Release #45

Open
roalz opened this issue Sep 30, 2014 · 3 comments

Comments

@roalz
Copy link

@roalz roalz commented Sep 30, 2014

I'm trying RateMyApp 1.2.4 Alpha (prerelease nuget) on a Windows Phone Universal App.
Everything seems to work fine when compiled and deployed to device in Debug,
but in Release mode it compiles ok but it fails when trying to deploy on a physical device with the following error message:

"Error : DEP6810 : MdilXapCompile.exe failed with error code 1004. See log file '\obj\Release\MDIL\MDILXapCompileLog.txt' for more details."

And the referenced compilelog file contains (excerpt):

"Error: Compile filter argument specified non-existent file: \obj\Release\MSIL\ar-SA\RateMyApp.resources.dll
Invalid argument"

@rhcpfan
Copy link

@rhcpfan rhcpfan commented Oct 23, 2014

Same issue here!

@milkmeat
Copy link

@milkmeat milkmeat commented Nov 9, 2014

This is because the wp8.1 solution changed its way of multilingual resource file format. Need to re-create the resource files to make it work. (if you don't do that, it works on simulator but not on real devices). The steps are:

  1. open the source code of project RateMyAppXAML in visual studio
  2. in menu Tools -> enable multilingual toolkit
  3. add a new resource file "Resources.resw" and copy the strings in AppResources.resx to it
  4. delete all old resource files including AppResources.resx and AppResources.xx-yy.resx
  5. In menu Project->Add translation languages, add desired languages, and copy the old translations to new files
  6. In C# code, fix all compile errors such as AppResources.RatingTitle to new Windows.ApplicationModel.Resources.ResourceLoader().GetString("RatingTitle")

hope it helps.

@ghost
Copy link

@ghost ghost commented Nov 9, 2014

Actually you would not need to delete the ResX files, you would simply re-organize them, and rename the extension. the file format stayed the same, the extension is needed for knowing which tools to use internally.I also assume that the toolkit is really not needed.

Did these actually last week already, got busy and did not get any updates done. However, to save your time, I pushed them there now. Quick start with WPA81, apps, you could try the VSIX installed from : https://github.com/Microsoft/rate-my-app/tree/master/Source_WPA81/VSix_InstallationPackage

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants