cake-build/cake

Addin Framework parsing fails

Open

#1,328 创建于 2016年10月29日

在 GitHub 查看
 (9 评论) (0 反应) (0 负责人)C# (738 fork)batch import
Help wantedUp-for-grabs

仓库指标

Star
 (3,742 star)
PR 合并指标
 (平均合并 1天 1小时) (30 天内合并 25 个 PR)

描述

What You Are Seeing?

Error: System.InvalidOperationException: Something went wrong when parsing framework.

What is Expected?

Script should run withour error

What version of Cake are you using?

Version 0.16.2+Branch.main.Sha.fb23be463dacfa51c9b19a7cd111149dda7e8c6b

Are you running on a 32 or 64 bit system?

64-bit

What environment are you running on? Windows? Linux? Mac?

Windows 7

Are you running on a CI Server? If so, which one?

No

How Did You Get This To Happen? (Steps to Reproduce)

Attaching debugger to a script that installs any Cake Addin. I am using VS Code and have tried with Visual Studio too

Output Log

Error: System.InvalidOperationException: Something went wrong when parsing framework.
   at Cake.NuGet.V3.NuGetV3ContentResolver.ParseFromDirectoryPath(NuGetFramework current, DirectoryPath path)
   at Cake.NuGet.V3.NuGetV3ContentResolver.GetAddinAssemblies(DirectoryPath path)
   at Cake.NuGet.NuGetContentResolver.GetFiles(DirectoryPath path, PackageReference package, PackageType type)
   at Cake.NuGet.NuGetPackageInstaller.Install(PackageReference package, PackageType type, DirectoryPath path)
   at Cake.Core.Scripting.ScriptProcessor.InstallAddins(ScriptAnalyzerResult analyzerResult, DirectoryPath installPath)
   at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments)
   at Cake.Commands.DebugCommand.Execute(CakeOptions options)
   at Cake.CakeApplication.Run(CakeOptions options)
   at Cake.Program.Main()

贡献者指南