gpt4 book ai didi

f# - 长颈鹿和 AspNetCore.Identity : Error opening Binary File

转载 作者:行者123 更新时间:2023-12-04 10:28:31 31 4
gpt4 key购买 nike

尽管我的项目启动并且运行良好,但在 Visual Studio 代码中它不断指出我的模块调用有错误。

该文件看起来像

module GTest.App

但我收到一条错误消息:
Error opening binary file 'C:\Users\emoore\.nuget\packages\microsoft.aspnetcore.identity.ui\2.1.11\lib\netstandard2.0\Microsoft.AspNetCore.Identity.UI.dll': A positive number is required.
Parameter name: capacity //F# Compiler(229)

有人知道是什么导致了这个问题吗?它并没有阻止我发展,但它非常烦人。

最佳答案

我有同样的问题并通过

  • 更新到最新的 dotnet core 3.1 sdk
  • 将 Giraffe 更新到最新版本
  • 请务必更新 fsproj 文件,因为您不再需要引用 Microsoft.AspNetCore 包

  • 希望这可以帮助。不幸的是,我现在正在处理与 NSwag 类似的问题。

    关于f# - 长颈鹿和 AspNetCore.Identity : Error opening Binary File,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60529727/

    31 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com