Rank: Newbie
Groups: Registered
Joined: 6/22/2016(UTC) Posts: 9
Thanks: 2 times Was thanked: 2 time(s) in 2 post(s)
|
Hi, I have a class library in vs2017/msbuild15 project format that targets both net461 and netstandard13. The test project targets net461. I'm running ncrunch 3.9.0.1. The source project builds fine for the net461 target and the tests are run, but for the netstandard13 target, I get the following build error: Code:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\<user>\.nuget\packages\Microsoft.NETCore.App'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.Directory.GetDirectories(String path)
at nCrunch.Common.IO.DirectoryPath.GetDirectories(String wildcardSpec)
at nCrunch.Core.PlatformTypes.DotNetCorePlatformType.GetRequiredPackageDependencies()
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.(ProcessorArchitecture , String )
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.CreateComponentFromXml(FilePath projectFilePath, ParsedBuildXml projectXml, FilePath solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, VisualStudioVersion vsVersion, ComponentUniqueName componentName, TaskSettings componentTaskSettings, Exception parseException, String targetFramework)
sample project that illustrates the problem: https://www.dropbox.com/...tandardLibrary.zip?dl=0
|