paket.targets -> Paket.Restore.targets#3604
Conversation
I believe the docs are out of date on this file. I don't have a paket.targets file, only a Packet.Restore.targets file. Updated the docs on the assumption Paket.Restore.targets is the new name. Pls review my comment on the implications of not committing this file as I'm not sure that is correct.
|
Afaik, |
|
@matthid Thank you for clarifying. So I should update the FAQ to note that |
|
@matthid can the target file be avoided entirely? Then how are references even resolved? Isn't that trough the target file? At least that's my impression in the new SDK format? |
|
@JohnyWS there are two of them |
|
@matthid I'm not sure I get it. I just tried the following: Project A is old csproj format. Cloned it as Project B and changed it to SDK format. Installed paket in both. Lastly, I called "paket auto-restore off" on both. This results in Project A having no target file, but Project B still has "Paket.Restore.targets" file, as well as auto-restore. So in the new SDK format, how is it supposed to work? If "Paket.Restore.targets" is gone, there is now targets file left, and if now, how are the NuGet references supposed to work? |
I believe the docs are out of date on this file. I don't have a paket.targets file, only a Packet.Restore.targets file. Updated the docs on the assumption Paket.Restore.targets is the new name.
Pls review my comment on the implications of not committing this file as I'm not sure that is correct.