The following code successfully starts a Teams meeting on .net framework, but throws a System.ComponentModel.Win32Exception (The system cannot find the file specified.) when ran on .net core:
using System;
namespace TryToRunMsteams
{
class Program
{
static void Main(string[] args)
{
var msg = "msteams://teams.microsoft.com/l/meetup-join/19%3ameeting_NTIyYmU4ZG...";
System.Diagnostics.Process.Start(msg);
}
}
}
Why is that? it's the same user in both (checked with Environment.UserName).
How can I run a registered-protocol process in .net core?