Hi,
I have converted all my projects to use PackageReference
and now NCrunch is failing to build. VS builds and restores packages just fine.
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
NCrunch: This project was built on server '(local)'
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\NuGet\15.0\Microsoft.NuGet.targets: The package AutoMapper with version 6.2.2 could not be found in C:\Users\DanielSimonavi??ius\.nuget\packages\. Run a NuGet package restore to download the package.
but the packages do exist?!
C:\Users\DanielSimonavičius\.nuget\packages\automapper>dir /s *.*
Directory of C:\Users\DanielSimonavičius\.nuget\packages\automapper
14/01/2018 21:55 <DIR> .
14/01/2018 21:55 <DIR> ..
14/01/2018 21:55 <DIR> 6.2.2
0 File(s) 0 bytes
Directory of C:\Users\DanielSimonavičius\.nuget\packages\automapper\6.2.2
14/01/2018 21:55 <DIR> .
14/01/2018 21:55 <DIR> ..
14/01/2018 21:55 565,274 automapper.6.2.2.nupkg
14/01/2018 21:55 88 automapper.6.2.2.nupkg.sha512
06/12/2017 15:08 3,854 automapper.nuspec
14/01/2018 21:55 <DIR> lib
3 File(s) 569,216 bytes
Directory of C:\Users\DanielSimonavičius\.nuget\packages\automapper\6.2.2\lib
14/01/2018 21:55 <DIR> .
14/01/2018 21:55 <DIR> ..
14/01/2018 21:55 <DIR> net40
14/01/2018 21:55 <DIR> net45
14/01/2018 21:55 <DIR> netstandard1.1
14/01/2018 21:55 <DIR> netstandard1.3
0 File(s) 0 bytes
.csproj details:
<ItemGroup>
<PackageReference Include="AutoMapper" Version="6.2.2" />
<PackageReference Include="CommonServiceLocator" Version="2.0.2" />
<PackageReference Include="EFInteractiveViews" Version="1.0.1" />
<PackageReference Include="EntityFramework" Version="6.2.0" />
<PackageReference Include="Logify.Alert.Core" Version="1.0.39" />
<PackageReference Include="Logify.Alert.Wpf" Version="1.0.39" />
<PackageReference Include="Unity" Version="5.5.5" />
</ItemGroup>
One thing - the project files are on P: drive, if I try to add "additional files to include", it would not let me: "... Expressions must be relative path of existing file or directory"...
Thanks Daniel