Wednesday, April 24, 2013

visual studio 2012 tip:add folder as link

1.how to add other folder(eg:“..\..\android_pkrssv2\assets\www\”) to my pkrss windows 8 project’s client link folder:


<Content Include="..\..\android_pkrssv2\assets\www\**\*.*">
<Link>client\%(RecursiveDir)%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>



after like this:


image


the externer “..\..\android_pkrssv2\assets\www\” foder like this:


image



 


reference:


“Add as Link” for folders in Visual Studio projects: http://stackoverflow.com/questions/3610845/add-as-link-for-folders-in-visual-studio-projects

No comments: