- [x] bug report
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Download the sample, open on Visual Studio, Debug, Click Open Image button.
Any log messages given by the failure
Exception thrown: 'System.NullReferenceException' in SimplestTestApp.exe
Expected/desired behavior
No Exception
OS and Version?
Windows 10 Pro Build 18362.356
Versions
Windows 10
Mention any other details that might be useful
MainPage.xaml.cs, line 71 returns null.
learningModel = await LearningModelPreview.LoadModelFromStorageFileAsync(file);
Visual Studio Info
Microsoft Visual Studio Enterprise 2019 Preview
Version 16.3.0 Preview 2.0
VisualStudio.16.Preview/16.3.0-pre.2.0+29209.152
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Enterprise
Visual C++ 2019 00435-60000-00000-AA927
Microsoft Visual C++ 2019
ADL Tools Service Provider 1.0
This package contains services used by Data Lake tools
Application Insights Tools for Visual Studio Package 9.1.00611.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2019 16.3.205.56800
ASP.NET and Web Tools 2019
ASP.NET Core Blazor Language Services 16.0.19227.01
ASP.NET Web Frameworks and Tools 2019 16.3.205.56800
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 16.3.205.56800
Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.3.9000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 16.3.205.56800
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.3.9000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools 3.3.0-beta3-19407-03+d961190a1b4b2a81ac178b567840dfeff048b037
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus 1.2.0 (d16-2@8b56e20)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
GitHub.VisualStudio 2.9.1.7781
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft Azure HDInsight Azure Node 2.3.9000.0
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.3.9000.0
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 2.5
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.3.9000.0
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node 1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 0x10 - v2.9.20726.1
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 1.0
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio 16.3.7 (9d260c5)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 5.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools 16.0.61907.31040
Microsoft SQL Server Data Tools
Start Without Debugging 1.2
Adds "Start Without Debugging" ("Run") command to Solution Explorer context menu
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript Tools 16.0.10802.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.3.0-beta3-19407-03+d961190a1b4b2a81ac178b567840dfeff048b037
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.4 for F# 4.6 16.3.0-beta.19381.3+8e8a754ab056dc16f6dda49110fe8729d1bbabc9
Microsoft Visual F# Tools 10.4 for F# 4.6
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Xamarin 16.3.0.179 (d16-3@8669bd4)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 16.3.0.122 (remotes/origin/d16-3@a187bbc98)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 16.3.536 (069a02b)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
MainPage.xaml.cs, line 71 returns null. learningModel = await LearningModelPreview.LoadModelFromStorageFileAsync(file);
Visual Studio Info
Microsoft Visual Studio Enterprise 2019 Preview Version 16.3.0 Preview 2.0 VisualStudio.16.Preview/16.3.0-pre.2.0+29209.152 Microsoft .NET Framework Version 4.8.03752
Installed Version: Enterprise
Visual C++ 2019 00435-60000-00000-AA927 Microsoft Visual C++ 2019
ADL Tools Service Provider 1.0 This package contains services used by Data Lake tools
Application Insights Tools for Visual Studio Package 9.1.00611.1 Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2019 16.3.205.56800 ASP.NET and Web Tools 2019
ASP.NET Core Blazor Language Services 16.0.19227.01
ASP.NET Web Frameworks and Tools 2019 16.3.205.56800 For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 16.3.205.56800 Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0 This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.3.9000.0 Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 16.3.205.56800 Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.3.9000.0 Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools 3.3.0-beta3-19407-03+d961190a1b4b2a81ac178b567840dfeff048b037 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus 1.2.0 (d16-2@8b56e20) Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
Fabric.DiagnosticEvents 1.0 Fabric Diagnostic Events
GitHub.VisualStudio 2.9.1.7781 A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
IntelliCode Extension 1.0 IntelliCode Visual Studio Extension Detailed Info
Microsoft Azure HDInsight Azure Node 2.3.9000.0 HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.3.9000.0 Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 2.5 Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.3.9000.0 Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node 1.0 Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools 2.9 Microsoft Azure Tools for Microsoft Visual Studio 0x10 - v2.9.20726.1
Microsoft Continuous Delivery Tools for Visual Studio 0.4 Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 1.0 Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0 Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.1 Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0 Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio 16.3.7 (9d260c5) Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 5.3.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension 1.0 ProjectServicesPackage Visual Studio Extension Detailed Info
Snapshot Debugging Extension 1.0 Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools 16.0.61907.31040 Microsoft SQL Server Data Tools
Start Without Debugging 1.2 Adds "Start Without Debugging" ("Run") command to Solution Explorer context menu
ToolWindowHostedEditor 1.0 Hosting json editor into a tool window
TypeScript Tools 16.0.10802.2001 TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.3.0-beta3-19407-03+d961190a1b4b2a81ac178b567840dfeff048b037 Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.4 for F# 4.6 16.3.0-beta.19381.3+8e8a754ab056dc16f6dda49110fe8729d1bbabc9 Microsoft Visual F# Tools 10.4 for F# 4.6
Visual Studio Code Debug Adapter Host Package 1.0 Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Containers 1.0 Visual Studio Tools for Containers
VisualStudio.Mac 1.0 Mac Extension for Visual Studio
Xamarin 16.3.0.179 (d16-3@8669bd4) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 16.3.0.122 (remotes/origin/d16-3@a187bbc98) Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 16.3.536 (069a02b) Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 10.0.0.4 (d16-3/a1f7825) Xamarin.Android Reference Assemblies and MSBuild support. Mono: mono/mono/2019-06@17ac7dcfc74 Java.Interop: xamarin/java.interop/d16-3@5836f58 LibZipSharp: grendello/LibZipSharp/d16-3@71f4a94 LibZip: nih-at/libzip/rel-1-5-1@b95cf3f ProGuard: xamarin/proguard/master@905836d SQLite: xamarin/sqlite/3.27.1@8212a2d Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-3@cb41333
Xamarin.iOS and Xamarin.Mac SDK 12.16.1.9 (a12e76f) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.