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:
Родитель
98bb8f4cd9
Коммит
41bd55e4a8
|
@ -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 "/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.TextTemplating/TextTransform.exe" 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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче