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.
Related
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.
I have had a difficulty to add credentials and deploy any asp.net application. I have created account and application in the google cloud platform but when i have tried to add windows credentials in visual studio(2017) it has shown this error. It has shown it after the program asking me to reset the password for the specific username. What could be the problem?
The error is that your system isn't finding the "gcloud" command, which is part of the Google Cloud SDK.
Install the Cloud SDK.
Ensure that the gcloud command is added to your system's PATH environment variable. If you use the interactive installer this last step should be done for you.
Restart your system or IDE if it isn't picking up the change after installing the SDK. If it still isn't finding the application, you might need to manually edit your environment variable or point your IDE to the specific SDK location.
When going to publish my Mobile Service Backend there is supposed to be an option that says "Microsoft Azure App Service" but instead I get two other options: "Microsoft Azure Web Apps" & "Microsoft Azure API Apps (Preview)".
The Web Apps option identifies my service plan and SQL server but wants me to create a new mobile web app url which I already have.
Neither of these show my App Service I have already created. Is it because I don't have Azure SDK v2.9 or higher (as stated by the online resource I'm using)? When going into the NuGet Packages and it only has v2.0 for Microsoft.Windows.Azure.Server and no higher version
Anybody know how to get the higher SDK without going through VS 2015 or any other options?
According to your description, I suggest you could firstly check the existing of the mobile service resource in the VS2015 server explorer.
You could open it in the view --> server explorer.
Anybody know how to get the higher SDK without going through VS 2015 or any other options?
If this resource is existing, but the publish windows doesn't show this resource.
I suggest you could update your azure SDK(the newest is 3.0.1), you could install it in this link.
Besides, I suggest you could check you have created mobile service not web app service.
So, my team and I are developing an app but we don't have a code signing certificate for multiple reasons. We are using the Universal Windows blank app template, so the result is an .appxbundle. I thought I could deploy it like any other program, without a Code Signing Certificate, but I can't figure out how to do that, is it possible?
PS: using Universal Windows template for W10 on VS2017.
Thanks in advance and tell me if you don't understand,
RektibouCaribou
If you have generated package file successfully.
you can sideload apps to your device without submitting them to the Store. This lets you install them and test them out using the app package (.appx) that you have created. If you have an app that you don’t want to sell in the Store, like a line-of-business (LOB) app, you can sideload that app so that other users in your company can use it.
MSDN source:Sideload your app package
As the title says I am wanting to share a Sqlite database between an Android app written in Java and one written in C# using Xamarin. I can successfully share a database between two Java apps (With the help of this question) but when I try the same thing in Xamarin I am getting the following error:
Android.Database.Sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
I think I have two problems.
I am not correctly setting the Shared UserId. Currently I am placing the following attribute above my main activity.
[Register("my.user.id")]
I tried using the android:sharedUserId="my.user.id" in the Manifest file but that was throwing errors and wouldn't deploy to my device.
I don't know how the whole signing of the app works. So maybe my device sees the two apps as coming from a different publisher for each device and is not allowing the two to share context.
EDIT :
Just wanted to add how I signed both applications with the same certificate for future refrence.
The Android cert is noramlly "C:\Users\userName\.android\debug.keystore" and the Xamarin cert is noramlly in "C:\Users\userName\AppData\Local\Xamarin\Mono for Android\debug.keystore". I built the Xamarin app first so I copied the debug.keystore file from the xamarin folder to the android one. (I'm sure it would work the other way around but haven't tested it)
Xamarin.Android does not support SharedUserId via an ApplicationAttribute. (I guess no one every filed an issue about it)
Ref: Android.App.ApplicationAttribute
Add your shared user id via the manifest and it will work fine:
Example:
<application android:allowBackup="true" android:sharedUserId="com.sushihangover" android:icon="#mipmap/icon" android:label="#string/app_name"></application>
Note: Make sure that you manually uninstall both apps, add the sharedUserId, rebuild and reinstall both apps.
Note: Make sure that you are using the same signing certificate for both your Java and Xamarin apps.