Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6699

Cordova-cli / plugman add <Content> tag for each entry in www dir to windows8 / wp8 .jsproj files

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      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

        <ItemGroup>
          <Content Include="www\index.html" />
        </ItemGroup>
      

      to .jsproj file.

      Proposal: We can use one entry like

        <ItemGroup>
          <Content Include="www\**" />
        </ItemGroup>
      

      for all files in www folder including static assets and plugins' .js modules (like described here)

        Attachments

        1. VSProj.PNG
          6 kB
          Jesse MacFadyen

        Issue Links

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              vladimir.kotikov Vladimir Kotikov

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment