We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e0ec26 + 1229681 commit f618525Copy full SHA for f618525
.github/workflows/build.yml
@@ -47,7 +47,7 @@ jobs:
47
New-Item -ItemType Directory nuget_files > $null
48
Copy-Item src\bin\Release\*.*nupkg nuget_files
49
50
- - uses: actions/upload-artifact@v2
+ - uses: actions/upload-artifact@v4
51
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
52
with:
53
name: nupkg
src/DotNet/Writer/ModuleWriter.cs
@@ -301,6 +301,10 @@ void InitializeChunkProperties() {
301
}
302
303
uint GetEntryPoint() {
304
+ var ep = Options.Cor20HeaderOptions.EntryPoint;
305
+ if (ep is not null)
306
+ return ep.Value;
307
+
308
if (module.ManagedEntryPoint is MethodDef methodEntryPoint)
309
return new MDToken(Table.Method, metadata.GetRid(methodEntryPoint)).Raw;
310
0 commit comments