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

Specify target framework in generated assembly loader script #394

Merged
merged 2 commits into from
Oct 26, 2024

Conversation

jasongin
Copy link
Member

@jasongin jasongin commented Oct 25, 2024

Fixes: #389

The .NET project TargetFramework property is used to in the generated .js script to load that version of .NET at runtime. (Optionally it can be overridden with a NodeApiTargetFramework property.)

The PR deletes many of the version-specific JS project test case files because now that the version is generated from the project TargetFramework one test case file works for all tested framework versions.

@jasongin jasongin merged commit b0e115f into main Oct 26, 2024
24 checks passed
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.

Set framework version when using ES / CommonJS module loaders
2 participants