达文西
达文西
@xiaoxiang781216 主要是技术能力有限,后续我尝试加一下吧,我的VM虚拟机刚好需要用到这个,现在暂时调试STM32H7 sdmmc读写TF卡太慢的问题。
reference: https://github.com/dotnet-script/dotnet-script/issues/743
``` var a=1; var out="main"; #shell a=gcc main.c -o $"{out}.elf" #shell { ........... } ``` shell line : #shell return_code = shell commands. the return_code is optional. shell block: #shell...
Second question: Why use two dollar signs ($$)? use one dollar sign ($) should be more convenient.: ``` var variable = "Lets say you have a variable"; // This is...
> Your syntax would work fine with powershell but nothing else > > The variable syntax used with an underlying shell statement is there to provide a clear delineation between...
> To answer your first question windows support is currently in testing. It works for a lot of things but windows support for true stout is patchy. > > GCC...
``` var gccTest = new Process(); gccTest.StartInfo.FileName = "gcc.exe"; gccTest.StartInfo.Arguments = " -v"; gccTest.StartInfo.RedirectStandardError = true; gccTest.StartInfo.RedirectStandardOutput = true; gccTest.StartInfo.RedirectStandardInput = true; gccTest.StartInfo.UseShellExecute=false; gccTest.OutputDataReceived += (sender, e) => Console.WriteLine(e.Data); //...
[Generated.zip](https://github.com/user-attachments/files/23789493/Generated.zip) I generate a common assembly and three per-standard assemblies with xscgen. Commands I run: ``` .\xscgen.exe ^ -n "|V2G_CI_AppProtocol.xsd=HomePlug.V2G.Common" ^ -n "|xmldsig-core-schema.xsd=HomePlug.V2G.Common" ^ schemas\V2G_CI_AppProtocol.xsd ^ schemas\xmldsig-core-schema.xsd ^ -o Generated/Common...
ISO15118-20 ``` [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "1.0.0.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute("MessageHeaderType", Namespace="urn:iso:std:iso:15118:-20:CommonTypes")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class MessageHeaderType ``` ISO15118-2 ``` [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "1.0.0.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute("MessageHeaderType", Namespace="urn:iso:15118:2:2013:MsgHeader")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class MessageHeaderType ```