Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

F# .net core projects doesn't build in after upgrade to VS 2017 15.7.0
zapotec
#1 Posted : Tuesday, May 8, 2018 1:25:02 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/8/2018(UTC)
Posts: 2
Location: Russia

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/d...ng_project-build-issues
..\..\..\.paket\Paket.Restore.targets (74, 5): The command ""O:\Temp\NCrunch\9812\22\.paket\paket.exe" restore" exited with code 9009.

It doesn't work with latest .NET Core SDK (2.1.300-rc1-008673) nor with latest RTM ( 2.1.200)

Both VS build and console 'dotnet build' runs ok without issues.

Paket version 5.156.7
Windows 10 Pro x64
NCrunch 3.15.0.6
VS 2017 15.7.0 RTM

Tryed replacing "Newtonsoft.Json.dll" with 11.0 version without luck.
Remco
#2 Posted : Tuesday, May 8, 2018 2:07:37 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, thanks for sharing this problem.

Does turning on the 'Copy referenced assemblies to workspace' setting for the projects involved resolve this issue?

It may be necessary to turn off your paket restore step for NCrunch builds using an MSBuild condition.
1 user thanked Remco for this useful post.
zapotec on 5/8/2018(UTC)
zapotec
#3 Posted : Tuesday, May 8, 2018 7:08:48 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/8/2018(UTC)
Posts: 2
Location: Russia

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Adding

<PropertyGroup>
<!-- Disable Paket restore under NCrunch build -->
<PaketRestoreDisabled Condition="'$(NCrunch)' == '1'">True</PaketRestoreDisabled>
</PropertyGroup>

to Directory.Build.props solved the problem. Thanks!! It is my fault to not properly reading "Troubleshooting" docs...
1 user thanked zapotec for this useful post.
Remco on 5/8/2018(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.028 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download