Make TextTransform.exe invocation platform safe. Needs windows implem… (#338)

* Make TextTransform.exe invocation platform safe. Needs windows implementation

- https://github.com/mono/Embeddinator-4000/issues/337

* Move to nuget Mono.TextTransform.1.0.0
This commit is contained in:
Chris Hamons 2017-05-15 08:12:19 -05:00 коммит произвёл Sebastien Pouliot
Родитель 98bb8f4cd9
Коммит 41bd55e4a8
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -1,5 +1,7 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="BeforeBuild" Inputs="$(MSBuildThisFileDirectory)subscripts.tt" Outputs="$(MSBuildThisFileDirectory)subscripts.cs">
<Exec WorkingDirectory="$(MSBuildThisFileDirectory)" Command="/Library/Frameworks/Mono.framework/Commands/mono &quot;/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.TextTemplating/TextTransform.exe&quot; subscripts.tt -o subscripts.cs" />
<Exec WorkingDirectory="$(MSBuildThisFileDirectory)" Command="nuget install Mono.TextTransform -OutputDirectory ../../packages/" />
<Exec Condition=" '$(OS)' == 'Unix' " WorkingDirectory="$(MSBuildThisFileDirectory)" Command=" /Library/Frameworks/Mono.framework/Commands/mono ../../packages/Mono.TextTransform.1.0.0/tools/TextTransform.exe subscripts.tt -o subscripts.cs" />
<Exec Condition=" '$(OS)' != 'Unix' " WorkingDirectory="$(MSBuildThisFileDirectory)" Command="echo need to process subscripts.tt -o subscripts.cs" />
</Target>
</Project>