<system.web>
<compilation>
<buildProviders>
<remove extension=".lic"/>
<add extension=".lic"
type="System.Web.Compilation.ForceCopyBuildProvider" />
</buildProviders>
</compilation>
</system.web>
<ItemGroup>
<!-- Fichiers a copier dans le repertoire bin -->
<FichiersACopier Include="$(SourceWebPhysicalPath)\Bin\*.lic" />
</ItemGroup>
<Target Name="AfterBuild">
<Copy
SourceFiles="@(FichiersACopier)"
DestinationFiles="@(FichiersACopier->'$(OutputPath)\bin\%(Filename)%(Extension)')" />
</Target>