Is there a way to share files between two different apps written by the same vendor on UWP Windows 10 Enterprise? The apps Universal Windows apps written in C#. I'd like to be able access files that are in the install package of App B from App A.
The basic problem I want to solve is to deploy config separately from the app using MDM. I am thinking to have an App package and a Config package. Perhaps, there are better alternatives for deploying config separately using MDM.
Related
I am new to windows iot core, Actually I am running it with a raspberry Pi3
What I want to do is to create a .dll from an app based on windows iot core and integrate it in an other solution (WPF plateform) and whenever I call the .dll methods I get datas from my solution to my raspberry pi and vice versa
Actually I am confused about it there's not enough documentation about this and I don't know if this is possible or not if yes I would be very thankfull if you provide me some links
I assume your WPF application running on Windows 10 device.
To use UWP API in WPF application you need Package your WPF applications (Desktop Bridge).
When you create a package for your desktop application, your
application will get an identity and with that identity, your desktop
application has access to Windows Universal Platform (UWP) APIs.
Package a desktop application by using Visual Studio
Using a UWP C++ dll in Win32 C# WPF application
If your WPF application running on lower version than Windows 10 you can't use above solution.
In this case you need implement network send and receive logic respectively for WPF and UWP. Establish, for example, socket connection between them.
I have a .Net Office plugin (standard Win32 application) which has worked for several years on different version of Office and OS-es. It's a Word and PowerPoint plugin.
Now I have one customer on latest Windows 10 Pro (Version 1803 build 17134.228) complaining about missing settings, which is written by a different program to the user's Roaming folder. The Office plugin gets the path to the configuration file like this:
string localPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), BaseFolder);
We found out that the plugin read this file from
AppData\Local\Packages\Microsoft.Office.Desktop_8wekyb3d8bbwe\LocalCache\Roaming\
instead of the AppData\Roaming folder.
I created a VM with the exact same Windows 10 Pro version and build number, using Office 365, but I could not reproduce the issue.
I found two others who have seen the same issue without any solution.
On this page I read the following
The files in the C:\Users\\AppData\Local\Packages folder store the user configuration settings for all of the installed Modern UI Apps.
These apps use a completely different programming model than the traditional Desktop (Win32) apps.
My app is not a Modern UI App, so I don't understand why this one customer have this issue with the app. Does anyone know why this happens and how to solve it?
I am converting my app from a WP8 project to a windows project. If you run the command
cordova platform add windows
Cordova will create a solution with 4 projects, one for Windows 8.1, 1 for Windows 8, one for Windows Phone and the shared project. From what i can see, these are javascript projects, but i need to run some c# code to start a background service when the app starts. In a WP8 project you can add this code to the Mainpage.xml.cs file.
Is there no c# code that runs in these types of projects, or can you attach any code to run upon startup? How do people start background tasks in these apps else?
In Apache Cordova main page, there is a bunch of links to download Cordova Component for each platform. Choose the one for WP8 GitHub repository, and you will be redirected to
https://github.com/apache/cordova-wp8
Download the repository as a Zip from the right hand side of the page, after unzipping the file, you will happily find that the Cordova library and the project template are written in C#.
I have a windows store app "MyApp" in place. The app reads from a file "MyFile" that is written by a windows service "Myservice". I want to install and start the service when the app is first installed in the system. Is there a way to do that?
I thought of a way around where both the app and the service can be packaged as an exe and can be installed together from a single "mysetup.exe" but did not get any ways to do that too.
Any help in this regard will be appreciated.
P.S: I am using C# to code.
i am currently developing a Windows Phone Project consisting of multiples libraries where i will sometime need to update the different assemblies by downloading a DLL file over the internet.
Is it possible to load DLL on runtime on Windows Phone 8 and accomplish the goal described above?
No this is not allowed. All binaries that run on the phone must be signed by MSFT as part of their App Ingestion process via submittal to the Windows Phone App Store.
If you need dynamic updating, you might consider using a Web App, which allows you to pull content (not binaries) from a web source.