windows forms
67 TopicsVersioning my Maui Android App
Previously the way to define version code for Android in Maui .csproj file was like this: <!-- Versions --> <ApplicationVersion>3.1.2</ApplicationVersion> <AndroidVersionCode>3</AndroidVersionCode> With the new release of Visual Studio Preview, this has changed to: <ApplicationVersion>3</ApplicationVersion> It works, from Visual Studio, I can bundle a new .aab package (see image below). We see the version code is defined to 3. Unfortunately the version is defined to 1.0.0 and I don't know how to change this. ...when imported on the Google Play Console, it look like this: Unfortunately, when imported I only see the versionCode 3 (which is defined in the .csproj file as ApplicationVersion). What about the versionName (in parentheses) ? Nothing is planned in the .csproj file ? When imported on the Google Play Console, I don't want to have 3 (1.0.0) but I want 3 (3.1.2)... https://developer.android.com/studio/publish/versioning versionCode — A positive integer used as an internal version number. versionName — A string used as the version number shown to users.27KViews0likes8CommentsGraph API getAsync() in C#
This is cross posted in Azure as well. If I use graph in a console application I get the information that I request. Such as test = await graphClient.Users.GetAsync(); If I try this in a WebMethod in the code behind of a page or in an .asmx, it never returns with the data. I know this has been mentioned before in many forums, but I did not have issues in V1.0 of the SDK. When I try to use V5+ I can't seem to get the information back. Any ideas on overcoming the issue? Any help would be great.60Views0likes0CommentsA strange run issue
I encountered a strange operational issue. After packaging my software in. msixbundle format, I installed and tested it locally. When clicking on the program icon in the start menu, an error occurred and a DLL could not be found. However, after confirmation, the main interface of the program can be opened. In fact, this DLL and the program's exe are in the same directory. But in the program files \ windows app \ myapp directory, clicking on this exe will allow the program to execute normally. My program is a. NET 8 winform program. How should I do?35Views0likes0CommentsHow can I find CPE of dll in .NET?
For example, System.IO.Packaging 8.0.0 hav weakness. https://www.nuget.org/packages/System.IO.Packaging/8.0.0 I have Vulnerability Management tool, I can receive notice of the weakness by registering CPE. I want to obtain CPE of System.IO.Packaging, but where is it available from? Thanks54Views0likes0CommentsEnviar archivo PDF a contacto de WhattsApp con C Sharp.
Hola, una consulta, tengo desarrollada una aplicación de escritorio Windows Forms con C Sharp y me están requiriendo que desde la misma se pueda enviar documentos PDF a contactos de WhttsApp. Estuve buscando información en la web, pero no encontré información certera. Desde ya muchas gracias. Saludos.97Views0likes0CommentsMAUI APP does not run, android-API34 issue ?
Hi everyone, i'm facing a problem using dotnet 8.0 and Maui. I read that an android api is automatically associated to a dotnet version. So for .Net 8.0 the android api is 34.0 I installed the Maui workload and created a new project, then i ran(build) it without any modifications and all the necessay packages installed without issues But when i go to the generated bin folder and run windows app it does'nt even show up, For android part i installed the signed-apk in virtual device and here is what i get : I found somewhere that this was the api 34 issue, i tried to install .Net 7.0-API 33 and .Net 9.0-API 35.0 but facing the same problem. What should i do now... please help me THNKS!!!564Views0likes2CommentsChanging TCP Receive Window in C#
Hi, I have an embedded board with limited RAM (25 KB) and have defined two TCP sockets on it. I can communicate effectively with my Windows application, which I developed in C#. However, I encounter a problem when the Ethernet cable is abruptly disconnected. In this situation, due to the TCP timeout and retry procedure, the embedded board runs out of memory and stops functioning. After consulting with an expert from the company, I learned that this issue is related to the TCP receive window on the PC side (since the receive window on my embedded board is already reduced). They suggested that if I can decrease the TCP receive window for my socket in C#, it may help prevent my board from becoming unresponsive. And they are correct, because when I replaced the PC with another embedded board, this problem did not occur. I would greatly appreciate any guidance you can provide on how to reduce the TCP receive window just for the connected socket in C# not all adapters window size. Thank you!186Views0likes0CommentsForm borders appearing different in visual studio and when the application is running
Good morning I can't understand why in my application that I made some time ago in VB.NET the edges of the forms are seen differently, in visual studio they are one way and when I start the application they are seen in another way. I attach two screenshots to better understand what I mean. If anyone knows what may have happened and can give me some advice on how to resolve it. Thank you Fabrizio430Views0likes1CommentSQL and .net issue
Hi I am unable to see .mdf file in my visual studio when I opened one project of C# .Net in visual studio. But same way the files are visible in data connections in YouTubers video. I don’t have sql server installed and connected, is it happening due to this? (I AM A BEGINNER PLS HELP IN THIS)194Views0likes1Comment