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

Generate path to mscorlib #189

Closed
wants to merge 9 commits into from
Closed

Generate path to mscorlib #189

wants to merge 9 commits into from

Conversation

rstm-sf
Copy link

@rstm-sf rstm-sf commented Dec 4, 2022

Fixes #188

@rstm-sf rstm-sf marked this pull request as ready for review December 4, 2022 17:01
@ashmind
Copy link
Owner

ashmind commented Dec 15, 2022

Thanks -- I haven't checked PRs and issues in MirrorSharp for a while, but I'll take a look now.

@""{TargetFrameworkRootPath}.NETFramework\{TargetFrameworkVersion}\mscorlib.dll"";
#endif
}}
";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting! I am reluctant to use a whole custom task for this -- if this needs to be written dynamically, would it be simpler to use a built-in WriteLinesToFile?

However, the other question is if it needs to be written during build -- is there no way to discover it at runtime? I think .NET Framework is generally easier to discover than modern .NET, without same runtime/SDK distinction.

@rstm-sf
Copy link
Author

rstm-sf commented Jul 11, 2023

@ashmind just ping

@rstm-sf rstm-sf closed this by deleting the head repository Jun 1, 2024
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.

TypeInitializationException when using Microsoft.NETFramework.ReferenceAssemblies for net471 tests
2 participants