Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 1.2 KB

File metadata and controls

15 lines (10 loc) · 1.2 KB

Bug Report Reproduction Project

For: dotnet/templating

Bug Report repo for dotnet/templating showcasing that the TemplateVerificationException reports inconsistent error codes

Bug/issue description

When using the Microsoft.TemplateEngine.Authoring.TemplateVerifier NuGet package to test a template the TemplateVerificationException will report different error codes for the TemplateVerificationErrorCode property compared to the error codes mentioned in both the Message and console output.

The TemplateVerificationErrorCodes enum summary mentions it should correspond to the Error codes from the dotnet/templating projects docs.

This repo contains 2 tests that demonstrate the issue/bug: Run tests