Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

Duplicate errors in the error list window when produce outputs on build checked. #1722

Closed
@BillHiebert

Description

@BillHiebert

Extra errors are shown when you enable produce outputs on build. Without this checkbox set, the design time host builds returns us the framework that the error belongs to and we format the error message to include this in the msbuild subtype field. This is later picked up by our project system and we push those errors into the corresponding language service which will unify it with existing errors. For produce outputs on build the framework information is not present so we don't know the language svc to pass them to. The fix is for the produce outputs on build to leverage the subtype field of an msbuild canonical error.

The highlighted is missing in the typical error message. If the command line builds wrote the friendly framework name here this would just work. C:\Users\billhie\documents\visual studio 14\Projects\ConsoleApp1\src\ConsoleApp1\Program.cs(12,25,12,34): DNX 4.5.1 error CS0246: The type or namespace name 'MailChimp' could not be found (are you missing a using directive or an assembly reference?)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions