.NET Core 2.0 Console App: NotImplementedException: The method or operation is not implemented.
See original GitHub issueSeems like PublicClientApplication
does not support .NET Core 2.0 Console App. Why does it call UI components?
at Microsoft.Identity.Client.Internal.UI.WebUIFactory.CreateAuthenticationDialog(UIParent parent, RequestContext requestContext)
at Microsoft.Identity.Client.PublicClientApplication.<AcquireTokenForLoginHintCommonAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.PublicClientApplication.<AcquireTokenAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.HotPot.Tool.Exchange.AuthenticationHelper.<GetTokenForUserAsync>d__7.MoveNext() in D:\WorkSpace\personal\HotPot\src\dev\Tool\Exchange\AuthenticationHelper.cs:line 73
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.HotPot.Tool.Exchange.AuthenticationHelper.<>c.<<GetAuthenticatedClient>b__6_0>d.MoveNext() in D:\WorkSpace\personal\HotPot\src\dev\Tool\Exchange\AuthenticationHelper.cs:line 40
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.BaseRequest.<SendRequestAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.BaseRequest.<SendAsync>d__32`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.MailFolderMessagesCollectionRequest.<GetAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.HotPot.Tool.Exchange.ExchangeClient.<>c__DisplayClass0_0.<<GetCurrentUserFolders>b__0>d.MoveNext() in D:\WorkSpace\personal\HotPot\src\dev\Tool\Exchange\ExchangeClient.cs:line 18
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10 (3 by maintainers)
Top Results From Across the Web
NotImplementedException Class (System)
The NotImplementedException exception indicates that the method or property that you are attempting to invoke has no implementation and therefore provides no ...
Read more >c# - The method or operation is not implemented
OP: If I will remove the throw new NotImplementedException(); and will insert, for example, MessageBox.Show("Test");, every time I will open ...
Read more >The method or operation is not implemented. - YouTube
stg # dotnet System. NotImplementedException : 'The method or operation is not implemented.'
Read more >How do I solve the method is not implemented?
The idea is that the "not implemented exception" reminds you that you haven't written the code yet and makes it easy to locate...
Read more >C# NotImplementedException
The NotImplementedException indicates in a clear way that the functionality being requested was simply not implemented. Example.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jennyf19 Thanks I’ll give it a try.
Closing, please let us know if there are any other questions.