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
Mixed solution (.net full/.net core) doesn't work with global paket installation #3687
Comments
can you please upload a zip with repro? |
Sure, here you go |
I just added paket.exe (bootstrapper in magic mode) in your .paket folder. run .paket\paket.exe restore and dotnet build and all worked. |
I see, will update description. Can it be fixed for global paket installation? |
It should work with global as well. But you need a recent version and you
need the targets file in .paket folder. A call to paket should give you
that. You then need to commit it
Vladimir Shchur <notifications@github.com> schrieb am Mi., 16. Okt. 2019,
16:11:
… I see, will update description. Can it be fixed for global paket
installation?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3687?email_source=notifications&email_token=AAAOANAZMBQ677KGW3OSNG3QO4OIZA5CNFSM4JBKFIQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBMUGUY#issuecomment-542720851>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOANFNMKGASZ46FF4L3QTQO4OIZANCNFSM4JBKFIQQ>
.
|
I do use the latest paket version and targets file is inside .paket folder in my example. You can also take a look at Repro steps, I got everything just by creating projects from scratch and running convert-from-nuget command. |
It was not in the zip IIRC . We need Paket.Restore.targets
Vladimir Shchur <notifications@github.com> schrieb am Mi., 16. Okt. 2019,
16:39:
… I do use the latest paket version and targets file is inside .paket folder
in my example. You can also take a look at Repro steps, I got everything
just by creating projects from scratch and running convert-from-nuget
command.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3687?email_source=notifications&email_token=AAAOANFAJMUX3VTP64YWMGDQO4RTBA5CNFSM4JBKFIQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBMXP7Y#issuecomment-542734335>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOANGCTXJ2O5CH26DZP7TQO4RTBANCNFSM4JBKFIQQ>
.
|
Sorry, mixed up with paket.targets. I've tried adding paket.exe in |
@atlemann ideas? |
It doesn't work for full framework only solution, so it doesn't matter if it's mixed platform. Why, I don't know yet, but I never changed |
It's very strange, since we're using paket as global tool for a massive project with 150ish full-framework projects and a couple of new-sdk projects and it works... |
Replacing @Lanayx Could you try to replace the content of your
|
Haha, found it. It seems |
Hugs
Atle Rudshaug <notifications@github.com> schrieb am Do., 17. Okt. 2019,
08:26:
… Haha, found it. It seems paket.exe still exists in then .paket folder.
That's why it works. It's been a while since I worked on that solution. I
guess I'll open a PR to fix paket.targets. Guess there aren't many users
of global tools and full framework projects, since this came up this late.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3687?email_source=notifications&email_token=AAAOANCJFFJDEARYQJQ3IETQPAAQFA5CNFSM4JBKFIQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBO6MEA#issuecomment-543024656>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOANA7X3ZEQJCKQP53PC3QPAAQFANCNFSM4JBKFIQQ>
.
|
@atlemann For some reason .net full only solution worked well for me with global tools and without
Yes, I think it's because this page doesn't suggest this option even though it's the simplest way to get started. |
the updated paket.targets file ships with 5.226.0 |
Thank you guys for such a quick resolution! |
No prob, forki usually fixes things faster than Lucky Luke draws his weapon. Now the question is, how do I update it in an existing project? Invoking |
yes we do not touch the old targets files. people need to download those from release page |
Ok, I just did. Fix works for our massive solution as well...when I removed the dangling |
Description
I can't make mixed solution work.
Repro steps
Create a new solution with full .net console application.
Add new console .net core application to the solution.
Run command
paket convert-from-nuget
(I have paket installed globally as dotnet tool)Try to run full .net console app
Expected behavior
Console app runs successfully
Actual behavior
I get error
The command ""C:\Users\user\source\repos\MixedSolution\.paket\paket.exe" restore --references-file "C:\Users\user\source\repos\MixedSolution\paket.references"" exited with code 9009.
Known workarounds
Copy paket.exe to .paket folder
The text was updated successfully, but these errors were encountered: