Warning: module.txt manifest file cannot have # comments after the Features list.

Topics: Customizing Orchard
Jul 11, 2014 at 11:11 PM
Edited Jul 12, 2014 at 2:32 AM
If we run package create Some.Module c:/temp and receive the error Module or Theme "Some.Module" does not exist in this Orchard installation, then comments in the module.txt file might be the problem.
Name: Some name
AntiForgery: enabled
Author: Shaun Luttin, bigfont.ca
Version: 2.6
OrchardVersion: 1.8
Description: Some description

# These comment are fine
# They are before the features list
Name: Some name
AntiForgery: enabled
Author: Shaun Luttin, bigfont.ca
Version: 2.6
OrchardVersion: 1.8
Description: Some description
Features: 
    Some.Feature:
        Name: Some Feature Name
        Category: Some Feature Category        

# These comments are NOT fine
# They are AFTER the feature list