[ https://issues.apache.org/jira/browse/CB-6699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017954#comment-14017954 ]
Jesse MacFadyen commented on CB-6699: ------------------------------------- The bottom line is, the project format can become out of sync. If you add a step 6 which is to install a plugin ( assuming the wildcard implementation ) You get : <Content Include="www\**" /> + all the content VS already expanded Which will build just fine, but is a complete mess to any user who opens it. > Cordova-cli / plugman add <Content> tag for each entry in www dir to windows8 > / wp8 .jsproj files > ------------------------------------------------------------------------------------------------- > > Key: CB-6699 > URL: https://issues.apache.org/jira/browse/CB-6699 > Project: Apache Cordova > Issue Type: Improvement > Components: CLI, Plugman, Windows 8, WP8 > Reporter: Vladimir Kotikov > Assignee: Jesse MacFadyen > Labels: cli, cordova-lib, windows8, wp8 > Attachments: VSProj.PNG > > > Every time, when you trigger `cordova prepare/build` or `plugman > install/uninstall/prepare` (this also `include cordova plugin add/rm`), > cordova removes all references to www/* files from .jsproj file and then adds > tags like {noformat} > <ItemGroup> > <Content Include="www\index.html" /> > </ItemGroup> > {noformat} > to .jsproj file. > *Proposal:* We can use one entry like {noformat} > <ItemGroup> > <Content Include="www\**" /> > </ItemGroup> > {noformat} for all files in www folder including static assets and plugins' > .js modules (like described > [here|http://msdn.microsoft.com/en-us/library/ms171454.aspx]) -- This message was sent by Atlassian JIRA (v6.2#6252)