Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Build failed for Samples.sln on VS 2015 #919

@Chinese-Xu

Description

@Chinese-Xu

What would you like to submit? (put an 'x' inside the bracket that applies)

  • question
  • bug report
  • feature request

Issue description
Visual Studio 2015 with .NET 4.6.2
Build failed for project "1.1. Binary" under "framework\Samples\Tutorials\1. Classification".

In Progran.cs line 76

// Read the sparse inputs and outputs from the file
var (inputs, outputs) = reader.ReadSparseToEnd();

Error message:
Severity Code Description Project File Line Suppression State
Error CS0103 The name 'var' does not exist in the current context 1.1. Binary D:\WorkSpace\framework\Samples\Tutorials\1. Classification\1.1. Binary\Program.cs 76 Active
Error CS0103 The name 'inputs' does not exist in the current context 1.1. Binary D:\WorkSpace\framework\Samples\Tutorials\1. Classification\1.1. Binary\Program.cs 76 Active

The syntax at line 76 may supported from .NET4.7/C#7.

We should find out some way to avoid confusing new user which still working on VS2015.

Thanks,
Wiley Xu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions