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

Allow specifying that packaging projects are framework specific #176

Merged
merged 1 commit into from
May 24, 2022

Conversation

kzu
Copy link
Member

@kzu kzu commented May 24, 2022

For cases where you know you'll be authoring a package you want to only target to a specific framework, you are now able to specify so by setting BuildOutputFrameworkSpecific=true in the project.

Alternatively, you can also annotate a project reference to the packaging project with the TFM you want it to "pack for" as:

<ProjectReference Include="Common.msbuildproj" TargetFramework="net6.0"

Fixes #155

For cases where you know you'll be authoring a package you want to only target to a specific framework, you are now able to specify so by setting `BuildOutputFrameworkSpecific=true` in the project.

Alternatively, you can also annotate a project reference to the packaging project with the TFM you want it to "pack for" as:

```xml
<ProjectReference Include="Common.msbuildproj" TargetFramework="net6.0"
```

Fixes #155
@kzu kzu merged commit 42af2ed into main May 24, 2022
@kzu kzu deleted the dev/packaging-framework-specific branch May 24, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant