Closed fawdlstty closed 4 years ago
E:\GitHub\zerosharp\no-runtime>build.cmd
E:\GitHub\zerosharp\no-runtime>csc /debug:embedded /noconfig /nostdlib /runtimem
etadataversion:v4.0.30319 zerosharp.cs /out:zerosharp.ilexe /langversion:latest
/unsafe
Microsoft(R) Visual C# 编译器 版本 3.5.0-beta4-20153-05 (20b9af91)
版权所有(C) Microsoft Corporation。保留所有权利。
zerosharp.cs(7,34): warning CS0169: 从不使用字段“object.m_pEEType”
E:\GitHub\zerosharp\no-runtime>C:\Users\Administrator\.nuget\packages\runtime.wi
n-x64.microsoft.dotnet.ilcompiler\1.0.0-alpha-27824-01\tools\ilc zerosharp.ilexe
-o zerosharp.obj --systemmodule zerosharp --map zerosharp.map -O
E:\GitHub\zerosharp\no-runtime>link /subsystem:console zerosharp.obj /entry:__ma
naged__Main kernel32.lib /merge:.modules=.pdata /incremental:no
Microsoft (R) Incremental Linker Version 14.25.28612.0
Copyright (C) Microsoft Corporation. All rights reserved.
zerosharp.obj : error LNK2001: 无法解析的外部符号 WriteConsoleW
zerosharp.obj : error LNK2001: 无法解析的外部符号 GetStdHandle
D:\Windows Kits\10\lib\10.0.18362.0\um\x86\kernel32.lib : warning LNK4272:库计算
机类型“x86”与目标计算机类型“x64”冲突
zerosharp.exe : fatal error LNK1120: 2 个无法解析的外部命令
E:\GitHub\zerosharp\no-runtime>
Make sure you run the x64 Native tools command prompt, not the x86 one: