This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Commit bd6b554
Resetting the TF in the targets used by VS
TF must be empty to bypass the CpsPackageReferenceProjectProvider:
https://github.com/NuGet/NuGet.Client/blob/dev/src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/ProjectSystems/CpsPackageReferenceProjectProvider.cs
and being correctly created by the LegacyCSProjPackageReferenceProjectProvider
https://github.com/NuGet/NuGet.Client/blob/dev/src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/ProjectSystems/LegacyCSProjPackageReferenceProjectProvider.cs
The CPS-based provider can't be used because it's expecting the ProjectRestoreInfo stuff provided (only for now) by the Roslyn project system
On the other hand, we MUST need the TF value when the project is being restored from cmd-line.1 parent 4c70eef commit bd6b554
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments