We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running the following cake script:
Task("Default") .Does(() => { var file = "./SolutionInfo.vb"; var version = "0.0.1"; var buildNo = "123"; var semVersion = string.Concat(version + "-" + buildNo); CreateAssemblyInfo(file, new AssemblyInfoSettings { Product = "SampleProject", Version = version, FileVersion = version, InformationalVersion = semVersion, Copyright = string.Format("Copyright (c) Contoso 2014 - {0}", DateTime.Now.Year), ComVisible = true }); }); RunTarget("Default")
The following file is generated:
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by Cake. ' </auto-generated> '------------------------------------------------------------------------------ Imports System.Reflection Imports System.Runtime.InteropServices <Assembly: AssemblyProduct("SampleProject")> <Assembly: AssemblyVersion("0.0.1")> <Assembly: AssemblyFileVersion("0.0.1")> <Assembly: AssemblyInformationalVersion("0.0.1-123")> <Assembly: AssemblyCopyright("Copyright (c) Contoso 2014 - 2019")> <Assembly: ComVisible(true)>
This is invalid, as this should be True not true for the ComVisible attribute.
True
true
The text was updated successfully, but these errors were encountered:
(cake-buildGH-2637) Fix string rendering of boolean value
18ed6a4
There is a difference between how C# and VB interpret a boolean value. C# uses true/false, where as VB uses True/False
gep13
Successfully merging a pull request may close this issue.
When running the following cake script:
The following file is generated:
This is invalid, as this should be
True
nottrue
for the ComVisible attribute.The text was updated successfully, but these errors were encountered: