The "IsFileSystemCaseSensitive" parameter is not supported by the &quo
程序员文章站
2022-06-30 15:57:44
今天从VS2015升级到VS2017, 一个.net Core 的project出现build failed,提示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" />
之后编译就正常了