mirror of
https://github.com/Ellpeck/Contentless.git
synced 2024-11-22 23:38:34 +01:00
run the dll using dotnet to ensure cross-platform compatibility
This commit is contained in:
parent
a465a552a2
commit
f35db05ca4
2 changed files with 2 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
||||||
<package>
|
<package>
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>Contentless</id>
|
<id>Contentless</id>
|
||||||
<version>3.0.3</version>
|
<version>3.0.5</version>
|
||||||
<authors>Ellpeck</authors>
|
<authors>Ellpeck</authors>
|
||||||
<description>A tool for MonoGame that automatically handles adding assets to the Content Pipeline project</description>
|
<description>A tool for MonoGame that automatically handles adding assets to the Content Pipeline project</description>
|
||||||
<tags>monogame mono xna content pipeline mgcb builder tool library</tags>
|
<tags>monogame mono xna content pipeline mgcb builder tool library</tags>
|
||||||
|
|
|
@ -1,12 +1,5 @@
|
||||||
<Project>
|
<Project>
|
||||||
<Target Name="Contentless" BeforeTargets="BeforeBuild">
|
<Target Name="Contentless" BeforeTargets="BeforeBuild">
|
||||||
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
|
<Exec Command="dotnet $(MSBuildThisFileDirectory)/../tools/Contentless.dll @(MonoGameContentReference)"/>
|
||||||
// We use mono to run Contentless when we're not on Windows. This isn't pretty, but it'll do until we switch to the new task system.
|
|
||||||
<Mono Condition="Exists('/Library/Frameworks/Mono.framework/Versions/Current/bin/mono')">/Library/Frameworks/Mono.framework/Versions/Current/bin/mono</Mono>
|
|
||||||
<Mono Condition="Exists('/usr/local/bin/mono')">/usr/local/bin/mono</Mono>
|
|
||||||
<Mono Condition="Exists('/usr/bin/mono')">/usr/bin/mono</Mono>
|
|
||||||
<Mono Condition="'$(Mono)' == ''">mono</Mono>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Exec Command="$(Mono) $(MSBuildThisFileDirectory)/../tools/Contentless.exe @(MonoGameContentReference)"/>
|
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in a new issue