Skip to content
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

Recognize AnyCPU in case of fallback to PEReader #3287

Merged
merged 9 commits into from
Jan 28, 2022

Conversation

MarcoRossignoli
Copy link
Contributor

@MarcoRossignoli MarcoRossignoli commented Jan 28, 2022

Starting 7.0 runtime some AssemblyName properties are deprecated, for instance ProcessorArchitecture.
We're relying on it to get the architecture for the dll.
Now it will returns always "None" and we fallback to the PEReader reader, so we need to be able to discover also AnyCPU from it.

I did some manual test with x86/x64/neutral compilation and looks good.
I ran also failing test on the sdk side with the local build and looks good.

Ref issue dotnet/sdk#23597 (comment)

Co-authored-by: Jakub Jareš <me@jakubjares.com>
auto-merge was automatically disabled January 28, 2022 14:18

Pull Request is not mergeable

@MarcoRossignoli MarcoRossignoli enabled auto-merge (squash) January 28, 2022 14:18
auto-merge was automatically disabled January 28, 2022 14:20

Pull Request is not mergeable

@MarcoRossignoli MarcoRossignoli enabled auto-merge (squash) January 28, 2022 14:22
MarcoRossignoli and others added 2 commits January 28, 2022 15:55
Co-authored-by: Amaury Levé <amaury.leve@gmail.com>
Co-authored-by: Amaury Levé <amaury.leve@gmail.com>
auto-merge was automatically disabled January 28, 2022 14:56

Pull Request is not mergeable

@MarcoRossignoli
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

auto-merge was automatically disabled January 28, 2022 17:10

Pull request was closed

@MarcoRossignoli MarcoRossignoli enabled auto-merge (squash) January 28, 2022 17:10
@MarcoRossignoli MarcoRossignoli merged commit 99c89e3 into microsoft:main Jan 28, 2022
@MarcoRossignoli MarcoRossignoli deleted the fixsdkbuild branch January 28, 2022 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants