Skip to content
Permalink
Browse files

[Localization] Use $(RoslynTargetsPath) rather than $(MSBuildBinPath)…

…\Roslyn (which doesn't work with VS2019)
  • Loading branch information
xen2 committed Jan 15, 2019
1 parent 6a096b4 commit 6c1a4cd3c66c66ef9facd201136e252b074e3176
@@ -780,7 +780,7 @@
</ItemGroup>
</Target>
<PropertyGroup>
<PostBuildEvent>Path=$(MSBuildBinPath)\Roslyn;$(Path)
<PostBuildEvent>Path=$(RoslynTargetsPath);$(Path)
IF EXIST "$(SolutionDir)..\sources\localization\fr\$(TargetName).fr.po" $(SolutionDir)..\deps\Gettext.Net\GNU.Gettext.Msgfmt.exe --lib-dir $(SolutionDir)..\deps\Gettext.Net --resource $(TargetName) -d $(TargetDir) --locale fr "$(SolutionDir)..\sources\localization\fr\$(TargetName).fr.po" --verbose
IF EXIST "$(SolutionDir)..\sources\localization\ja\$(TargetName).ja.po" $(SolutionDir)..\deps\Gettext.Net\GNU.Gettext.Msgfmt.exe --lib-dir $(SolutionDir)..\deps\Gettext.Net --resource $(TargetName) -d $(TargetDir) --locale ja "$(SolutionDir)..\sources\localization\ja\$(TargetName).ja.po" --verbose</PostBuildEvent>
</PropertyGroup>
@@ -1,4 +1,4 @@
<Project>
<Project>

<Import Project="..\..\targets\Xenko.Core.PreSettings.targets" />
<Import Project="Sdk.props" Sdk="MSBuild.Sdk.Extras" Version="1.6.65" />
@@ -77,7 +77,7 @@
<Import Project="Sdk.targets" Sdk="MSBuild.Sdk.Extras" Version="1.6.65" />

<PropertyGroup>
<PostBuildEvent>Path=$(MSBuildBinPath)\Roslyn;$(Path)
<PostBuildEvent>Path=$(RoslynTargetsPath);$(Path)
IF EXIST "$(SolutionDir)..\sources\localization\fr\$(TargetName).fr.po" $(SolutionDir)..\deps\Gettext.Net\GNU.Gettext.Msgfmt.exe --lib-dir $(SolutionDir)..\deps\Gettext.Net --resource $(TargetName) -d $(TargetDir) --locale fr "$(SolutionDir)..\sources\localization\fr\$(TargetName).fr.po" --verbose
IF EXIST "$(SolutionDir)..\sources\localization\ja\$(TargetName).ja.po" $(SolutionDir)..\deps\Gettext.Net\GNU.Gettext.Msgfmt.exe --lib-dir $(SolutionDir)..\deps\Gettext.Net --resource $(TargetName) -d $(TargetDir) --locale ja "$(SolutionDir)..\sources\localization\ja\$(TargetName).ja.po" --verbose</PostBuildEvent>
</PropertyGroup>

0 comments on commit 6c1a4cd

Please sign in to comment.
You can’t perform that action at this time.