In Visual Studio 2010, I used the _bin_deployableAssemblies folder to include third-party assemblies, which should be included in the bin folder when building and deploying on the Internet. This is about those third-party meetings that are necessary for the website, but you do not want to link to them. It worked great ...
Now it stops working with Visual Studio 2012 ... Well, part of it has stopped working. When I create, the contents of the _bin_deployableAssemblies folder are copied to the bin folder. But when I execute webdeploy, for example, on my local disk, these files are not published in the bin folder of the output folder.
I use this in my .csproj file:
<PropertyGroup> <OnAfterCopyAllFilesToSingleFolderForPackage> __MoveFilesFromUmbracoSubdirsToBinPackageTemp </OnAfterCopyAllFilesToSingleFolderForPackage> </PropertyGroup> <Target Name="_CopyBinDeployableAssemblies" Condition="Exists('$(MSBuildProjectDirectory)\_bin_deployableAssemblies')"> <CreateItem Include="$(MSBuildProjectDirectory)\_bin_deployableAssemblies\**\*.*" Condition="Exists('$(MSBuildProjectDirectory)\_bin_deployableAssemblies')" Exclude="$(MSBuildProjectDirectory)\_bin_deployableAssemblies\**\.svn\**\*"> <Output ItemName="_binDeployableAssemblies" TaskParameter="Include" /> </CreateItem> <Copy SourceFiles="@(_binDeployableAssemblies)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true" Retries="$(CopyRetryCount)" RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)" /> </Target> <Target Name="__MoveFilesFromUmbracoSubdirsToBinPackageTemp"> <Message Text="Moving files from bin\umbraco\ and bin\umbraco plugins\ to bin\" Importance="high" /> <CreateItem Include="$(_PackageTempDir)\bin\umbraco\*.*;$(_PackageTempDir)\bin\umbraco plugins\*.*"> <Output ItemName="_umbracoItems" TaskParameter="Include" /> </CreateItem> <Move SourceFiles="@(_umbracoItems)" DestinationFolder="$(_PackageTempDir)\bin" /> <Message Text="Removing bin\umbraco\ and bin\umbraco plugins\ folders" Importance="high" /> <RemoveDir Directories="$(_PackageTempDir)\bin\umbraco;$(_PackageTempDir)\bin\umbraco plugins" /> </Target>
Can someone help me find out how I get these assemblies in the folder folder with folders in the ouput folder?
source share