小编Joy*_*ode的帖子

当我尝试启动 C# 代码时收到消息“找不到任务‘构建’”

我是 C# 新手,正在学习使用复数

我完全遵循了教程正在做的事情,但遇到了教程没有的问题。

当您通过 .Net 编写 C# 代码时,我构建了简单的“Hello World”程序

在Visual Studio Code中,如果选择Start Debugging或Start without Debugging,会弹出如下错误

''找不到任务 'build'"

然后我还是点击调试然后出现以下错误

launch:program dir \ < insert-project-name-here >.dll不存在有打开launch.json的选项

令人困惑的是,.dll 文件确实存在......

此外,检查launch.json,我有以下内容:

{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "name": ".NET Core Launch (console)",
      "type": "coreclr",
      "request": "launch",
      "WARNING01": "*********************************************************************************",
      "WARNING02": "The C# extension was unable to automatically decode projects in the current", …
Run Code Online (Sandbox Code Playgroud)

c# .net-core

12
推荐指数
2
解决办法
1万
查看次数

如何用三角形创建背景?

在此处输入图片说明

如上图所示,背景中有相似但深浅不一的三角形。

我设法得到相同的颜色

#4C27B3
Run Code Online (Sandbox Code Playgroud)

https://codepen.io/JoyFulCoding/pen/EzXowL

这个效果如何使用CSS来实现?

html css

4
推荐指数
1
解决办法
120
查看次数

如何创建波浪形CSS?

请查看下面的图片,了解我要创建的内容:

在此处输入图片说明

到目前为止,我有以下内容,但它需要更加“频繁”,例如增加正弦或余弦波的频率。

#wave {
  position: relative;
  height: 70px;
  width: 600px;
  background: #e0efe3;
}

#wave:before {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100% 50%;
  width: 340px;
  height: 80px;
  background-color: white;
  right: -5px;
  top: 40px;
}

#wave:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100% 50%;
  width: 300px;
  height: 70px;
  background-color: #e0efe3;
  left: 0;
  top: 27px;
}
Run Code Online (Sandbox Code Playgroud)
<div id="wave"></div>
Run Code Online (Sandbox Code Playgroud)

html css css-shapes

3
推荐指数
1
解决办法
684
查看次数

标签 统计

css ×2

html ×2

.net-core ×1

c# ×1

css-shapes ×1