I created a simple unity 2021.3.13 app with sqlite functionality. The app is supposed to read the database (created with DB Browser for SQLite) and print out on unity canvas the number of entries. The app runs on unity editor, runs when installed as standalone in the PC where it was developed, but when installed on any other pc it prints out null.
The same app when build for android it runs as apk but when build for windows it does not.
I opened the app's folder and i checked if the database exists and it does. The user has permission to read and write the database.
I added the following plugins I18N.CJK.dll, I18N.dll, I18N.MidEast.dll, I18N.Rare.dll, I18N.West.dll
and System.Data.dll but again runs in the pc where it was developed but at no other machine.
Related
Our company has a native iOS app that was built in Xamarin/Visual Studio. We originally uploaded it to the App Store a few years ago and have made a few changes to it over the years.
The app itself is very basic. It's basically just a web view that navigates to a Single Page Application. There is very little native app code in the project.
Every week or so I regular launch the native app on our company iPad. Instead of running a version pulled down from the App Store, I periodically rebuild and upload the app from a Mac Mini running Visual Studio and/or debug it directly from the Mac Mini through Visual Studio.
A few days ago I tried launching the native app and after opening it immediately closed. I tried rebooting the iPad but the app still minimizes/closes immediately after opening. If I double-tab the Home button on the iPad, I can see the app still running in the background, but any time I tap on it it immediately minimizes itself.
I tried Cleaning and Rebuilding the native app solution in Visual Studio and re-uploading it to the iPad and that didn't fix it. I updated Visual Studio (and all of its packages) on the Mac Mini, updated XCode, updated Mac OS, updated iOS on the iPad, and nothing resolved the issue.
When I attempt to debug the app from Visual Studio, it shows two error codes in the Output window: MT1043 and MT1007. The debugger always fails to attach to the app as well.
I've tried Googling the error codes and the problem itself and haven't found anything that has worked. I've tried generating a new Development Certificate and Provisioning Profile to use to sign the app when uploading it to the iPad but that didn't work either.
What's strange is that if I download the app off of the App Store it works just fine. The source code that I'm attempting to build/run right now is identical to what it was at the time it was deployed to the app store. What else is strange is that, if I spin up an iOS Emulator and upload/debug against that, the app works just fine.
I tried using a different iPad and it had the same issue. The app minimizes itself immediately after attempting to launch it.
Found the answer. Had to set the system certificate trust from "Always Trust" to "Use System Default". Same solution as provided here: https://stackoverflow.com/a/52506186/9704484
I'm creating apps by VS 2015.
My Project is made by UWP. I know this is for Windows Store Apps.
however, My Project is LOB Side Loading.
I compiled and packaged my project, and then I moved to all of files to other computer.
then,
I Set 'Developer mode' in Control Panel.
I executed 'Set-ExecutionPolicy RemoteSigned' in PowerShell.
then i excuted 'Add-AppDevPackage.ps1', then my app installed successfully.
However, I found my app in start menu, but I couldn't click that !!
I couldn't launch that.
How can I do to launch my uwp app in other computer?
I've install the MetroLog package from Nuget into UWP solution (VS2015).
In debug mode everything works fine -
it create a log file in local folder and write contents inside.
When i create an .appx file, copy it into the WP device and install it,
nothing happend, the MetroLog does not create any log file.
Please, need help?
MetroLog is supported in UWP. And by default, in will store logs in the app's LocalState folder. So the key point here is how to access LocalState (LocalFolder) folder in Windows 10 Mobile.
Usually, we may use some third party tools like IsoStoreSpy or Windows Phone Power Tools to access Isolated Storage. With these tools, we can access LocalFolder, TemporaryFolder and RoamingFolder. However, these two tools can only works when the application is deployed in Debug mode.
For now, it is suggested to use App File Explorer to view and manipulate files stored by your sideloaded apps. This tool should be able to work no matter your application is deployed in Debug mode or Release mode. But please note that this is a new tool added to Windows Device Portal in the Anniversary Update.
To use this feature, we need enable Device discovery and Device Portal. For more info, please see Using the App File Explorer to see your app data.
I've recently built an application that pulls data from an Excel spreadsheet, which gets the data by running a macro. I put this already-existing Excel project into Visual Studio, and then wrote C# to do what I needed it to do. The issue I'm having is that when I deployed it to a network folder, there is no icon that runs the app. I ran the setup.exe and the .vsto, which both say were installed correctly, but can't find an icon that my users can press to run the app. I know I must be missing something simple. Any ideas?
I am building an ASP.NET MVC 4 website with Visual Studio 2013 on Windows 8.1. The site works well on my Windows machine, but the real problem occurs whenever I upload my application to a RedHat Linux server. The server kernel version is 2.6.32-431.23.3.el6.x86_64 and it runs Mono 3.0.7. Hosting is provided by Openshift running the Mono cartridge.
It used to run my application just fine on Linux (a few weeks ago), but since then I have made many changes to the application (not the server). I did not change the required .NET runtime. It displays this error when I load the home page:
It says that it cannot locate the core business-logic class that I created to construct my home page, OpenShift.Business.Home.Introduction. The namespace and class name is correct, as it worked on Windows. The Openshift assembly that it uses is present, I checked the Linux file system. The error logs from Mono are not helpful for this issue.
Does anyone know how to begin resolving this issue?
It turns out that the .gitignore file was not pushing up any of the DLLs in my bin folder. So they existed, on my local Windows machine, but were never pushed to the Linux server. I removed that folder from .gitignore, committed and pushed again, and everything works just like it did on Windows.