New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Projects
None yet
3 participants
@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

This comment has been minimized.

Show comment
Hide comment
@rhcpfan

rhcpfan Oct 23, 2014

Same issue here!

rhcpfan commented Oct 23, 2014

Same issue here!

@milkmeat

This comment has been minimized.

Show comment
Hide comment
@milkmeat

milkmeat 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.

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

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost 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

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 join this conversation on GitHub. Already have an account? Sign in to comment