<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Visual-Studio on When Pigs Fly</title><link>http://derekcp.com/tags/visual-studio/</link><description>Recent content in Visual-Studio on When Pigs Fly</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 30 Nov 2012 00:00:00 +0000</lastBuildDate><atom:link href="http://derekcp.com/tags/visual-studio/index.xml" rel="self" type="application/rss+xml"/><item><title>Provisioning files in a feature in the root directory</title><link>http://derekcp.com/posts/provisioning-files-in-a-feature-in-the-root-directory/</link><pubDate>Fri, 30 Nov 2012 00:00:00 +0000</pubDate><guid>http://derekcp.com/posts/provisioning-files-in-a-feature-in-the-root-directory/</guid><description>&lt;p&gt;I was recently tasked with migrating code that was written for 2007 in a feature. The files that were originally provisioned in the feature we deployed to the root folder of the feature. The code had already been upgraded to SharePoint 2010. I needed to create a wsp using Visual Studio 2010 and package it as a feature. Out of the box when you create a new Module in VS 2010 you get a subfolder so for example you create the feature called Feature1 and a module called Mod1. The default deployment path is 14\templates\features\feature1\mod1\file.txt. What I needed was feature1\mod1\file.txt. I tried modifying all the attributes in the elements.xml file and was not able to get the files to the correct location.&lt;/p&gt;</description></item></channel></rss>