dotnet / dotnet/templating

`//-:cnd:noEmit` is preserved between files

Open
#3,150 1 comment 0 reactions 0 assignees View on GitHub
area: authoring bug Priority:2 triage:transfer-to-sdk triaged
Dominant language
No language data
Stars
1.7k
Forks
399
Avg merge
3d 5h
Merged PRs (30d)
39

Description

Yes, reading the documentation it is clear that what I need is `//-:cnd:noEmit`
But please notice that this option apparently is preserved between files, as a `//-:cnd:noEmit` in one file seems to affect other files. (Probably because the `//+:cnd:noEmit` is missing, but then it should at least give an error)

_Originally posted by @Larsjep in https://github.com/dotnet/templating/issues/3085#issuecomment-838526862_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.