
- #INSTALL4J UWP DESKTOP BRIDGE INSTALL#
- #INSTALL4J UWP DESKTOP BRIDGE FULL#
- #INSTALL4J UWP DESKTOP BRIDGE CODE#
- #INSTALL4J UWP DESKTOP BRIDGE WINDOWS#
An app that runs in a lightweight app container (and is therefore isolated using file system and registry virtualization).
#INSTALL4J UWP DESKTOP BRIDGE WINDOWS#
Universal Windows Platform (UWP) apps ( uap10:RuntimeBehavior="windowsApp") are also packaged but this topic isn't about them.Īnd then the uap10:TrustLevel attribute (of the same Application element) determines whether or not your packaged app's process runs inside an app container. Declared with uap10:RuntimeBehavior="win32App".
#INSTALL4J UWP DESKTOP BRIDGE INSTALL#
#INSTALL4J UWP DESKTOP BRIDGE CODE#
Without the above code my Desktop Bridge app doesn't switch to the configured UICulture in Windows.This topic describes the types of desktop apps that you can create a Windows app package for, together with some operating system (OS) behaviors-and other specifics-that are important to be aware of. Add the following code in (of the UWP project): Put in the manifest file of the Packaging project the 2 resources as: ģ.

Put all resource files in the UWP project (that has the UI).Ģ. The problem with a Desktop Bridge app is where do you put these? In the UWP project? In the Packaging project? In both?Īpparently they must definitely be in the UWP project because when I have them in both and I add a string only in the packaging project the string doesn't show up.ġ. Strings/en-US/resources.resw and Strings/nl/resources.resw. I am/was under the impression that, for localization to work automatically one shouldn't do more than putting resource files in special folders, like what I did with my current 2 resource files:

A Packaging project that packages the above 2 'apps' to create a Desktop Bridge app, and obviously also has a manifest file. A win32 project that is launched by the above UWP logic. A UWP project that deals with the UI (and must be multi-lingual) and other solution logic and which obviously has a manifest file.

So, again I have 1 Visual Studio solution in which I have 3 projects:

#INSTALL4J UWP DESKTOP BRIDGE FULL#
Moving the resource folders to the packaging project is not the full solution. How would Resource Language="x-generate" in the 'packaging' project's manifest know about the various resources I have configured? - Should I move the resource folders to the 'packaging' project? What is strange now is that when I deploy the UWP project and run this as a standalone UWP app (so not the desktopbridge app) then the resource strings are correctly showing in Dutch. When the desktopbridge app runs the resource strings are coming from 'en-US' although my system is configured for Dutch ('nl'). In my UWP project (which contains the various resource folders, like Strings/en-US/Resources.resw and Strings/nl/Resources.resw) I also have in the manifest file. In my 'application packaging' project (which I deploy) I have set in the manifest file. I have a problem with my DesktopBridge project not using the UICulture that is set in Windows, but using en-US (the default).
