dotnet / dotnet/machinelearning-modelbuilder

The method or operation is not implemented when add console app to solution

Aperta
#2,969 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Dockerfile
Stelle
285
Fork
66
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**System Information (please complete the following information):**
- Model Builder Version (available in Manage Extensions dialog): 17.18.4.2425601
- Visual Studio Version 17.11.2

**Describe the bug**
- On which step of the process did you run into an issue: Consume
- Clear description of the problem:
- Clicking on "Add console app"
- Enter a unique file name with no special characters
- Click Ok
- Model Builder Error popup "The method or operation is not implemented"

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
Add a console app without throwing an error.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Already uninstalled and reinstalled Model Builder.

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteGenericProject.GetFileName()
at Microsoft.VisualStudio.CommonIDE.Solutions.Dte.IdeAutomationObject`1.<>c__DisplayClass23_0`1.<b__1>d.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.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()
at Microsoft.ML.ModelBuilder.VsProjectSystem.d__22.MoveNext() in /_/src/Microsoft.ML.ModelBuilder/VsProjectSystem.cs:line 85
--- 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.GetResult()
at Microsoft.ML.ModelBuilder.ToolWindows.ConsumeViewModel.d__47.MoveNext() in /_/src/Microsoft.ML.ModelBuilder/ViewModels/ConsumeViewModel.cs:line 307

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia da src/Microsoft.ML.ModelBuilder/VsProjectSystem.cs:85 e segui la chiamata da src/Microsoft.ML.ModelBuilder/ViewModels/ConsumeViewModel.cs:307. Riproduci il flusso Consume scegliendo Add console app, quindi analizza l'errore relativo alla chiamata Visual Studio DTE GetFileName. Il lavoro è completato quando l'applicazione console viene aggiunta alla soluzione senza il popup di errore.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
devtools
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.