You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Cake Build (.cake) Files Not Supported #2243
help-wantedgood opportunity for contribution to the reposize:2.0triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.
A Cake build file is essentially a C# .cs file. When I run dotnet new nuget --appveyor=true or dotnet new nuget --appveyor=false, the output I always get is:
varfoo=1;varbar=2;
My understanding is that unsupported file types fall back to using # for the comments (which is why I also tried it above). In this case that doesn't seem true. Can support be added?
I've checked the scenario above, and //# syntax work for .cake. I'm adding also support for C# syntax.
Probably the reason why it doesn't work for you, is option syntax - options are case-sensitive, so probably it should be dotnet new nuget --AppVeyor=true (unless you added the synonyms in dotnetcli.host json).
help-wantedgood opportunity for contribution to the reposize:2.0triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.
Activity
vlada-shubina commentedon Jun 29, 2021
We're planning to work on this a bit later, let us know if anyone start working on it, so we don't work on this in parallel.
vlada-shubina commentedon Aug 17, 2021
@RehanSaeed
I've checked the scenario above, and
//#syntax work for.cake. I'm adding also support for C# syntax.Probably the reason why it doesn't work for you, is option syntax - options are case-sensitive, so probably it should be
dotnet new nuget --AppVeyor=true(unless you added the synonyms indotnetcli.host json).fixes dotnet#2243 dotnet#282 additional file format support
fixes dotnet#2243 dotnet#282 additional file format support
fixes dotnet#2243 dotnet#282 additional file format support
fixes dotnet#2243 dotnet#282 additional file format support
fixes dotnet#2243 dotnet#282 additional file format support
fixes dotnet#2243 dotnet#282 additional file format support
fixes dotnet#2243 dotnet#282 additional file format support
fixes #2243 #282 additional file format support
fixes #2243 #282 additional file format support
fixes #2243 #282 additional file format support
fixes dotnet/templating#2243 dotnet/templating#282 additional file fo…
fixes dotnet/templating#2243 dotnet/templating#282 additional file fo…
fixes dotnet/templating#2243 dotnet/templating#282 additional file fo…
fixes dotnet/templating#2243 dotnet/templating#282 additional file fo…