-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR]: Failed build-raw: Value cannot be null. #230
Comments
Hello. You need to update vsSolutionBuildEvent up to 1.16
I'm in progress in attempt to update all my affected repos according to priorities https://www.reddit.com/r/x3F/comments/189wi1h/first_public_release_this_year_and_something/ slowly, but ... in order not to wait, please temporarily replace it by yourself "1.14.1.1" as "1.16.0" here; then remove ./packages/vsSolutionBuildEvent folder, and try again |
Your suggestion seemed to work, thank you, but now I'm getting: DllExport.sln.metaproj : error MSB4126: The specified solution configuration "-s|Any CPU" is invalid. |
-s is not a key to .\build, cd coreclr
build-s -x86 -release better to use available helpers in root folder:
|
Runing both build-coreclr-ilasm-x86+x64.cmd or build-coreclr-ilasm-x86.cmd C:\Users\kenln\Downloads\DllExport\coreclr.dotnet\sdk\3.0.100\NuGet.targets(123,5): error : Unable to load the service index for source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json. [C:\Users\kenln\Downloads\DllExport\coreclr\eng\empty.csproj] |
This is what I was talking about here https://www.reddit.com/r/x3F/comments/189wi1h/first_public_release_this_year_and_something/
must be upgraded somehow later; don't know; Note the following: to build ilasm from src is optional for current project since it uses artefacts that was built in the past from parent https://github.com/3F/coreclr https://ci.appveyor.com/project/3Fs/coreclr-62ql7/builds/29395847 |
So are you saying your build is broken? I am willing to help you fix it because I need it for .NET 8, but I need you to tell me why you had to fork and modify Robert Giesecke's version? I noticed this from the old version:
Above references .NET Framework and of course, does not work with .NET Core or later. Is this why you chose a modified ILAsm + ILDasm on coreclr? Can you send me a successfully created .il file as an example? |
You're trying to build coreclr\ilasm while trying to interact with Giesecke's wrapper to update modopt(['mscorlib'] in current repository. coreclr submodule is not required to build DllExport if you don't have the plan to change something from it of course. Because to build IL assembler on coreclr takes about ~30-40 min (see CI). That's why it was cached as https://www.nuget.org/packages/ILAsm package in the past. This is a different repo and a different story if MS dropped something from their ecosystem and finally brokes lot of these dependencies. If you say 3F/coreclr is broken now, then it is. 3F/coreclr has not changed since the last build
Good! I appreciate it, thanks! I'm currently in progress according to my new priorities mentioned in link above.
Have you tried using search on this tracker?
.NET Core 2.2 and .NET Standard 2
Is 1.7.3 or its rebasing broken for you? Or what example you're talking about? |
Is 1.7.3 or its rebasing broken for you? Or what example you're talking about? Yes, I keep getting the following: Runing both build-coreclr-ilasm-x86+x64.cmd or build-coreclr-ilasm-x86.cmd C:\Users\kenln\Downloads\DllExport\coreclr.dotnet\sdk\3.0.100\NuGet.targets(123,5): error : Unable to load the service index for source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json. [C:\Users\kenln\Downloads\DllExport\coreclr\eng\empty.csproj] However, I downloaded and compiled ilasm, ildasm from https://github.com/dotnet/runtime. I had luck using these with the following source: `
} It exports Scan correctly: I can load the image using LoadLibrary from a .NET 4.8 app but cannot from a .NET 8 app. If I knew the changes you made to ilasm.exe, I may can get it working. |
I can't be too distracted by this project yet (immediate plans are described in the linked post). Try to build from scratch using the following commands: git clone https://github.com/3F/DllExport.git src & cd src
git submodule update --init GetNuTool
cd GetNuTool & ..\tools\gnt /p:ngpackages=vsSolutionBuildEvent &cd..
tools\gnt /p:ngpackages=vsSolutionBuildEvent
build
There is nothing about correctness. These are only the EAT entries about RVAs in related PE directory from the attached screenshot. Please read all mentioned issues from my links above. It's all about what you're trying at the moment.
This is what I'm talking about.
|
The build for the current repo has been fixed since 8e77905 https://github.com/3F/DllExport#build-net-dllexport-from-source git clone https://github.com/3F/DllExport.git DllExport
cd DllExport & .\build Debug 3F/coreclr repo will be fixed later; +Important changes are coming soon (I've planned for ~June-July). |
What am I doing wrong. I downloaded the code and submodules recursively.
Ran: .\build -s -all -x86 Release
3:47:02 PM.1103 [ERROR]: Failed build-raw: Value cannot be null.
Parameter name: input
MSBUILD : Logger error MSB1029: The build has been canceled by user script.
Build failed.
The text was updated successfully, but these errors were encountered: