Microsoft Docs - 최신 문서

Microsoft 기술 문서가 이전된 docs.microsoft.com에서는 콘텐츠용 웹 환경뿐 아니라 솔루션을 학습, 관리 및 배포하는 데 사용하는 콘텐츠를 만들고 지원하는 방법을 현대화했습니다. 이는 Microsoft 기술과 관련된 모든 것을 위한 원스톱 상점입니다. docs.microsoft.com에서 새롭고 흥미로운 내용을 최신 상태로 유지할 수 있도록 귀하를 위한 전용 피드를 만들었습니다.


Selected Feed: Xamarin

Post API gives error on sending the request - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1195192/post-api-gives-error-on-sending-the-request Hello, I tried to post to API but the C# code give me error "Failed to connect to localhost/127.0.0.1:7091" while if I tried to use Postman , it will work, for the recieved Json in APIService for the APIService for the view model
Published Date : 2023년 3월 31일 금요일

Android Google code scanner API bindings - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194931/android-google-code-scanner-api-bindings Hello, recently Google upgraded the code scanner API from beta to GA. This is something we are really interested in our .NET 7 Android app. When can Microsoft release the C# bindings to access this library? What is the best place to request something like this? Or is the main option to create/maintain our own bindings? I tried to go through github but am not getting any responses there: https://github.com/xamarin/GooglePlayServicesComponents Thanks.
Published Date : 2023년 3월 31일 금요일

Plugin.FirebasePushNotification not refreshing token - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/245124/plugin-firebasepushnotification-not-refreshing-tok I am using the FirebasePushNotification plugin in my xamarin forms app, and I followed all the instruction for the set up. https://github.com/CrossGeeks/FirebasePushNotificationPlugin This is the third app where i use it, but it's never firing the OnTokenRefresh event in the .net standard project (App.xaml.cs). It works fine in all the other apps. However, the event fires only if i implement in the MainApplication class: In App.xaml.cs (where I need it), it doesn't: What could the cause be? I am running out of ideas, i tried in android only so far, emulator and device... Thanks PS: I would post the question on the github page, but i almost never get an answer there so i am asking here.
Published Date : 2023년 3월 31일 금요일

How to hide Navigation Bar on Xamarin Forms when using Tab Navigation (Shell) - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/349760/how-to-hide-navigation-bar-on-xamarin-forms-when-u Hi, I have created a Tabbed layout Xamarin project - which implements Xamarin.Forms.Shell framework for navigation. I simply want to hide the Navigation Bar on the pages. All the solutions I have read refer to either setting the following on the XAML page NavigationPage.HasNavigationBar="False" Or NavigationPage.SetHasNavigationBar(this, false); in the code behind. None of these options seem to be working. Is there something obvious I am missing to achieve this simple task?
Published Date : 2023년 3월 31일 금요일

visual studio pair to mac stuck on connecting - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194917/visual-studio-pair-to-mac-stuck-on-connecting I was able to connect Microsoft Visual Studio 2022 ver (17.5.3) to Ventura ver 13.3 Mac OSX running in docker image and I never used to have any issues until I had to reformat my pc, since then I have hit a bit of a wall. The iOS simulator launches in windows but is stuck saying "connecting to mac...." If in VS I de-select the "remote simulator to windows" option is VS, then the iOS simulator launches on the mac VM and loads up the VS app fine, but I do not want to have to work on the mac as means I have to flip back and forth which when doing dev work its a nightmare of a hassle When I examine the Xamarin.Simulator logs I notice this: So the issue appears to be with the ssh connection, but I can use ssh to connect to the mac from windows with no issue using PowerShell I can also connect from the mac vm to windows using: looking at the logs in-depth, I was wondered if the port was not been set properly by Xamarin however, the ssh port is being set when connecting to the vm as seen in VS's terminal window log: I ruled out the firewall because I have it disabled on the mac and in windows, I added the ssh as an exception: Even if I disable windows firewall completely and my anti-virus that made no difference. using an answer from stackoverflow I even added DOCKER_HOST to environments and Expose daemon on tcp://localhost:2375 without TLS and used netstat -anb to verify that it is running and listening on the expected port other suggestions involve updating VS or Xcode-(or even downgrading it) but I had Xcode version 14.2 working before and I'm using the latest version of VS I tried playing around with some of the .wslconfig config settings like: but this felt like a red herring, so I reverted back to my original config settings: I looked at sshd_config file but given I didn't have to change these before and this is a little outside of my expertise I left this alone so now I'm out of ideas, I am confident this is not an issue with using a VM, Docker or Sickcodes because I have had this working before. So if anyone has any let me know please? notes: docker has Ubuntu integration set as default and wsl is using Ubuntu as its default distro & I am using WSL 2. VS is able to pair to the mac with no issues ( I use "172.***:50922" as the address when pairing) thanks in advance
Published Date : 2023년 3월 31일 금요일

How to hide net maui tabbar correctly? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1193818/how-to-hide-net-maui-tabbar-correctly How to hide net maui bottom tabs correctly? To see it, create maui project, add two pages, name them FirstPage, SecondPage. add shell tabbar, for example two tabs: 1st tab, 2nd tab, set datatemplate for them FirstPage. Then create in FirstTab Button to navigate to the SecondPage, in the SecondPage set "TabBarIsvisible=False", then you'll see that Shell.Tab's not disappearing immediately, how it was in Xamarin.Forms, How can i fix that?
Published Date : 2023년 3월 31일 금요일

What GUI framework should be used for a cross-platform application (Windows, Mac, and Linux)? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194674/what-gui-framework-should-be-used-for-a-cross-plat Hi Team, We have a requirement of one UI can be used across all the 3 OS platforms like Windows, Mac and Linux. Could you please suggest which is the best platform(development technology) to develop that app should work across all 3 platforms. Example : We use Xamarin to working app on cross platform like android, windows and apple phone. Best Regards, Sunil
Published Date : 2023년 3월 31일 금요일

The corresponding web pages are not loading when the link is tapped in Xamarin forms - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194613/the-corresponding-web-pages-are-not-loading-when-t In my Xamarin forms project, we show the HTML data on the UI using a webview. Using below code I am showing html content on UI: My HTML Content is uploaded as a file here. We have a few href links on the content, and if we tap on them, the corresponding web page we need to open. Currently if I tap nothing is happening. If the data tapping is impossible, is there any way to get the href links only as a list?
Published Date : 2023년 3월 31일 금요일

After installing VS2022 , getting NU1201 error on .net framework 4.7.2 - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1093101/after-installing-vs2022-getting-nu1201-error-on-ne Hi, I have developed on .net framework 4.7.2 and want to use .net6 on same machine , for that reason I have installed VS2022. Everything were build perfectly on VS2019. After installing VS2022 , getting NU1201 error on native projects of .NET framework 4.7.2 with VS2019: When using NuGet.exe to restore Nugets for my projects: set SolutionDir=%1 %SolutionDir%.nuget\NuGet.exe restore %SolutionDir% Getting following errors on native projects running on VS2019 (Prior to VS2022 installation all passed successfully): Errors in C:\GIT\XXX.vcxproj NU1201: Project XXX is not compatible with native (native,Version=v0.0). Project XXX supports: net472 (.NETFramework,Version=v4.7.2) NU1202: Package YYY 12.4.0 is not compatible with native (native,Version=v0.0). Package YYY 12.4.0 supports: - net472 (.NETFramework,Version=v4.7.2) - net50 (.NETFramework,Version=v5.0) - netcoreapp3.1 (.NETCoreApp,Version=v3.1) NU1202: Package Newtonsoft.Json 9.0.1 is not compatible with native (native,Version=v0.0). Package Newtonsoft.Json 9.0.1 supports: - net20 (.NETFramework,Version=v2.0) - net35 (.NETFramework,Version=v3.5) - net40 (.NETFramework,Version=v4.0) - net45 (.NETFramework,Version=v4.5) - netstandard1.0 (.NETStandard,Version=v1.0) - portable-net40+sl5+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile328) - portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259) NU1202: Package Microsoft.IdentityModel.Clients.ActiveDirectory 4.5.1 is not compatible with native (native,Version=v0.0). Package Microsoft.IdentityModel.Clients.ActiveDirectory 4.5.1 supports: - monoandroid81 (MonoAndroid,Version=v8.1) - net45 (.NETFramework,Version=v4.5) - netstandard1.1 (.NETStandard,Version=v1.1) - netstandard1.3 (.NETStandard,Version=v1.3) - uap10.0 (UAP,Version=v10.0) - xamarinios10 (Xamarin.iOS,Version=v1.0)
Published Date : 2023년 3월 30일 목요일

Getting issues after migrating code from xamarin.forms to .Net Maui - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194618/getting-issues-after-migrating-code-from-xamarin-f Code Migration Issue Xamarin to maui.png Severity Code Description Project File Line Suppression State Error Value cannot be null. Parameter name: key FMSMobile.Core in .xaml file
Published Date : 2023년 3월 30일 목요일

Xamarin.Android.Bindings.targets was not found - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194322/xamarin-android-bindings-targets-was-not-found when running the following command on a xamarin.android class library project dotnet pack --configuration Release I am facing following issue MSBuild version 17.3.0+92e077650 for .NET /Users/faizan/Projects/Upwork/NearpayXamarin/nearpay-xamarin-android-sdk/nearpay-xamarin-android-sdk.csproj(130,3): error MSB4019: The imported project "/usr/local/share/dotnet/x64/sdk/6.0.400/Xamarin/Android/Xamarin.Android.Bindings.targets" was not found. Confirm that the expression in the Import declaration "/usr/local/share/dotnet/x64/sdk/6.0.400//Xamarin/Android/Xamarin.Android.Bindings.targets" is correct, and that the file exists on disk. Help required!
Published Date : 2023년 3월 29일 수요일

Conditional MainPage in AppShell - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194304/conditional-mainpage-in-appshell Hi, I have the below in my AppShell But how can I add a condition here to show the MainPage if the user is already signed in otherwise the MainPage should be Signin My signed-in condition is stored in SecureStorage.Get("IsSignedin") Thanks, Jassim
Published Date : 2023년 3월 29일 수요일

Error Package Microsoft.Owin 4.2.2 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0) - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194267/error-package-microsoft-owin-4-2-2-is-not-compatib Hello, I have a problem adding packages via Nuget Manager in my Xamarin project. I am working on a MacBook with Visual Studio 2022. Among other things, I want to add the packages Microsoft.OWIN and OWIN.Security.Keycloak to my project for iOS. Both on a Windows system and on a MacBook, I get an error message that the packages are not compatible with the deposited Xamarin.iOS version. Exact error message: Package Microsoft.Owin 4.2.2 is not compatible with xamarinios10 (Xamarin.iOS,version=v1.0) / win-x86. Package Microsoft.Owin 4.2.2 supports: net7.0.4 (.NETCoreApp,version=v7.0.4) The reference Xamarin.iOS is stored in version 0 according to the properties. However, no updates can be found for the reference and I can't find a manual download on the internet either. Does anyone know this problem and can help me with it? Best regards
Published Date : 2023년 3월 29일 수요일

Java.Lang.NoClassDefFoundError com.google.android.exoplayer2.source.ConcatenatingMediaSource - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1186797/java-lang-noclassdeffounderror-com-google-android I use Xamarin MediaManager version 1.2.2 to play songs in my Android and iOS applications: https://github.com/Baseflow/XamarinMediaManager But the problem is that it is not working in every Android project. For example, it works in a new empty Android project and in another Android project I get the exception. But I used the same template to create both Android projects. I don't know why the same code is not working in every Android project. I have already tried to delete the bin and obj folders but it didn't helped. I get this exception in the following line of code. This line is executed before I want to play a song. CrossMediaManager.Current.RepeatMode = MediaManager.Playback.RepeatMode.Off; Java.Lang.NoClassDefFoundError com.google.android.exoplayer2.source.ConcatenatingMediaSource I use target Android version 33 and minimum Android version 31: Why am I getting the exception in one Android project and not in the other?
Published Date : 2023년 3월 29일 수요일

Circular Progressbar through SKIA Sharp is not working in MAUI - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1193449/circular-progressbar-through-skia-sharp-is-not-wor I have created a custom control for circular progress bar using skia sharp in xamarin forms and it is not working in MAUI after migration. I have shared the code below, please check
Published Date : 2023년 3월 29일 수요일

layout_width="wrap_content" has no effect to button - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1192860/layout-width-wrap-content-has-no-effect-to-button Hello In platform xamarin android If i reduce the textsixe the width of the button remains the same Thanks
Published Date : 2023년 3월 29일 수요일

How to do NTLMv2 auth when consuming web service in Xamarin.Android client? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1193922/how-to-do-ntlmv2-auth-when-consuming-web-service-i We have a legacy app built with Xamarin.Android that uses HttpWebRequest to consume a web service. We're authenticating with NTLM (not v2) by setting the HttpWebRequest.Credentials property to an appropriate NetworkCredential object. The customer has observed that it is now 2023 and, therefore, NTLM is not a particularly optimal choice in terms of security. They wish now instead to use NTLMv2. HttpWebRequest seems to not support NTLMv2. (There's no way I can find to specify the auth version on the client side, and it does not successfully negotiate it with the server.) What's the least-painful path to NTLMv2 support in a Xamarin.Android app? (For those of you with your fingers poised above the "just use OAuth2" key: That's being considered. But for the purposes of this question, please assume we're stuck with NTLMv2.) Thanks!
Published Date : 2023년 3월 29일 수요일

Viewing Bitmap(s) While Debugging - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1185668/viewing-bitmap(s)-while-debugging I have a number of Android.Graphics.Bitmap(s) that I create, use & modify in my app. In most cases, the Bitmap is modified in multiple ways in the same method/function, so setting it as the source of an ImageView (for debugging purposes) would not work, since it would be modified again before the UI was updated. Is there any good way to examine a Bitmap while debugging, or a simple way to temporarily save it to a local file on my machine (without needing to mess around with permissions & other stuff)?
Published Date : 2023년 3월 29일 수요일

How to Open Files on Xamarin Android Using FilePicker - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1191794/how-to-open-files-on-xamarin-android-using-filepic But I get this error: The name FilePicker does not exist in the current context. There are several other similar errors. Any help is very appreciated.
Published Date : 2023년 3월 29일 수요일

How to update the xamarin app on a button click from the app itself - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1185512/how-to-update-the-xamarin-app-on-a-button-click-fr I have a xamarin application and using Appcenter for the publish, we have a settings page in our App and need to enable an update button if a new release available in appcenter. And also need to update the app when the user clicks on that update button.(from the app itself,not navigate to appcenter site). Please help me if there is any solution.
Published Date : 2023년 3월 29일 수요일

Compatible nuget package for GoogleApiAvailability.Instance.IsGooglePlayServicesAvailable in MAUI - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1191314/compatible-nuget-package-for-googleapiavailability In MAUI, I'm trying to check if GooglePlayStore Is Installed or not in device before redirecting to GooglePlayStore through url but unable to find the package for below code. Here's the sample code that I'm using
Published Date : 2023년 3월 29일 수요일

AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1193303/appshell-failed-to-navigate-back-ambiguous-routes I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: In my tabbar I have a tab "MoreServicePage" which shows a list of items. So far so good. Now when HousingFolderPage is showing, I have no problem navigating back from here. HousingFolderPage also shows another list, but when I push to next page, I'm not able to come back. Error message: I have only registered the routs in AppShell programmaticly (AppShell.xaml.cs) and no other places not even in the AppShell.xaml. PS. this seems to happen everywhere where I navigate 2 pages deep, while 1 page deep works without a problem I have created a simple Xamarin Forms Application to reproduce this issue. As you will see, you are able to navigate back from page 2, but not from page 3 to page 4 nor from page 4 to page 3. Download test repo: https://github.com/nabilakhlaque/Xamarin-forms-navigation-issue
Published Date : 2023년 3월 29일 수요일

Custom List View Renderer with custom list view adaptor in MAUI - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1193426/custom-list-view-renderer-with-custom-list-view-ad I have created a custom renderer for list view to achieve sticky group header in android and i have installed Xamarin.Android.StickyHeaders package to achieve it in natively. It is working fine in Xamarin Forms, but after migration it is not working in .NET MAUI. I have updated the handler instead of renderer and attached screenshots of code, Please check and help me out on this. on adaptor getview and getheaderview are not calling while loading the screen in MAUI. Thanks in advance.
Published Date : 2023년 3월 29일 수요일

How can I figure out what nuget package is throwing an error about Xamarin.Android.Support.v4 no longer supported? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1193652/how-can-i-figure-out-what-nuget-package-is-throwin I have an old Xamarin.Forms app for iOS and Android that I am trying to upgrade to work on the latest Android OS. When I build I get these errors: The problem is I can't figure out which nuget package needs to be upgraded. I read a MSDN article about how to turn on Verbose logging during build and have that turned on, so I see lots of details. I can't seem to figure out which nuget or library is trying to bring that v4 library in. Can someone point me to how to figure that out?
Published Date : 2023년 3월 29일 수요일

How to upgrade Xamarin native Mac application project to Mac .NET macOS application project - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1193690/how-to-upgrade-xamarin-native-mac-application-proj I find out 3 template in VS2022 for Mac, The first one is Mac .NET macOS Application, the second one is Mac .Net Mac Catalyst Application and the third one is Multiplatform .NET MAUI project. In order to upgrade and migrate my Mac Xamarin native project to Microsoft new .NET architecture. I have created a new project with .NET macOS Application, It's neither a .Net Mac Catalyst Application or a Multiplatform .NET MAUI Application. I wonder if it's right to choose Mac .NET macOS Application project to upgrade my Xamarin Mac native application? And How to upgrade to Mac .NET macOS Application project. I think there are minimal changes than other two projects. Do you give me some more supports or solution in migrating to Mac .NET macOS Application? I don't have a stable experience in .NET macOS Application project with VS2022 for Mac, and I find some documents, some is .NET MAUI project, some is .Net Mac Catalyst Application, exactly I wonder the description about .NET macOS Application. In .NET macOS Application project, I can't find Build-> Mac->Bundle Signing in Project Properties window. I want to get a feasible solution as soon as possible. Thanks a lot!
Published Date : 2023년 3월 29일 수요일

