我在为我的项目制作安装程序时遇到问题,我按照本教程https://www.youtube.com/watch?v=fehVTLNQorQ,当我在输出控制台中构建安装项目时,我只得到这个
------ Starting pre-build validation for project 'Setup' ------
------ Pre-build validation for project 'Setup' completed ------
1>------ Build started: Project: Setup, Configuration: Debug ------
Building file 'C:\Users\Juan Finol\source\repos\Win-cloudmetadrive\Setup\Debug\Setup.msi'...
WARNING: Including primary output of project 'CloudMetaPrinter.csproj' with target framework '.NETCoreApp v3.1' may result in incomplete content. See here: https://go.microsoft.com/fwlink/?linkid=2112157
Packaging file 'CloudMetaPrinter.runtimeconfig.json'...
Packaging file 'CloudMetaPrinter.dll'...
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
Run Code Online (Sandbox Code Playgroud)
当我安装该项目时,快捷方式是 .ink,如果我尝试运行它,我会收到一条消息,说它是一个 dll 文件,可能会损坏我的系统,如果我转到安装文件夹,我只会看到一个名为 Setup 的文件夹和里面只有一个 .dll 文件和一个 .runtimeconfig.json 文件,我尝试寻找其他教程,但都是相同的,我没有找到问题的解决方案。
抱歉我的英语不好,谢谢你的帮助!
我一直在尝试执行以下操作,我有一个最大值和一个整数,我想像这样拆分该整数:
Max = 10
Int = 45
Result = [10, 10, 10, 10, 5]
Run Code Online (Sandbox Code Playgroud)
我已经搜索了很多,但没有找到像我想做的事情一样的东西,我的头因为思考和尝试去做而受伤。
感谢您的任何帮助!