Forum member

FrankShearar

17 posts

Posts by FrankShearar

  1. NCrunch.Framework license?

    3.3.0.6 was license Apache-2.0, but 3.10.0.5 and newer versions didn't ship with licensing info. I'm having to do the "legal team wants to know licenses" dance at work again, and I'm not sure what to tell them.

  2. _SplitProjectReferencesByFileExistence caused by global.json asking for an uninstalled .NET Core SDK

    I just found another reason why _SplitProjectReferencesByFileExistence might not be found. My project used a fork of libphonenumber-dotnet (https://github.com/jarroda/libphonenumber-dotnet/) with some minor modifications: we had cross-targeted net45;netstandard1.0. I hadn't touched the project in…

  3. NCrunch 3.12.0.15 clients: flagged by Windows Defender as a trojan

    Hm, OK. I had seen that post, but thought it was a different scenario - I didn't scroll down far enough through the replies. Thanks!

  4. NCrunch 3.12.0.15 clients: flagged by Windows Defender as a trojan

    The NCrunch client off https://www.ncrunch.net/download/getMsi?version=3.12&vs=2015 is blocked/quarantined by both Chrome and Windows Defender. Defender reports it as having "Trojan:Win32/Azden.A!cl" (The version for VS 2017 is likewise blocked/quarantined.)

  5. NCRUNCH 3.3: don't resolve nuget packages in project with project.json

    Yep, same behaviour in 3.9 - the server looks in the ~/.nuget/ directory for packages, where ~ is the service's user account: ..\..\..\..\..\..\..\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (140, 5): The package NCrunch.Framework with version 2.27.0.3 could not be found i…

  6. NCRUNCH 3.3: don't resolve nuget packages in project with project.json

    Sure. Here's a very small project that fails to build (NCrunch 3.4 client, same on server): (- BROKEN LINK -) In the zip I have added the NCrunch diagnostic output from a similar run, and a zip of that workspace. The server fails the build with this error: ****************** BUILD OUTPUT FR…

  7. NCRUNCH 3.3: don't resolve nuget packages in project with project.json

    We use project.json for NuGet references - 3.2 grid servers handles this just fine. In 3.4 and in 3.7 we see different, but broken, behaviours. If my local username is "frsheara", in 3.4 I see NuGet trying to find packages in C:\WINDOWS\system32\config\systemprofile\.nuget\packages (the .nuget in…

  8. Can't load strong named dependency

    OK, it was definitely our fault: we had delay-signed the dependency, but not actually signed it!

  9. Can't load strong named dependency

    It's a Nuget 3 style reference - once of those "virtual" references that show up blue - that only appears in nuget's project.json. (It's worth noting that all our other strong named dependencies - NUnit, Newtonsoft.Json - are referenced like this, and can run fine. The test project actually build…

  10. Can't load strong named dependency

    I have a simple one-project-one-test-project solution. The test project pulls in a dependency with a strong name. The test project seems to compile OK, except that the tests that use the dependency all fail when the referenced assembly is resolved: System.IO.FileLoadException : Could not load fil…

  11. Sometimes NCrunch discovers no tests in a test project

    [quote=Remco;8690]Are you using distributed processing?[/quote] We are, but I just ran into this issue _without_ using distributed processing.

  12. Making NCRUNCH aware of additional reference (for which there is no code, just dlls)

    [quote=Remco;5548]I think that there's a couple of options for how you can work around this. Probably the simplest option would be to include references from both the production and test projects to the FSharp.Data.DesignTime assembly, then make these references 'NCrunch only'. For example: <Re…

  13. Sometimes NCrunch discovers no tests in a test project

    We do have some relatively complex TestCaseSource implementations, but they're not expensive: there's no database/network accessing stuff, just creating complicated domain objects. Is it possible to hook into NCrunch's diagnostic output? I could add some instrumentation to the more complicated Te…

  14. Sometimes NCrunch discovers no tests in a test project

    I've seen it happen a few times since the report, but unfortunately haven't caught it in the act with diagnostics yet. It does seem to happen most frequently during reloading as a result of a git checkout.

  15. Sometimes NCrunch discovers no tests in a test project

    There are no errors: it just doesn't find any tests in the affected project. I am using distributed processing, with NUnit, and am using TestCaseSource.

  16. Sometimes NCrunch discovers no tests in a test project

    We have a pretty large test suite in a project - around 7k tests, once you've counted all the parameterised tests. Occasionally (maybe a few times a week?) NCrunch will fail to discover any tests in the project. Sometimes, "Reload and rebuild configured component" will fix things. Sometimes I hav…

  17. ProjectReference to F# Console Application: exe not copied

    I have a project A that builds an executable. My test project B wants to run this executable, and verify its output under various conditions. In B's fsproj I added a ProjectReference to A. When I run the tests, I can see (from the error and from inspecting the workspace) that the executable isn't co…