当前位置: 移动技术网 > IT编程>开发语言>.net > The "IsFileSystemCaseSensitive" parameter is not supported by the &quo

The "IsFileSystemCaseSensitive" parameter is not supported by the &quo

2018年01月23日  | 移动技术网IT编程  | 我要评论

石油焦的用途,异世大圣者,月关舞

今天从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" />

之后编译就正常了

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网