The "IsFileSystemCaseSensitive" parameter is not supported by the "FindConfigFiles" task

今天从VS2015升级到VS2017, 一个.net Core 的project出现build failed,提示The "IsFileSystemCaseSensitive" parameter is not supported by the "FindConfigFiles" task. 发现指向C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.5\build\Microsoft.TypeScript.targets. 本身要用2.1的tsc,这个指向的是2.5的,之前已经在csproj里添加过

<TypeScriptToolsVersion>2.1</TypeScriptToolsVersion>

为什么还会指向2.5?

后来发现csproj文件里有

    <PackageReference Include="Microsoft.TypeScript.Compiler" Version="2.2.1" />
    <PackageReference Include="Microsoft.TypeScript.MSBuild" Version="2.2.1" />

修改为

    <PackageReference Include="Microsoft.TypeScript.Compiler" Version="2.1.5" />
    <PackageReference Include="Microsoft.TypeScript.MSBuild" Version="2.1.5" />

之后编译就正常了

 

posted on 2018-01-22 16:42  zzzk  阅读(682)  评论(0编辑  收藏  举报

导航