You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (janpio) (JIRA)" <ji...@apache.org> on 2019/07/05 13:03:00 UTC

[jira] [Closed] (CB-7851) Windows: Cannot create project specific files in the CLI generated Universal App in Visual Studio

     [ https://issues.apache.org/jira/browse/CB-7851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Piotrowski (janpio) closed CB-7851.
---------------------------------------
    Resolution: Auto Closed

If this is still a problem, please recreate the issue over at [https://github.com/apache/cordova-windows.] Thanks.
 

> Windows: Cannot create project specific files in the CLI generated Universal App in Visual Studio
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-7851
>                 URL: https://issues.apache.org/jira/browse/CB-7851
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows
>    Affects Versions: 4.0.0, 3.6.3
>         Environment: Windows 8.1
>            Reporter: Ashwin Desai
>            Priority: Major
>         Attachments: TestCordova4.zip
>
>
> Currently, there is no way (short of managing the jsproj and projitems files manually) to add a platform specific file in the CLI generated Universal app project. 
> I created a project using the cordova CLI and added the windows platform. It creates 4 projects as described in the documentation including one for the shared assets. 
> I added a file to the CordovaApp.WindowsPhone project using Visual Studio 2013 Update 3. I am expecting that this file is added to the WindowsPhone project only; but, it gets shared across all project which is not desirable. 
> In short, adding a file to CordovaApp.Windows and CordovaApp.WindowsPhone projects would effectively share the file to the other projects in the solution. 
> I compared this behaviour to a Javascript template based Universal app created without Cordova and it works fine i.e. you can add project specific files without them being shared automatically. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org