Skip to content

VS Code Doesn't honor "nowarn" in project.json for CS1591 disabling xmlDoc comments #542

@greghroberts

Description

@greghroberts

Environment data

dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003121)

Product Information:
Version: 1.0.0-preview2-003121
Commit SHA-1 hash: 1e9d529bc5

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64

VS Code version:
Version 1.2.1 (1.2.1)

C# Extension version:
1.2.1

Steps to reproduce

Set build options to:

"buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true,
    "warningsAsErrors": true,
    "nowarn": [
      "CS1591"
    ],
    "xmlDoc": true
  },

Expected behavior

public class and properties should not have a red squiggly.

Actual behavior

Red squiggly.
image

Metadata

Metadata

Assignees

Labels

BugfixedFixed and available in the stable version of C# Extension.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions