-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Fix build failure on "Packs" #122527
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
Fix build failure on "Packs" #122527
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| #define FX_VER_FILEDESCRIPTION_STR ".NET Runtime Just-In-Time Compiler" | ||
|
|
||
| #include <fxver.h> | ||
| #include <fxver.rc> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,7 @@ | |
| <PlatformManifestFileEntry Include="libhostpolicy.so" IsNative="true" /> | ||
| <PlatformManifestFileEntry Include="libhostpolicy.dylib" IsNative="true" /> | ||
| <PlatformManifestFileEntry Include="hostfxr.dll" IsNative="true" /> | ||
| <PlatformManifestFileEntry Include="clrinterpreter.dll" IsNative="true" /> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The interpreter dll isn't ready for shipping yet. This is not the desired fix.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't believe the interpreter will ever be shipped on windows. It is a feature intended for ios/wasm.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So what would be the fix? I assume clrinterpreter.dll should be excluded. How can I manage that? |
||
| <PlatformManifestFileEntry Include="libhostfxr.so" IsNative="true" /> | ||
| <PlatformManifestFileEntry Include="libhostfxr.dylib" IsNative="true" /> | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does adding a native resource file change the build?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as #118581, after adding
clrinterpreter.dllas PlatformManifestEntry,another build error is raised, due to not setting file version on clrinterpreter.dll:
This resource adds file version, product detail, ... to the dll and fixes the issue, then the build is fine.