zeroc-ice / ice-builder-msbuild

Support for Slice (.ice) source files in MSBuild projects for C++ and C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail to use Slice compiler from PATH

pepone opened this issue · comments

commented
/Users/jose/.nuget/packages/zeroc.icebuilder.msbuild/5.0.7/build/zeroc.icebuilder.msbuild.csharp.targets(53,9): error : Ice Installation invalid or not detected. Invalid IceToolsPath setting `' 

The Slice compiler is found in the user PATH

where slice2cs
/opt/homebrew/bin/slice2cs
commented

I think we should consider relaxing this check, at least for platforms other than Windows. On Windows, the compiler is bundled with the NuGet package and this is not an issue.