Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure.Communication.Calling.WindowsClient crashes under .net 8 #7840

Open
kwende opened this issue Aug 5, 2024 · 0 comments
Open

Azure.Communication.Calling.WindowsClient crashes under .net 8 #7840

kwende opened this issue Aug 5, 2024 · 0 comments
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-triage Workflow: This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@kwende
Copy link

kwende commented Aug 5, 2024

Current Behavior:

When running a sample written using Azure.Communication.Calling.WindowsClient, the application will crash the moment CallClient is instantiated. The exception is: The type initializer for 'WinRT.ActivationFactory`1' threw an exception.

Expected Behavior:

It should not crash, but be instantiated fine under .net 8.

Steps to Reproduce:

  1. Go to https://github.com/kwende/WindowsAcsBug.
  2. Set breakpoint here: https://github.com/kwende/WindowsAcsBug/blob/main/Dotnet8/MainWindow.xaml.cs#L84.
  3. Run in Debug/Release (Unpackaged)
  4. You'll get the exception.
@github-actions github-actions bot added Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-triage Workflow: This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-triage Workflow: This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

1 participant