You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes paket restore before dotnet restore is always a good idea
David <notifications@github.com> schrieb am Do., 10. Mai 2018, 02:06:
So this is probably an issue in paket? Because paket does about a minute of restores when there's no need for restoring anything. Is there anything to do about the long restore times when nothing has changed?
C:\dev\logary\.paket\Paket.Restore.targets(132,5): error MSB4044: The "ReadLinesFromFile" task was not given a value for the required parameter "File". [C:\dev\logary\s
rc\Logary.PerfTests\Logary.PerfTests.fsproj]
@haf In the targets file is the line ReadLinesFromFile File="%(PaketResolvedFilePaths.Identity)" >
Can you try adding a condition like Condition="'@(PaketResolvedFilePaths)' != ''" and try again?
I think that solves it, but I can't run the build script to verify because paket replaces paket.restore.targets. I will try a few different things and report back.
Activity
forki commentedon May 10, 2018
haf commentedon May 14, 2018
So this is probably an issue in paket? Because paket does about a minute of restores when there's no need for restoring anything. Is there anything to do about the long restore times when nothing has changed?
forki commentedon May 14, 2018
can you please update your paket.targets file (install should do that) and try with 5.163 again?
haf commentedon May 14, 2018
That unfortunately breaks it all
haf commentedon May 14, 2018
I've pushed the WIP, so you can test on the logary branch if you want.
haf commentedon May 14, 2018
This is what you use to run it:
matthid commentedon May 14, 2018
@haf In the targets file is the line
ReadLinesFromFile File="%(PaketResolvedFilePaths.Identity)" >Can you try adding a condition like
Condition="'@(PaketResolvedFilePaths)' != ''"and try again?matthid commentedon May 14, 2018
Also can you please try to run
dotnet runwith the/bl:mylog.binlogparameter and attach the generated logfile to this issue?haf commentedon May 14, 2018
I think that solves it, but I can't run the build script to verify because paket replaces paket.restore.targets. I will try a few different things and report back.
matthid commentedon May 14, 2018
thing is paket shouldn't be run at all after a full restore
haf commentedon May 14, 2018
The 163 version + @matthid's condition solves the problem! // @forki
matthid commentedon May 15, 2018
@haf I think forki already released again, can you check if perf is better now?
haf commentedon May 15, 2018
Much better!
forki commentedon May 15, 2018
yay!