We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This allows you to set variables at a top level, that are used in projects.
e.g. Directory.Build.props
<NetCoreTargetFramework>net6.0</NetCoreTargetFramework> <NetStandardTargetFramework>netstandard2.0</NetStandardTargetFramework> <NetFrameworkTargetFramework>net472</NetFrameworkTargetFramework>
a project file in a sub-directory
<TargetFramework>$(NetCoreTargetFramework)</TargetFramework>
More details about how Directory.Build.props works in docs: https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2022
Directory.Build.props
To solve:
or
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This allows you to set variables at a top level, that are used in projects.
e.g.
Directory.Build.props
a project file in a sub-directory
More details about how
Directory.Build.props
works in docs: https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2022To solve:
or
The text was updated successfully, but these errors were encountered: