Skip to content

Instantly share code, notes, and snippets.

View herocrab's full-sized avatar
🤓

HeroCrab Games herocrab

🤓
  • Colorado Springs, CO
View GitHub Profile
<Project>
<UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" />
<Target Name="MoveLib" AfterTargets="AfterBuild">
<ItemGroup>
<LibFiles Include="$(OutDir)*.*" Exclude="$(OutDir)$(AssemblyName).*" />
</ItemGroup>
<Move SourceFiles="@(LibFiles)" DestinationFolder="$(OutDir)lib" />
<TransformXml Source="$(OutDir)$(AssemblyName).exe.config" Transform="$(MSBuildThisFileDirectory)\LibTransform.xml" Destination="$(OutDir)$(AssemblyName).exe.config" />
</Target>
</Project>