Does cobra support attributes?
If so, where do assembly-level attributes like '[assembly: AssemblyVersion("1.2.5.0")]' go?
Forums
Attribute support in Cobra
2 posts
• Page 1 of 1
Re: Attribute support in Cobra
Yes it supports attributes. See Cobra 0.7.0 release notes.
You should be able to specify assembly level attributes, but I haven't implemented that yet. However, there is another "C# escape hatch" that can be used for this. When you pass files to the Cobra command line, you can include *.cs files and Cobra will simply include them in the final compilation. Like so:
If you want to see the C# compilation line, throw in a "-v:2".
You should be able to specify assembly level attributes, but I haven't implemented that yet. However, there is another "C# escape hatch" that can be used for this. When you pass files to the Cobra command line, you can include *.cs files and Cobra will simply include them in the final compilation. Like so:
- Code: Select all
cobra MyProg.cobra AssemblyAttrs.cs
If you want to see the C# compilation line, throw in a "-v:2".
- Charles
- Posts: 2515
- Location: Los Angeles, CA
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 18 guests