Last active
May 21, 2020 21:41
-
-
Save dfkeenan/38e3a6fbc98929569392842908c98fab to your computer and use it in GitHub Desktop.
Xenko Move to Lib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
| <runtime> | |
| <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |
| <probing xdt:Transform="InsertIfMissing" privatePath="lib"/> | |
| </assemblyBinding> | |
| </runtime> | |
| </configuration> |
I was really enjoying this, though for some reason it's not working for me with Stride. Everything moves but the games won't run correctly.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks dfkeenan, so much cleaner now!