使用msbuild构建解决方案时,我遇到了这个错误。
The element <ParameterGroup> beneath element <UsingTask> is
unrecognized.
错误在 msbuild 和 Visual Studio 中都显示出来了。
使用msbuild构建解决方案时,我遇到了这个错误。
The element <ParameterGroup> beneath element <UsingTask> is
unrecognized.
<Target>
元素内部使用了<UsingTask>
。您必须将其声明在<Target />
之外。已在2017和2019上进行测试。否则,错误如下所示(我敢打赌这是@Crono在Roslyn中看到的)。proj(2300,5): error MSB4067: L'élément "ParameterGroup" situé sous l'élément <UsingTask> n'est pas reconnu.
<Project ToolsVersion="3.5"...
也可以使用此链接https://github.com/techtalk/SpecFlow/wiki/Reporting
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0.30319" />
</startup>
</configuration>
dotnet cli
和RoslynCodeTaskFactory
NuGet 依赖项。你有什么建议吗? - Crono