| targetFramework | No | The [target framework moniker (TFM)](Target-Frameworks.md) to apply when installing the package. This is initially set to the project's target when a package is installed. As a result, different `<package>` elements can have different TFMs. For example, if you create a project targeting .NET 4.5.2, packages installed at that point will use the TFM of net452. If you ;later retarget the project to .NET 4.6 and add more packages, those will use TFM of net46. A mismatch between the project's target and `targetFramework` attributes will generate warnings, in which case you can reinstall the affected packages. |
0 commit comments