How is package.appxfragment file generated - xaml

I have an existing project and I am trying to create similar setup for new functionality. But there are errors and I see that the different between two is that there is no package.appxfragment file present in my lib project. I am wondering how this file get generated? Do I have to add manually or is it generated automatically?

Related

PhpStorm : Use files from one project in other projects without copying them?

I have one project which contains some PHP services that I use as a template in all my other projects.
Is it possible to add these files to a new project without actually copying them to the new project's directory? Or, they could be copied but I want changes to one of the copies to affect the template.
For example. Template project contains
folder service with files "1.php", "2.php", "3.php"
and folder util with "u1.php" and "u2.php".
I want to use these files in one or more new projects but without copying them.
They should merge with the files of the new project and be treated as if they are in the new project's directory.
If the new project also has a folder "service" with files "4.php" and "5.php" the files 1 2 and 3 from the template should show there too.
And if I were to edit service/1.php in the new project, the original file in the template project would get changed as well.
Is something like this possible?

cordova-ios: plist file not copied from Resources to xcarchive

I'm putting a custom plist file (GoogleService-Info.plist) into my Resources directory, but it isn't getting copied into my built project. I can go into XCode and manually add it through "Copy Bundle Resources", but I need to get this running without manual steps.
I can't just use <resource-file src="src/GoogleService-Info.plist" /> in my plugin.xml because I'm building for a couple different widgetIds - I have 2 versions of this file that I switch out, depending on my widgetId. I have the copying and renaming automated with a hook to get the right file into Resources/GoogleService-Info.plist.
How can I get the file I put into Resources included?
The cordova-ios project has code to get the resource files included in the XCode project files, and you could replicate that, but I ended up with a workaround:
Copied my file to a consistent name in a before_prepare hook
Used a resource-file tag for the new name in my plugin.xml

Intellij, local history is not available for one project, not sure why

I am used to using local history but for one sub project it is simply not available.
The project uses all static files ( css, js, and such ) but I've also tried to create a maven project to try to make it behave like other projects, but I still don't see any local history available for files.
I have also tried to recreat the project from existing sources multiple times and it is the same still.
What could be the issue here?
I am on IDEA 14.1.x

How to include static resources in IntelliJ from external source?

At my work every project ha have two parts:
1. The project itself;
2. A external folder containing the JS, images and css.
We have an automated process that deploys this parts where they have to be. The first one at Weblogic and the second at Tomcat.
What I want to know is if there is a way to include this external folder with the application statics to the IntelliJ so I can edit them inside the IDE.
Now I'm editing the JS and CSS inside Notepad. And it is very annoying.
You can create another project via File -> Import Project, locate the folder of your static resources, then choose "Create project from existing resources".
You will end up with two projects but it should be easy to toggle between the two.

app.config for executing a .exe multiple times with different settings

I'm following the tutorial for http://mscrmshop.blogspot.be/2012/03/how-to-use-crmsvcutil-improved-version.html on autogenerating an XrmServiceContext file for Dynamics CRM 2011 development.
I have a solution with 3 projects. Each project has a slightly different namespace, depending on whether it's for Plugins, Workflows or the web portal. They all share the format company.software.productversion.module, and only module is different. I want to generate 1 file for each project and put them in the appropriate folders, but I only want to build this project once every time I change my CRM configuration, after which it builds 3 context files (1 for each namespace) and places it into the correct folders.
Is there a way to configure the config file for this project so this happens automatically?
There are multiple ways to do this. Probably the simplest is to have three different folders, each containing their own CrmSvcUtil and their own config file. Then in your Post Build Command line (or if you want to run it manually create a batch file), enter the paths to your 3 different CrmSvcUtil's:
"$(TargetDir)\Project1\CrmSvcUtil.exe"
"$(TargetDir)\Project2\CrmSvcUtil.exe"
"$(TargetDir)\Project3\CrmSvcUtil.exe"
Each one will run by itself with it's own settings, and can output it's own context file.