Xamarin Forms - iOS App - Runs well in Debug, but crashes with Adhoc or AppStore builds - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/492265/xamarin-forms-ios-app-runs-well-in-debug-but-crash Hi, The app we have developed using Xamarin Forms (also incorporating DevExpress packages, Xamarin Essentials, in-app billing plugin) works well in Android, and was working well on iOS while in Debug mode ... but as soon as I build the app for Adhoc or AppStore distribution, and use Xcode to distribute to my iPhone or to TestFlight, the app crashes immediately after the launch screen starts. I believe that the Distribution profiles are all setup correctly, as I am able to create the archive in Visual Studio 2019 with the Development profile and then use Xcode to distribute the archive using the Appstore distribution profile and upload to TestFlight with no errors. The app validates ok in Xcode as well. Here is the trace I am getting from the device when installing using TestFlight: default 11:21:57.657990+1000 appstored [253E5E2C] Completed with 1 result: <ASDApp: 0x103793250>: {bundleID = com.seveno.DSApp; installed = 1} default 11:22:04.286089+1000 lsd [FBSSystemService][0xdb39] Sending request to open "com.seveno.DSApp" default 11:22:04.286412+1000 SpringBoard [FBSystemService][0xdb39] Received request to open "com.seveno.DSApp" from lsd:97. default 11:22:04.286485+1000 SpringBoard Received trusted open application request for "com.seveno.DSApp" from <FBProcess: 0x100e0e4b0; daemon<com.apple.lsd>:97(vF8)>. default 2021-07-.72207828 11:22:04+1000 SpringBoard [sceneID:com.seveno.DSApp-default] Scene action [Logical Activate][0x6262] completed with success: 0 default 11:22:04.722382+1000 SpringBoard [application<com.seveno.DSApp>:8132] Workspace connection invalidated. default 11:22:04.722419+1000 SpringBoard [application<com.seveno.DSApp>:8132] Now flagged as pending exit for reason: workspace client connection invalidated default 11:22:04.787540+1000 runningboardd [application<com.seveno.DSApp>:8132] termination reported by launchd (0, 0, 6) default 11:22:04.787559+1000 runningboardd Removing process: [application<com.seveno.DSApp>:8132] default 11:22:04.787862+1000 runningboardd Removing launch job for: [application<com.seveno.DSApp>:8132] default 11:22:04.788008+1000 runningboardd Removed job for [application<com.seveno.DSApp>:8132] default 11:22:04.789016+1000 runningboardd Removing assertions for terminated process: [application<com.seveno.DSApp>:8132] default 11:22:04.789104+1000 runningboardd Removed last relative-start-date-defining assertion for process application<com.seveno.DSApp> default 11:22:04.820358+1000 runningboardd Calculated state for application<com.seveno.DSApp>: none (role: None) default 11:22:04.820635+1000 SpringBoard [application<com.seveno.DSApp>:8132] Process exited: <RBSProcessExitContext| voluntary>. default 11:22:04.820652+1000 SpringBoard [application<com.seveno.DSApp>:8132] Setting process task state to: Not Running default 11:22:04.820671+1000 SpringBoard [application<com.seveno.DSApp>:8132] Setting process visibility to: Unknown default 11:22:04.820841+1000 runningboardd Calculated state for application<com.seveno.DSApp>: none (role: None) default 11:22:04.821085+1000 SpringBoard [application<com.seveno.DSApp>:8132] Invalidating workspace. default 11:22:04.821192+1000 SpringBoard Removing workspace registration for processHandle: [application<com.seveno.DSApp>:8132] default 11:22:04.940821+1000 locationd Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.941776+1000 locationd {"msg":"#CLIUA Marking change", "clientKey":"com.seveno.DSApp", "reason":"Process state from RunningBoard", "assertionLevel":5, "coming":1} default 11:22:04.943890+1000 aggregated Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.944319+1000 wifid Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.945125+1000 symptomsd Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.945197+1000 watchdogd Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.946419+1000 backboardd Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.946522+1000 contextstored Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.946679+1000 UserEventAgent Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.948972+1000 ReportCrash osa_update: Pid 8132 'DSApp.iOS' CORPSE: Capture Complete default 11:22:04.949007+1000 ReportCrash Formulating fatal report for corpse[8132] DSApp.iOS default 11:22:04.949403+1000 locationd {"msg":"#CLIUA Marking change", "clientKey":"com.seveno.DSApp", "reason":"Process state from RunningBoard", "assertionLevel":5, "coming":0} default 11:22:04.953548+1000 callservicesd Hit the server for a process handle 13b81fd00001fc4 that resolved to: [application<com.seveno.DSApp>:8132] default 11:22:04.954672+1000 appstored Received a beta app crash notification for com.seveno.DSApp default 11:22:04.956487+1000 SpringBoard [Main] dispatch event: <SBMainTransitionSwitcherModifierEvent: 0x281746f20; type: MainTransition; transitionID: 697E59E9-54D3-4E08-8E2E-CC9F8AB9E673; phase: Complete; animated: YES; fromAppLayout: <SBAppLayout: 0x2836eda00; primary: com.apple.TestFlight; environment: main>; toAppLayout: <SBAppLayout: 0x283792500; primary: com.seveno.DSApp; environment: main>; pendingTermination: {( )}> default 11:22:04.957396+1000 ReportCrash osa_update: Pid 8134 'DSApp.iOS' CORPSE: Symbolicating default 11:22:04.959289+1000 SpringBoard Received request to activate alertItem: <SBUserNotificationAlert: 0x11592ac00; title: “DSApp” Crashed; source: appstored; pid: 159> default 11:22:04.959312+1000 SpringBoard Activation - Presenting <SBUserNotificationAlert: 0x11592ac00; title: “DSApp” Crashed; source: appstored; pid: 159> with presenter: <SBUnlockedAlertItemPresenter: 0x282e88b20> default 11:22:04.959554+1000 ReportCrash osa_update: Pid 8134 'DSApp.iOS' CORPSE: Symbolicating2 default 11:22:04.988651+1000 kbd Hit the server for a process handle 12d31af900001fc6 that resolved to: [application<com.seveno.DSApp>:8134] default 11:22:04.998087+1000 runningboardd [application<com.seveno.DSApp>:8134] termination reported by launchd (0, 0, 6) default 11:22:04.998106+1000 runningboardd Removing process: [application<com.seveno.DSApp>:8134] default 11:22:04.998163+1000 runningboardd Removing launch job for: [application<com.seveno.DSApp>:8134] default 11:22:04.998204+1000 runningboardd Removed job for [application<com.seveno.DSApp>:8134] default 11:22:04.998234+1000 runningboardd Removing assertions for terminated process: [application<com.seveno.DSApp>:8134] default 11:22:04.998600+1000 runningboardd Removed last relative-start-date-defining assertion for process application<com.seveno.DSApp> default 11:22:05.015687+1000 runningboardd Calculated state for application<com.seveno.DSApp>: none (role: None) default 11:22:05.015780+1000 runningboardd Calculated state for application<com.seveno.DSApp>: none (role: None) default 11:22:05.017004+1000 SpringBoard [application<com.seveno.DSApp>:8134] Process exited: <RBSProcessExitContext| voluntary>. default 11:22:05.017021+1000 SpringBoard [application<com.seveno.DSApp>:8134] Setting process task state to: Not Running default 11:22:05.017040+1000 SpringBoard [application<com.seveno.DSApp>:8134] Setting process visibility to: Unknown default 11:22:05.017167+1000 SpringBoard [application<com.seveno.DSApp>:8134] Invalidating workspace. default 11:22:05.017184+1000 SpringBoard Removing workspace registration for processHandle: [application<com.seveno.DSApp>:8134] default 11:22:05.017201+1000 SpringBoard Removing: <FBApplicationProcess: 0x115b96080; application<com.seveno.DSApp>:8134(v5E24)> default 11:22:05.017472+1000 SpringBoard Process exited: <FBApplicationProcess: 0x115b96080; application<com.seveno.DSApp>:8134(v5E24)> -> <RBSProcessExitContext| voluntary> default 11:22:05.017779+1000 SpringBoard Application process state changed for com.seveno.DSApp: (null) default 11:22:05.024640+1000 mediaserverd -CMSessionMgr- CMSessionMgrHandleApplicationStateChange: Client com.seveno.DSApp with pid '8134' is now Terminated. Background entitlement: NO ActiveLongFormVideoSession: NO WhitelistedLongFormVideoApp NO error 11:22:05.024733+1000 SpringBoard Ignoring state for untracked process [application<com.seveno.DSApp>:8134]: <RBSProcessState| task:none debug:none> default 11:22:05.037045+1000 analyticsd Received event: com.apple.stability.crash {"appVersion":"3.0.2","bundleID":"com.seveno.DSApp","exceptionCodes":"0x0000000000000000, 0x0000000000000000","incidentID":"AC81DC50-C74E-450A-ABA7-AB5047329099","logwritten":0,"process":"DSApp.iOS","terminationReasonNamespace":"<NO_NS>"} default 11:22:05.037064+1000 analyticsd Aggregated. Transform: StabilityCrashNumerator3 Dirty: 1 Event: com.apple.stability.crash {"appVersion":"3.0.2","bundleID":"com.seveno.DSApp","exceptionCodes":"0x0000000000000000, 0x0000000000000000","incidentID":"AC81DC50-C74E-450A-ABA7-AB5047329099","logwritten":0,"process":"DSApp.iOS","terminationReasonNamespace":"<NO_NS>","timestamp":1627435324704629} default 11:22:05.128437+1000 appstored Received a beta app crash notification for com.seveno.DSApp default 11:22:05.198461+1000 SpringBoard Received request to activate alertItem: <SBUserNotificationAlert: 0x11590cfa0; title: “DSApp” Crashed; source: appstored; pid: 159> default 11:22:05.198478+1000 SpringBoard Activation - Presenting <SBUserNotificationAlert: 0x11590cfa0; title: “DSApp” Crashed; source: appstored; pid: 159> with presenter: <SBUnlockedAlertItemPresenter: 0x282e88b20> default 11:22:05.497370+1000 SpringBoard [application<com.seveno.DSApp>:8134] Dropping launch assertion. default 11:22:10.568233+1000 SpringBoard Will deactivate alertItem: <SBUserNotificationAlert: 0x11590cfa0; title: “DSApp” Crashed; source: appstored> for reason: Button Pressed default 11:22:10.570991+1000 SpringBoard Will deactivate alertItem: <SBUserNotificationAlert: 0x11590cfa0; title: “DSApp” Crashed; source: appstored> for reason: User Dismissed default 11:22:10.571075+1000 SpringBoard Deactivated alertItem: <SBUserNotificationAlert: 0x11590cfa0; title: “DSApp” Crashed; source: appstored; pid: 159> default 11:22:10.573956+1000 appstored User pressed cancel on dialog for crash of beta app with bundleID: com.seveno.DSApp default 11:22:10.996191+1000 SpringBoard Deactivated alertItem: <SBUserNotificationAlert: 0x11590cfa0; title: “DSApp” Crashed; source: appstored; pid: 159> default 11:22:12.210638+1000 SpringBoard Will deactivate alertItem: <SBUserNotificationAlert: 0x11592ac00; title: “DSApp” Crashed; source: appstored> for reason: Button Pressed default 11:22:12.213071+1000 SpringBoard Will deactivate alertItem: <SBUserNotificationAlert: 0x11592ac00; title: “DSApp” Crashed; source: appstored> for reason: User Dismissed default 11:22:12.213119+1000 SpringBoard Deactivated alertItem: <SBUserNotificationAlert: 0x11592ac00; title: “DSApp” Crashed; source: appstored; pid: 159> default 11:22:12.226281+1000 appstored User pressed cancel on dialog for crash of beta app with bundleID: com.seveno.DSApp default 11:22:12.668123+1000 SpringBoard Deactivated alertItem: <SBUserNotificationAlert: 0x11592ac00; title: “DSApp” Crashed; source: appstored; pid: 159> Can't see much that is useful in the above, but when I install the app on my iPhone directly using Xcode, the app does crash but this time adds the following lines to the output: default 13:38:23.696096+1000 DSApp.iOS Unhandled Exception: System.TypeInitializationException: The type initializer for 'DSApp.App' threw an exception. ---> System.InvalidOperationException: You must call Xamarin.Forms.Forms.Init(); prior to using this property. at Xamarin.Forms.Device.get_PlatformServices () <0x1036c40c0 + 0x0005c> in <978ec34c5c9c4c4eb3d73b6da958bcd6#2ef9c4ad2238dd5726320c6b6cf9b7e3>:0 at Xamarin.Forms.Device.GetAssemblies () <0x1036c4c60 + 0x0000b> in <978ec34c5c9c4c4eb3d73b6da958bcd6#2ef9c4ad2238dd5726320c6b6cf9b7e3>:0 at Xamarin.Forms.DependencyService.Initialize () <0x1036c3870 + 0x0009b> in <978ec34c5c9c4c4eb3d73b6da958bcd6#2ef9c4ad2238dd5726320c6b6cf9b7e3>:0 at Xamarin.Forms.DependencyService.Get[T] (Xamarin.Forms.DependencyFetchTarget fetchTarget) <0x1036c2e70 + 0x0002b> in <978ec34c5c9c4c4eb3d73b6da958bcd6#2ef9c4ad2238dd5726320c6b6cf9b7e3>:0 at DSApp.App..cctor () <0x1062aa4f0 + 0x0020f> in <75685e241fe14204803ce1e9928c42cd#2ef9c4ad2238dd5726320c6b6cf9b7e3>:0 --- End of inner exception stack <…> default 13:38:23.697068+1000 DSApp.iOS Unhandled managed exception: The type initializer for 'DSApp.App' threw an exception. (System.TypeInitializationException) at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) <0x1053a7460 + 0x0002f> in <ad1be307855442e4b2cb88e33f94f908#2ef9c4ad2238dd5726320c6b6cf9b7e3>:0 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) <0x1053a72d0 + 0x00043> in <ad1be307855442e4b2cb88e33f94f908#2ef9c4ad2238dd5726320c6b6cf9b7e3>:0 at DSApp.iOS.Application.Main (System.String[] args) <0x102cf6b40 + 0x00023> in <3bc27722ccd949eb8c86e64ca19b9354#2ef9c4ad2238dd5726320c6b6cf9b7e3>:0 --- inner exception --- You must call Xamarin.Forms.Forms.Init(); prior to using this property. (System.InvalidOperationException) at Xamarin.Forms.Device.get_PlatformServices () <0x1036c40c0 + 0x0005c> in <978ec34c5c9c<…> This also doesn't make a lot of sense, given the first line in AppDelegate.cs in the FinishedLaunching event is global::Xamarin.Forms.Forms.Init(); If there was a fundamental problem with the logic, it wouldn't work in Debug mode in iOS, and obviously the App works well on Android, so the issue must be something in the iOS specific code or archive. I have tried various combinations of iOS build settings, to no avail - current settings are: I have seen some people have similar issues with crashing on TestFlight, but have not had any luck with those approaches either, such as: https://stackoverflow.com/questions/14499334/how-to-prevent-ios-crash-reporters-from-crashing-monotouch-apps It feels like something is missing from the Archive that is stopping the App from starting properly. Any assistance to at least know how to approach debugging this would be most welcome! Kind Regards, Paul McKinney
Published Date : 2023년 3월 29일 수요일

Xamarin InAppBilling Plugin - subscriptions and offer codes - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/442700/xamarin-inappbilling-plugin-subscriptions-and-offe Hi, I want to add an auto-renewable subscription to my Xamarin Forms which will unlock certain functionality within the app. I have some questions about the ​Xamarin In App Billing plugin - does anyone here have any experience with that? I've read through the docs on the plugin-page but still not clear on a few things.. https://jamesmontemagno.github.io/InAppBillingPlugin/ 1) Does this plugin support the use of offer codes? 2) For restore purchases would I need to do any receipt validation? It looks like that is needed when you are doing server delivered content? 3) I am planning on the flow below - is there any better way or improvements to this? a) check SecureStorage.GetAsync("subscriptionValidDate") b) if subscriptionValidDate is greater than Today, then enable functionality c) if it is null, or the date is in the past, then check the App Store to see if there is an active subscription (e.g. a renewal has happened) d) if there is no active subscription, then prompt the user to buy one or allow them to Restore purchases.
Published Date : 2023년 3월 29일 수요일

/storage/emulated/0/BatchFiles" System.UnauthorizedAccessException: 'Access to the path '/storage/emulated/0/BatchFiles' is denied. - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1194003/storage-emulated-0-batchfiles-system-unauthorizeda I get the following error when try to create a file in external storage in a android Xamarin in Visual studio 2022, android version is 12. /storage/emulated/0/BatchFiles" System.UnauthorizedAccessException: 'Access to the path '/storage/emulated/0/BatchFiles' is denied.
Published Date : 2023년 3월 29일 수요일

How can I use MediaElement to play audio from file in a .NET iOS/Android project? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1190236/how-can-i-use-mediaelement-to-play-audio-from-file I don't know how to play audio from file with MediaElement. I want to play background songs in my game. I don't need to display additional buttons in my game to start or stop playing the songs. My game will start playing the songs automatically when the player enters a menu in my game. Normally the songs should repeat automatically, but in some cases I just want to play a song once. In addition, sometimes I will need to start playing a song not from the beginning but from a specific position. On iOS the audio .m4a files are in Resources folder. On Android the audio .m4a files are in Assets folder. Android csproj: iOS csproj: In addition, I cannot use the following code to initialize MediaElement because I don't use the Maui template in Visual Studio for Mac to create my Android and iOS projects: https://devblogs.microsoft.com/dotnet/announcing-dotnet-maui-communitytoolkit-mediaelement/ How can I initialize MediaElement in OnCreate? How can I initialize MediaElement in FinishedLaunching? I want to use MediaElement to play background songs in my shared code project after initializing it in OnCreate/FinishedLaunching.
Published Date : 2023년 3월 29일 수요일

Create Audio and Video Streaming with Xamarin Forms - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1167455/create-audio-and-video-streaming-with-xamarin-form Hi to all, I would like to create an audio and video call streaming between 2 apps, a simple one to one call with Xamarin Forms. I have seen this Azure streaming https://learn.microsoft.com/en-us/azure/communication-services/concepts/voice-video-calling/calling-sdk-features Could be implemented with Xamarin Forms for Android and iOS ? Otherwise how can I achieve a video call with audio between apps. Thanks to all.
Published Date : 2023년 3월 28일 화요일

기술 문서

https://learn.microsoft.com/ko-kr/docs/ ffice Office 365 OneDrive 개방형 사양 PlayReady Power Apps Power Automate Power BI Power Pages Power Platform 파워 쿼리 PowerShell Power Virtual Agents Project SharePoint 비즈니스용 Skype SQL Server System Center TakeLessons 가상화 Visual Basic Visual Studio Visual Studio App Center Visual Studio IDE Windows Xamarin
Published Date : 2023년 3월 28일 화요일

Building and testing MSAL.NET - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/contribute/build-and-test Keeping the pure .NET targets and eliminating UWP and Xamarin results in a fast build and you can run all unit tests.
Published Date : 2023년 3월 28일 화요일

Upgrade Xamarin Forms Cross Platform Library from NetStandard2.x to Net7 - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1193640/upgrade-xamarin-forms-cross-platform-library-from I am trying to use the Acr.UserDialogs nuget package. I was using an older version with an older build of my Xamarin.Forms app for Android. I have a library that uses it that is cross platform. When I try to upgrade the Acr.UserDialogs package it tells me that it isn't compatible with NETStandard 2.1 and that I need to upgrade to at least net6. When I go to the properties of the library the only options are NetStandard or Net Core 3 or 5, both of which are out of support and the Acr.UserDialogs needs 6 or later anyway. I have Visual Studio 2022 for Mac. I have the latest version that includes net6 and net7. Below is the output of my dotnet --info command. If I try to manually modify the library's project file to net7.0 (as I have in other blazor projects), it says it can't find it. How do I upgrade a Xamarin.Forms cross platform library project from netstandard 2.x to net 7?
Published Date : 2023년 3월 28일 화요일

