I have a solution for a web service harness used to create sample XML templates. We recently merged the solution into another branch. All the of the XML template files are left out of the solution when it’s opened, however they appear in source control as being there. The menus of the application are created dynamically based on the name of each XML file. Even with the XML files added to the solution after, the menus are still not created. Before we merged branches it worked flawlessly. Does anyone have any idea what would cause this / how to include XML files into the solution?
Share
Go to the solution explorer, select the project that should contain the xml files. If they are already added you can skip this. Otherwise click the Icon in the top which says
Show alla filesand right click on each xml file and chooseInclude in project. Choose properties for each xml file and chooseBuild Action: ContentandCopy to output location: Always