Skip to content

Fix decompiler tests project inside VS - #3796

Merged
christophwille merged 1 commit into
icsharpcode:masterfrom
DoctorKrolic:fix-vs-tests
Jun 22, 2026
Merged

Fix decompiler tests project inside VS#3796
christophwille merged 1 commit into
icsharpcode:masterfrom
DoctorKrolic:fix-vs-tests

Conversation

@DoctorKrolic

Copy link
Copy Markdown
Contributor

System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier is available in .NET 5+ so .NET Framework hosts like VS fail to load the project. NETCoreSdkRuntimeIdentifier does the same job, but is an MSBuild property independent of host's .NET version

@christophwille

Copy link
Copy Markdown
Member

Thanks, goes to show how rarely we use VS these days...

@christophwille
christophwille merged commit 2d9724a into icsharpcode:master Jun 22, 2026
7 checks passed
@DoctorKrolic
DoctorKrolic deleted the fix-vs-tests branch June 22, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants