当我在VS2010中为果园集成项目创建部署包时,始终包含svn文件和db_data。
这非常笨拙而且如何从VS2010项目配置中排除所有这些svn文件夹和文件?
我发现了这样的事情:
<ItemGroup>
<!-- This will exclude the .xml files from the bin folder -->
<ExcludeFromPackageFiles Include="$(OutputPath)*.xml" />
<!-- This will exclude the tmp folder from the bin folder -->
<ExcludeFromPackageFolders Include="$(OutputPath)tmp" />
</ItemGroup>
但我不明白OutputPath在我的Orchard项目中的适用范围。因为在其他果园解决方案中有大量的svn文件。