
[英]How do I resolve Unknown PdfException when using itext7 in. net maui
返回时返回错误:Unknown PdfException。 - -> System.NotSupportedException:Either itext7.bouncy-castle-adapter 或 itext7。 bouncy-castle-fips-adap ...在线 我的代码 ...
[英]How do I resolve Unknown PdfException when using itext7 in. net maui
返回时返回错误:Unknown PdfException。 - -> System.NotSupportedException:Either itext7.bouncy-castle-adapter 或 itext7。 bouncy-castle-fips-adap ...在线 我的代码 ...
[英]Creating a Visual Basic 6 project from existing code in Visual Studio 2022 results in millions of compilation errors
尝试在 Windows 10 上执行此操作。 我有一个 VB6 文件夹,我正试图从中找到解决方案。 Visual Studio 成功创建了一个项目,但在尝试编译时出现了数百万个错误(见图)。 我在 Visual Studio 中阅读了有关 VB6 支持的冲突信息。 一方面写的是支持 Visual ...
[英]Visual Studio 2022 Debugger thinks I changed code and wants to hot reload
编辑:下面提供了很好的诊断信息,但问题是我运行的是 Visual Studio 2022 17.3。 .NET 7 需要版本 17.4,我刚刚安装了它。 一旦我安装了最新版本的 VS,我所有的问题都消失了。 使用 Visual Studio 安装今天突然调试我的 ASP.NET Core 6 和 ...
[英]How to Target .net Framework 7.0 in Visual Studio 2022?
我刚刚安装了 Visual Studio Community 2022 并安装了 .net 核心 4.8.1(ndp481-web.exe 和 do.net-sdk-7.0.102-win-x64.exe。)Do.net 7.0 不是预览版,它是发布版本,VSCommunity 2022是发布版本 ...
[英]Specflow "No Matching Step Definition Found" but also "All Steps have been defined already"
我无法在 Visual Studio 2022 中运行我的 Specflow 测试。 我已经定义并绑定了所有步骤,但它仍然显示“未找到匹配的步骤定义”。 然而,当我右键单击该行并尝试“定义步骤”时,它说“所有步骤都已经定义了”?。! 所以没有紫线等。 我在用 VS 2022 规格流 3.9.74 ...
[英]How to add app.config transform to a 4.8 Azure WebJob (.NET Framework) in VS 2022?
在 VS2022 中使用带有 4.8.1 的VS2022 Azure WebJob (.NET Framework)模板创建项目后,似乎不支持app.config转换。 右键单击以添加转换不可用。 此外,破解 csproj 文件以安排“依赖于” app.config的转换会导致解决方案资源管理器中 ...
[英]How can I create an .EXE file from .NET Framework 4.8 project?
如问题所述,如何从 .NET Framework 4.8 项目创建 .EXE 文件? 这是一个 Windows Forms 应用程序。 当我发布我的应用程序时,我创建了以下文件/目录: 我可以运行 setup.exe 文件来下载应用程序,然后可以从我的系统或通过 TapeRedGreen.app ...
[英]Visual studio 2022 WinForm publish folder
我创建了一个 WinForm 应用程序并尝试发布它,但我对这个发布过程有很多疑问。 为什么Visual Studio会在C:\Users\'用户名'\AppData\Local\Apps\2.0中创建app文件夹? 有没有办法将 app.exe 安装在另一个文件夹中,例如“ProgramFiles” ...
[英]How to create C# application installer in Visual Studio 2022, which can be installed without administrator rights?
我的问题是,我已经在 Visual Studio 2022 中为我的应用程序创建了一个安装程序,如果我试图在另一台计算机上安装它,它会要求管理员权限。 我只能在没有管理员权限的另一台电脑上安装它。 是否可以制作一个无需管理员权限即可运行的安装程序? ...
[英]C# Picture become black after uploading and then saving it - ASP.NET MVC 5
请耐心等待,我的英语仍在进步中……下面给出的代码是我用来获取保存在 ASP.NET MVC 5 项目的“UploadedImage”文件夹中的上传图像的代码。 但是,当我使用配备 i7 处理器、16GB RAM、4GB 显卡的近乎高端的 PC 时,一切都运行良好。 但是,当我使用配备 i3 处理器 ...
[英]Console.SetWindowSize not showing the window resized
我正在编写一个 c# 控制台应用程序作为家庭作业,我需要使用 Console.SetWindowSize 方法...只有一个问题,命令正在运行,因为如果我将 cursor position 设置在范围之外,它会返回错误,但是window 不会改变它的大小,它只是保持原样......可能是因为控制台 ...
[英]MASM32 Assembly does not work in Visual Studio
我想开始学习汇编,但它没有任何运行方式。 首先,我尝试使用 py il 和 python 但它没有用。 现在我有一个 Visual Studio 2022,我安装了 MASM32。 问题是 Visual Studio 给出了 A1000 错误,所以它找不到文件,第二个错误: MSB3721 命令“ ...
[英]New Project Debug Dialog in Visual Studio 2022--Why and How It Changed?
我在 Visual Studio Enterprise 2022 中加载了一个 .NET 4.8 C# WinForms 项目。项目属性页面的“调试”部分(在解决方案资源管理器中右键单击该项目并选择“属性...”)如下所示: 请注意,有一个清晰的开始操作部分。 我在 Visual Studio ...
[英]Blazor WASM Sophos [Failed to find a valid digest in the 'integrity' attribute for resource] ERR_CERT_AUTHORITY_INVALID
我的控制台日志中不时出现“无法在资源的‘完整性’属性中找到有效的摘要”错误,但从来没有出现在本地。 出乎意料的是,这几天前就开始发生在我身上,过去两天我一直在努力修复它。 我还收到关于我的自签名证书无效的错误。 这是我尝试过的事情。 重建/清理解决方案删除所有 bin/obj 文件夹通常使用 ch ...
[英]Upgrade my Azure Function from .net Core 3.1 to .net Core 7.0. Error "'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstraction
我有一个运行在 .net 核心 3.1 上的 Azure Function,但是当我将 .net 版本从 3.1 更改为 7 时,我收到了这个错误:- 这是一个屏幕截图:- 这是我的 csproj 文件:- 请问有什么建议吗? 我已经安装了Install-Package Microsoft.Ex ...
[英]Visual Studio 2022 automatically changes namespace when moving cs file to antoeher folder
将文件移动到另一个文件夹时,VS 开始“同步”文件的命名空间和文件夹结构。 我在选项菜单中找不到此设置,在线搜索也没有得到任何有用的信息。 我怎样才能关闭它? 对比信息: ...
[英]Visual Studio 2022 is opening files from the call stack and search window in the bottom pane
我正在调试 C# ASP.NET 应用程序。 当我双击调用堆栈中的一个项目时,它会在 Visual Studio 2022 的底部窗格中打开文件。我知道如何更改所有这些持久性 windows(如调用堆栈、断点等)打开的位置,但我不能不知道如何更改文件在调用堆栈中打开的位置。 我希望它们在我的其他代 ...
[英]VS2022 - matching outside brace are not marked in javascript
Visual studio 2022 - 我刚刚安装了 VS2022 并注意到外面的大括号(里面的一些嵌套元素)不再像以前那样被标记。 例子: 但它仍在处理非嵌套括号: 以及为什么会这样? ...
[英]Same solution on different machines producing different Nuget package output
我需要帮助。 我的项目最近已从 .NET Framework 4.8 迁移到 .NET 6。我们提升并编译了所有内容,包括从 packages.config 迁移到 PackageReference。 这个项目有点独特,因为它有: 一个面向外的 Git 存储库,可以连接到 inte.net 离线的 ...
[英]Razor asp- tag helper is not recognized
我有以下 HTML 代码 Visual Studio 2022 无法识别asp标记 当我构建并运行解决方案时, asp标记未转换为 html 代码 没有警告、错误或 JavaScript 错误。 我将Views文件夹从.NET Core 2.1 MVC复制到.NET 6 Core MVC项目中。 ...