I have developed a UWP application using Visual Studio 2019 and Microsoft.NET.Native.Framework.2.2 and Microsoft.NET.Native.Runtime.2.2. After creating the app packages for Windows Store, the folder contains the below files:
Add-AppDevPackage.resources(Folder)
Dependencies(Folder)
Add-AppDevPackage.ps1
XYZ_1.0.0.0_x64.appxsym
XYZ_1.0.0.0_x64.cer
XYZ_1.0.0.0_x64.msixbundle
Install.ps1
The app has also undergone Windows App Certification Kit Test and has passed all the test cases. When I try submitting the app packages(either the .msixbundle file or the way mentioned here, I get the following error:
Package acceptance validation error: You cannot submit pre-compiled .NET Native packages. Please upload the Microsoft Store appxupload file and try again.
I also tried the way explained here and here but failed utterly.
Any help will be appreciated. Thank you.
You need to create application package that contain .appxupload file
you can find more information from :https://learn.microsoft.com/en-us/windows/msix/package/packaging-uwp-apps
If you plan to create a package submitted to the Microsoft Store, you need to do the following steps:
Have a developer account
Create an application in the Partner Center
Associate your project with your application in Visual Studio, a certificate will be generated after the association (Publish -> Associate App with the Store...)
After the binding is completed, there will be a new option when packaging. Please select the package required to create the Microsoft Store. After the packaging is completed, a .appxupload(or .msixupload) file will be generated and you can upload it
Best regards.
Related
Goal:
I am trying to make a setup file for my app. Futhermore the app must be able to be updated from a server or OneDrive.
Solution:
I am using windows application packaging project for this.
The issue:
The installer works fine when the installer location is on my local harddrive. But when i try to change the installer location to my online file manager or a public OneDrive folder I am unable to download and install the update or App for that matter.
My question:
Has anyone been able to use windows application packaging project where the app downloads updates from a server / OneDrive by uploading the installation file to a server / OneDrive and entering the path to the location, or am I on the wrong track?
Alternatives
The alternativ is of course to use Setup Project and perhaps AutoUpdaterDotNET (from NuGet) which works fine, but now I am interested in a solution which does not require several different third-party programs, and windows application packaging project seems to be the solution.
Have you tried creating an .appinstaller file? This XML file (which you can write in any code editor - you don't need VS or Advanced Installer to generate it, although that way is easier) should allow the OS to cache all the necessary information to auto-update the app accordingly.
i have referred following link to create bot and deploy it into microsoft teams
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/create-a-bot-for-teams
But when it need add manifest.json file in Microsoft teams,i did not get manifest.json in c#.net
How do i get manifest.json file in c#.net
Manifest file is the zip file that will contain a json file which lists out all the capabilities your app offers and the two icons of the app. You could use App Studio to create your app manifest. Or you can sideload the app manifest if you have the manifest file ready. Here is a sample manifest file. Please let me know if you need any help.
i have used core bot framework template from Visual studio and created bot, then i did app registration on below url
https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade
Then Used Microsoft app Id and Microsoft password on "https://dev.botframework.com/bots/new" link to create bot and added endpoint as https://113526c2.ngrok.io/api/messages
Then used Microsoft App id and App password in c#.net code , configured Microsoft App id and App password which get from app registartion and endpoint url as https://113526c2.ngrok.io/api/messages on bot framework emulator
But bot is not working on bot framework, why?, Post 400 error display on bot emulator
How to solve it ?
By far the easiest way to get a manifest is to use the "App Studio" app in Teams. App Studio is an actual app, in the store, from Microsoft, that you can use for a bunch of things. One of those is to create a new app for Teams, inside of Teams. It has a proper GUI so you can create your app definition, modify and update it, etc., and then export the manifest when you're done. It will generate a zip file, which contains the manifest itself, as well as your app's icons.
However, while you're still building the app, App Studio helps you to deploy (and redeploy over time) the app manually into your own context (e.g. a 1-1 bot, or into a group chat or a Teams channel). It's also got some validation in as you're going to check that you've entered things correctly.
So, in short, very highly recommended for building apps for Teams, and comes directly from Microsoft. As an extra bit of info, you need the ability to side-load custom apps to be able to deploy your apps into Teams using App Studio.
All,
I created a C# console app in VS2010 (.NET4). that hits a database and sends out emails.
It works fine when I run it from VS but deploying the app to a remote server has me befuddled. All I need to do is install this app on (1) remote windows server.
Should be easy, right?
Looking at the publish settings, I don't see anything that will just build it locally without creating an installer (From a CD-Rom or DVD-ROM) and the other 2 options really don't apply either, at least by their descriptions.
So here is what I did so far:
The VS2010 publishing options that I am given are as follows:
Step #1 Picked option 3
Step #2 Place generated files on remote server
Step #3 Ran the setup installer
Step #4 Get this error
Question
Am I approaching this correctly?
If not, what do I need to do?
Thanks
Notice the error:
The application requires that assembly office Version 12.0.0.0 be installed in the Global Assembly Cache (GAC) first.
Refer to this answer and this MSDN question which contains the answer I have quoted below:
We solved it by going into the Applications Files dialog under the publish tab of the Project's properties and changing the office.dll assembly to Include. It had previously been set to prerequisite (auto). --Dave3182
It looks like your application is leveraging Microsoft Office (2003, I think) COM objects. This will require the same version of Office to be installed on your server.
If you are leveraging Office format files (.doc, .docx, .xls, .xlsx for example), you can look into 3rd party libraries that allow you to create the formatted files without Office installed. If you are just using Outlook to send the emails, you should re-implement the feature using the .NET libraries instead.
I've built a Winforms Application, and I want to publish it. I'd like to have a link on a website https://sites.google.com/site/satsavvyboardgame/home where I can have the user download the application and have it install on their computer. So far, I haven't found any way to wrap everything up in one package, or successfully publish to the web. What are the specifications for the URL to publish to the web?
Is there any way to package everything into one item (the site won't allow me to upload/download folders), so that the user could download one item, then run that or something in it?
Is there another way to do this that I haven't seen?
I'm using C# Visual Studio 2010 Express, and my application has the code and a couple of XML files that I need to run. All are part of the project, and run fine when I install from a file using the CD publish settings.
I've never published an application before, so any help would be much appreciated. Thanks!
You have 2 general options:
use "ClickOnce" which will enable automatic updates each time the user click to install and have several other benefits such as less problems with priviliges.
Use "Windows-Installer", which allows you more control of how to do and what to do during the installtion phase. However, shamefully, Package & Deployment project types do not exist anymore in vs2012. there are several 3rd party packages you can work with to create your setup-project.
The ClickOnce is preferable if what the user download is a just a simple standalone game application for example.. the MSI is for the more "rich" applications that should make extensive usage in the machine registry and etc..
The table in this link will give you the data you need to make a decision:
http://msdn.microsoft.com/en-us/library/142dbbz4(v=vs.80).aspx
I have created a setup for my windows application in .NET 2008
After building the same i have the .msi and setup.exe files in my release folder.
The problem i am facing is :
I can install the application using the msi installer files from the shared network folder. But when i copy the installer locally and tried to install it,
i get the following error: Error reading file.Please Try again.
Anybody having any ideas if there are any properties to set in the installer project.
Regards
Constant Learner
Just a thought, you can use Orca to go through the .msi and see if you're having any static references to your development machine within your msi.
The application is a simple windows application without any database associated with it.
Its just a hello world windows application. So i presume its something related to the configuration part of the installation...
Constant Learner