Samples for Xamarin.iOS projects should be upgraded to .NET SDK-style projects in Xamarin Support Policy - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1191183/samples-for-xamarin-ios-projects-should-be-upgrade I developed a cross-platform applications with Xamarin.iOS.framework and Xamarin.Mac.framework and Mono.framework. I found some anxious information in https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin. I want to know what's the quickest and most effective way to migrate my project to the latest support architecture? and what's the latest support architecture? Can you give me some document description and sample code to speed up my development. It's an urgent issue for me, If there's no a good solution to resolve the issue, I think it will stop my subsequent work。 I look forward to hearing from you. Thanks!
Published Date : 2023년 3월 28일 화요일

Does MAUI support push notification - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/954756/does-maui-support-push-notification Does MAUI preview 6 have option to support or handle push notifications using FCM.
Published Date : 2023년 3월 28일 화요일

AcquireTokenInteractiveParameterBuilder.WithParentActivityOrWindow Method (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.acquiretokeninteractiveparameterbuilder.withparentactivityorwindow Sets a reference to the IntPtr to a window that triggers the browser to be shown. Used to center the browser that pop-up onto this window. The center of the screen or the foreground app if a value is configured.
Published Date : 2023년 3월 28일 화요일

PublicClientApplicationBuilder.WithParentActivityOrWindow Method (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.publicclientapplicationbuilder.withparentactivityorwindow Sets a reference to the IntPtr to a window that triggers the browser to be shown. Used to center the browser that pop-up onto this window.
Published Date : 2023년 3월 28일 화요일

MsalError.FailedToAcquireTokenSilentlyFromBroker Field (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.msalerror.failedtoacquiretokensilentlyfrombroker Failed to acquire token silently. Used in broker scenarios. What happens you called AcquireTokenSilent(IEnumerable<String>, IAccount) or AcquireTokenSilent(IEnumerable<String>, String) and your mobile (Xamarin) application leverages the broker (Microsoft Authenticator or Microsoft Company Portal), but the broker was not able to acquire the token silently. Mitigation Call AcquireTokenInteractive(IEnumerable<String>)
Published Date : 2023년 3월 28일 화요일

MsalError.FailedToGetBrokerResponse Field (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.msalerror.failedtogetbrokerresponse What happens?You are trying to authenticate with the broker but MSAL is unable to read the response from the broker. MitigationThe currently installed broker may not support MSAL.Xamarin, you need to ensure that you have installed either Intune Company Portal (5.0.4689.0 or greater) or Microsoft Authenticator (6.2001.0140 or greater). see https://aka.ms/Brokered-Authentication-for-Android"
Published Date : 2023년 3월 28일 화요일

Microsoft Authentication Library for .NET - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/ Learn how you can use the Microsoft Authentication Library for .NET (MSAL.NET) to acquire tokens from the Microsoft identity platform and access protected web APIs.
Published Date : 2023년 3월 28일 화요일

UIParent.IsSystemWebviewAvailable Method (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.uiparent.issystemwebviewavailable Checks Android device for chrome packages. Returns true if chrome package for launching system webview is enabled on device. Returns false if chrome package is not found.
Published Date : 2023년 3월 28일 화요일

IClientApplicationBase.RedirectUri Property (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.iclientapplicationbase.redirecturi The redirect URI (also known as Reply URI or Reply URL), is the URI at which Azure AD will contact back the application with the tokens. This redirect URI needs to be registered in the app registration (https://aka.ms/msal-net-register-app) In MSAL.NET, PublicClientApplication define the following default RedirectUri values: urn:ietf:wg:oauth:2.0:oob for desktop (.NET Framework and .NET Core) applicationsmsal{ClientId} for Xamarin iOS and Xamarin Android (as this will be used by the system web browser by default on these platforms to call back the application) These default URIs could change in the future. In ConfidentialClientApplication, this can be the URL of the web application / web API.
Published Date : 2023년 3월 28일 화요일

MsalError.NetworkNotAvailableError Field (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.msalerror.networknotavailableerror The request could not be preformed because the network is down. Mitigation [App development] In the application you could either inform the user that there are network issues or retry later
Published Date : 2023년 3월 28일 화요일

UIParent Class (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.uiparent Learn more about the Microsoft.Identity.Client.UIParent in the Microsoft.Identity.Client namespace.
Published Date : 2023년 3월 28일 화요일

ClientApplicationBase.RedirectUri Property (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.clientapplicationbase.redirecturi The redirect URI (also known as Reply URI or Reply URL), is the URI at which Azure AD will contact back the application with the tokens. This redirect URI needs to be registered in the app registration (https://aka.ms/msal-net-register-app). In MSAL.NET, PublicClientApplication define the following default RedirectUri values: https://login.microsoftonline.com/common/oauth2/nativeclient for desktop (.NET Framework and .NET Core) applicationsmsal{ClientId} for Xamarin iOS and Xamarin Android (as this will be used by the system web browser by default on these platforms to call back the application) These default URIs could change in the future. In Microsoft.Identity.Client.ConfidentialClientApplication, this can be the URL of the web application / web API.
Published Date : 2023년 3월 28일 화요일

Testing applications using MSAL.NET - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/advanced/testing-apps-using-msal How to test applications that use MSAL.NET for token acquisition.
Published Date : 2023년 3월 28일 화요일

Client credential flows in MSAL.NET - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/web-apps-apis/client-credential-flows MSAL is a multi-framework library. Confidential Client flows are not available on mobile platforms (UWP, Xamarin.iOS, and Xamarin.Android) since there is no secure way of deploying a secret there.
Published Date : 2023년 3월 28일 화요일

PublicClientApplication.AcquireTokenAsync Method (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.publicclientapplication.acquiretokenasync Interactive request to acquire token for a given login, with the possibility of controlling the user experience, passing extra query parameters, providing extra scopes that the user can pre-consent to, and overriding the authority pre-configured in the application
Published Date : 2023년 3월 28일 화요일

IPublicClientApplication Interface (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.ipublicclientapplication Interface to be used with desktop or mobile applications (Desktop / UWP / Xamarin.iOS / Xamarin.Android). public client applications are not trusted to safely keep application secrets, and therefore they only access web APIs in the name of the user only. For details see https://aka.ms/msal-net-client-applications.
Published Date : 2023년 3월 28일 화요일

Creating configuration for InTune Mobile App Management conditional access - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/how-to/create-config-for-mam-conditional-access This scenario includes a backend application, and an iOS and Android client applications. This article describes the steps to correctly configure these applications for InTune MAM.
Published Date : 2023년 3월 28일 화요일

ClientApplicationBase Class (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.clientapplicationbase Abstract class containing common API methods and properties. Both PublicClientApplication and ConfidentialClientApplication extend this class. For details see https://aka.ms/msal-net-client-applications
Published Date : 2023년 3월 28일 화요일

IClientApplicationBase Interface (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.iclientapplicationbase Abstract class containing common API methods and properties. Both PublicClientApplication and ConfidentialClientApplication extend this class. For details see https://aka.ms/msal-net-client-applications.
Published Date : 2023년 3월 28일 화요일

PublicClientApplicationBuilder Class (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.publicclientapplicationbuilder Learn more about the Microsoft.Identity.Client.PublicClientApplicationBuilder in the Microsoft.Identity.Client namespace.
Published Date : 2023년 3월 28일 화요일

ConfidentialClientApplication Class (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.confidentialclientapplication Class to be used for confidential client applications (web apps, web APIs, and daemon applications).
Published Date : 2023년 3월 28일 화요일

PublicClientApplication Class (Microsoft.Identity.Client) - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.publicclientapplication Abstract class containing common API methods and properties. For details see https://aka.ms/msal-net-client-applications
Published Date : 2023년 3월 28일 화요일

지원 되는 .NET 구현 - EF Core

https://learn.microsoft.com/ko-kr/ef/core/miscellaneous/platforms Entity Framework Core 버전에서 지원되는 플랫폼 정보
Published Date : 2023년 3월 27일 월요일

No way to get, or calculate, magnetic declination using xamarin essentials? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/578176/no-way-to-get-or-calculate-magnetic-declination-us Essentials Compass- gets me true north. Essentials Magnetometer gets me X, Y, Z. Is X,Y,Z, the magnetic declination, if so, how to use it\convert it (is x the declination?)? You can go to https://www.ngdc.noaa.gov/geomag/calculators/mobileDeclination.shtml (on PC, it says that you should be using mobile device), and it shows me the declination where I am located. Not sure how to get this app on my Android phone (S21+), but anyway, really don't want to have to access online app to get this information to use in my own app. Is there no way of getting this information in Xamarin forms? Thanks.
Published Date : 2023년 3월 27일 월요일

Xamarin forms invoking javascript from webview - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1191938/xamarin-forms-invoking-javascript-from-webview The android project in the sample as described in this article does not work. The iOS project works exactly as described in the article. The Android does nothing. https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/webview?tabs=macos This is kind of urgent as we need this functionality.
Published Date : 2023년 3월 27일 월요일

This App Bundle contains native code - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/238871/this-app-bundle-contains-native-code Hi, I am getting this error while uploading my Xamarin Forms' android app to the Google Play Console. This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. How can I fix it please? Thanks, Jassim
Published Date : 2023년 3월 27일 월요일

How to display message as invoked - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1188808/how-to-display-message-as-invoked Hello i have a list of sunset for each day for a period of a month like the date and time sunset i would like to check every seconds if sunset time has arrived and then display a message. i implemented using a timer but the message is not displayed I forgot to mention it's in xamarin android When i launch the app let say 2 minutes before sunset string "before sunset" is displayed but when sunset time arrived the string doesn't change Thanks
Published Date : 2023년 3월 27일 월요일

how to Clear Cookies not working on WebAuthenticator when Sign out - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1183517/how-to-clear-cookies-not-working-on-webauthenticat I am using Open ID Connect for sign in/out. i follow this link https://community.abp.io/posts/integrating-maui-client-via-using-openid-connect-aqjjwsdf After successful sign in, i sign out, then sign in again WebAuthenticator automatically logs me in with the first account. i think cookies is not be clear. i try to use some way but all doesn't work https://github.com/xamarin/Xamarin.Forms/issues/12999 https://github.com/xamarin/Essentials/issues/1712 please help me or give me other workaround for this thanks
Published Date : 2023년 3월 26일 일요일

Identity/Authentication between ASP.Net MVC and Xamarin.Forms - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/386029/identity-authentication-between-asp-net-mvc-and-xa Hi All, Just wondering if anyone has information on the best way to integrate Identity/Authentication ASP.NET MVC and Xamarin. I've created a standard ASP.NET Core application using the latest framework with Individual Accounts, I would like to create a Xamarin.Forms application that uses the same database, and be able to manipulate this data as well for registering and sign in. I can't seem to find any tutorials or documentation about this other than implementing an ASP.NET Web API application with Xamarin. So I'm left wondering if I should convert my MVC App into a .NET Framework with Web API, so I can just follow the tutorials directly. Thanks in advance!
Published Date : 2023년 3월 26일 일요일

Opening hyperlink in browser - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1192934/opening-hyperlink-in-browser My first take with Andriod I'm looking to open a link in an email in browser, like the screenshot. Other apps are listed and I wish to bring include my app as well... Any reference link or how to do helpers will be very help I am using C# Visual Studio Xamarin thanks
Published Date : 2023년 3월 25일 토요일

Using MSAL.NET with UWP applications - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/desktop-mobile/uwp How to build MSAL.NET applications on the Universal Windows Platform.
Published Date : 2023년 3월 24일 금요일

Using MSAL.NET to sign-in users with social identities - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/desktop-mobile/social-identities You can use MSAL.NET to sign-in users with social identities by using Azure AD B2C. Azure AD B2C is built around the notion of policies. In MSAL.NET, specifying a policy translates to providing an authority.
Published Date : 2023년 3월 24일 금요일

Token Acquisition - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/overview Learn how to acquire security tokens in public and confidential client applications using MSAL.NET
Published Date : 2023년 3월 24일 금요일

클라이언트 애플리케이션 구성(MSAL) - Microsoft Entra

https://learn.microsoft.com/ko-kr/azure/active-directory/develop/msal-client-application-configuration MSAL(Microsoft 인증 라이브러리)을 사용하는 공용 클라이언트 및 기밀 클라이언트 애플리케이션에 대한 구성 옵션을 알아봅니다.
Published Date : 2023년 3월 24일 금요일

如何和在MAUI程序中订阅android的广播消息。 - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1184499/maui-android 以前在xamarin中可以通过 activity.RegisterReceiver(receiver, new IntentFilter("com.xamarin.example.TEST"));来订阅系统广播,或其他app的广播消息。请问在MAUI中怎么订阅呢?谢谢。
Published Date : 2023년 3월 24일 금요일

Using MSAL.NET With MAUI and Xamarin - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/desktop-mobile/xamarin Using MSAL.NET With MAUI and Xamarin Article 03/24/2023 2 minutes to read 1 contributor Feedback In this article How to configure brokers for Xamarin apps for use with Intune Android/iOS Emulator vs Device testing with MSAL MAUI and Xamarin Android How to migrate Xamarin ADAL apps to MSAL for Android
Published Date : 2023년 3월 24일 금요일

Known issues with MSAL.NET - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/resources/known-issues See Xamarin Android system browser considerations for using MSAL.NET iOS Please see Xamarin iOS Considerations.
Published Date : 2023년 3월 24일 금요일

MSAL.NET scenarios - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/getting-started/scenarios Learn the application scenarios and authentication flows supported by MSAL.NET
Published Date : 2023년 3월 24일 금요일

Prerequisites to build MSAL.NET - Microsoft Authentication Library for .NET

https://learn.microsoft.com/en-us/entra/msal/dotnet/contribute/prerequisites-to-build "{System.TypeLoadException: Could not set up parent class, due to: Could not load type of field 'Microsoft.Identity.Core.UI.WebviewBase:asWebAuthenticationSession' (5) due to: Could not resolve type with token 0100004c from typeref (expected class 'AuthenticationServices.ASWebAuthenticationSession' in assembly 'Xamarin
Published Date : 2023년 3월 24일 금요일

.NET 다중 플랫폼 앱 UI(.NET MAUI) 문서: 2023년 2월의 새로운 기능 - .NET MAUI

https://learn.microsoft.com/ko-kr/dotnet/maui/whats-new/dotnet-docs-maui-mod2 2023년 2월 .NET 다중 플랫폼 앱 UI(.NET MAUI) 문서의 새로운 기능
Published Date : 2023년 3월 24일 금요일

How can I send a raw message in .net maui for android, no compiling sample found - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1192812/how-can-i-send-a-raw-message-in-net-maui-for-andro Hello, I would like to find a sample project in .net MAUI for android to send a raw message via USB, no compiling sample found. I found this project which work well on pAX IM30 Android 7.1 : https://github.com/kai-morich/SimpleUsbTerminal I would like to do the same stuff in .net MAUI. thank you for your help Julien
Published Date : 2023년 3월 24일 금요일

how to display SVG image with tint color changed during runtime in xamarin forms ? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/420912/how-to-display-svg-image-with-tint-color-changed-d I want to display SVG image with tint color changed during runtime in Xamarin forms I used many plaguin and none of them displayed me the image
Published Date : 2023년 3월 24일 금요일

ASP.NET Core Blazor Hybrid 인증 및 권한 부여

https://learn.microsoft.com/ko-kr/aspnet/core/blazor/hybrid/security/ Blazor Hybrid 인증 및 권한 부여 시나리오에 대해 알아봅니다.
Published Date : 2023년 3월 24일 금요일

How do I fix APT206 - failed linking file resources and APT2259 'textEnd' is incompatible with attribute iconGravity errors? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1191203/how-do-i-fix-apt206-failed-linking-file-resources I have a Xamarin Forms application that I am migrating to MAUI and I am getting the following 2 errors during compilation. APT2259 'textEnd' is incompatible with attribute iconGravity (attr) flags [start=1, textStart=2]. APT2061 failed linking file resources. Based on a previous similar post, I have performed the recommended actions such as: Ensure all SDKs are up-to-date, close VS 2022 and delete the bin and obj directories and rebuild but this has not worked I'm not sure if this error is indicating a missing or not compatible Xamarin library. The APT2259 is occurring in a file called "mtrl_calendar_month_navigation.xml" on line 33 (style="?attr/materialCalendarYearNavigationButton") The APT2061 is occurring on line 156 in the Xamarin build tools (outside the project) C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Aapt2.targets Here is a list of packages for the project Thank you in advance.
Published Date : 2023년 3월 24일 금요일

UI 라이브러리를 사용한 플랫폼 간 개발 - An Azure Communication Services sample overview

https://learn.microsoft.com/ko-kr/azure/communication-services/samples/ui-library-cross-platform .NET MAUI, Xamarin 및 React Native 개발자가 모바일 애플리케이션을 호출하는 통신을 빌드할 수 있도록 UI 라이브러리를 사용하는 플랫폼 간 개발 솔루션
Published Date : 2023년 3월 23일 목요일

Inconsistent Deployment Errors - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/745229/inconsistent-deployment-errors I am attempting to create a Xamarin.Android app using Visual Studio 2022 Version 17.1.0. I inconsistently (even if I have not changed any code or configuration) receive the following error: There were deployment errors. Continue? The Output window gives no useful information, so I have no idea where to look for more information on the problem. I have not found anything online that seems to help. I am having this problem on the following devices (and I probably would on others as well): Emulator in Visual Studio 2022 Surface Duo Samsung Galaxy S10e What is the problem?
Published Date : 2023년 3월 23일 목요일

.NET 다중 플랫폼 앱 UI 설명서 - .NET MAUI

https://learn.microsoft.com/ko-kr/dotnet/maui/ .NET 다중 플랫폼 앱 UI(.NET MAUI)를 사용하면 Android, iOS, macOS, Windows 및 Tizen의 모바일 및 데스크톱 폼 팩터를 대상으로 하는 .NET 플랫폼 간 UI 도구 키트를 사용하여 네이티브 앱을 빌드할 수 있습니다.
Published Date : 2023년 3월 23일 목요일

.NET MAUI iOS 앱에 대한 자동 프로비저닝 - .NET MAUI

https://learn.microsoft.com/ko-kr/dotnet/maui/ios/device-provisioning/automatic-provisioning 자동 프로비저닝을 사용하여 .NET MAUI iOS 앱에 대한 개발 인증서 및 프로필을 요청하는 방법을 알아봅니다.
Published Date : 2023년 3월 23일 목요일

명령줄을 사용하여 .NET MAUI iOS 앱 게시 - .NET MAUI

https://learn.microsoft.com/ko-kr/dotnet/maui/ios/deployment/publish-cli 명령줄을 사용하여 .NET MAUI iOS 앱을 게시하고 서명하는 방법을 알아봅니다.
Published Date : 2023년 3월 23일 목요일

.NET에서 테스트 - .NET

https://learn.microsoft.com/ko-kr/dotnet/core/testing/ 이 문서에서는 .NET에서 테스트하기 위한 테스트 개념, 용어 및 도구에 대한 간략한 개요를 제공합니다.
Published Date : 2023년 3월 23일 목요일

Does .NET MAUI support WPF? - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/850625/does-net-maui-support-wpf As we know we can create UWP applications in MAUI, Please let me know can we create WPF applications In .net MAUI, If there is any possibility please let us know what is the approach for that. [Goal clarification edited in from comment --RC] We have developed an application which is Kvaser(Cable) hardware support application which supports only WPF applications. We have done this in Xamarin Forms by adding Windows Application project and referencing UWP application to Windows Application and we are communicating using App Service Connection the solutions we have done is working fine in Xamarin Forms. Now we are planning to migrate Xamarin Forms to .NET MAUI, Is there any work around to achieve the same solution in MAUI.
Published Date : 2023년 3월 23일 목요일

UIButtonConfiguration problem updating UIButton - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1186993/uibuttonconfiguration-problem-updating-uibutton I have a Xamarin.iOS app that uses the new UIButtonConfiguration API for styling buttons. I have a problem with updating the button fields in code, such as color and title. I'm using VS Mac 17.5, Xcode 14.2, Xamarin.iOS 16.2. I've tried the below methods to update the button; neither of the titles and neither of the colors are applied. What could be the problem?
Published Date : 2023년 3월 23일 목요일

APT2144 invalid file path error in file Xamarin.Android.Aapt2.targets. Error message gives a file path, which I can find using File Explorer. Help on error message says it can't be found - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1192034/apt2144-invalid-file-path-error-in-file-xamarin-an C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Aapt2.targets(123,3): error APT2144: invalid file path 'D:\PAPAI\MyProject\SurfMobile_V3\SurfMobile_V3\obj\Debug\net7.0-android\res\resources\styles\styles.xaml'. 1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Aapt2.targets(123,3): error APT2144: invalid file path 'D:\PAPAI\MyProject\SurfMobile_V3\SurfMobile_V3\obj\Debug\net7.0-android\res\resources\styles\colors.xaml'.
Published Date : 2023년 3월 23일 목요일

SqliteDB location - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1191771/sqlitedb-location I have an application in xamarin forms and I use SQLite to create a database and store all my data but I can't find my database. I've tried using adb but when I am pulling the file that was meant to have my database the adb says pulled successfully 0 files. here is where the database was meant to be stored but there is nothing in there. string databasepath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "sqlitedatbase.db3");
Published Date : 2023년 3월 22일 수요일

iOS 개발을 위해 Mac에 페어링 - .NET MAUI

https://learn.microsoft.com/ko-kr/dotnet/maui/ios/pair-to-mac Mac에 페어링을 사용하여 Visual Studio 2022를 Mac 빌드 호스트에 연결하는 방법을 알아봅니다. 이 문서에서는 Mac에서 원격 로그인을 사용하도록 설정하고, Visual Studio 2022에서 Mac에 연결하고, Mac 빌드 호스트를 Windows 컴퓨터에 수동으로 추가하는 방법을 설명합니다.
Published Date : 2023년 3월 22일 수요일

Azure Cognitive Services SDK for .NET - Azure for .NET Developers

https://learn.microsoft.com/en-us/dotnet/api/overview/azure/cognitive-services Reference for Azure Cognitive Services SDK for .NET
Published Date : 2023년 3월 22일 수요일

방화벽 또는 프록시 서버 뒤에 설치 및 사용 - Visual Studio (Windows)

https://learn.microsoft.com/ko-kr/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server 조직에서 방화벽 또는 프록시 서버를 사용하는 경우 허용 목록에 추가하거나 열려는 도메인 URL, 포트 및 프로토콜을 검토합니다.
Published Date : 2023년 3월 22일 수요일

Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicaates why we could not resolve the SDK - Microsoft Q&A

https://learn.microsoft.com/en-us/answers/questions/1190980/could-not-resolve-sdk-microsoft-net-sdk-exactly-on I am currently having this error in Xamarin, in compiling my project. It has an error after creating my first project in Xamarin. (DOES NOT SHOW MAINPAGE.XAML PASTE). I tried the following steps to fix this issue: 1 - Repair my Visual Studio 2 - Uninstall my Visual Studio and Install again 3 - File changes inside my File Explorer. 4 - I created a MainPage.xaml page, but it doesn't work 5 - I already have updated jdk and sdk 6 - I didn't change the PATH path, I couldn't.
Published Date : 2023년 3월 22일 수요일