在 Visual Studio Code 的终端中,当我尝试运行时:
dotnet add package MicrosoftOfficeCore --version 15.0.0
Run Code Online (Sandbox Code Playgroud)
我在 Visual Studio Code 终端上收到以下错误
error: NU1100: Unable to resolve 'MicrosoftOfficeCore (>= 15.0.0)' for 'net5.0'
error: Package 'MicrosoftOfficeCore' is incompatible with 'all' frameworks in project
Run Code Online (Sandbox Code Playgroud)
你有想法吗 ?
非常感谢。