Forum member

moswald

16 posts

Posts by moswald

  1. Nancy test doesn't discover modules

    Thanks for the note. I'm also very surprised that copying the referenced assemblies into the workspace didn't fix the issue. Also turning on preloading assembly references didn't help. I'll check with the Nancy team and if there's a solution I'll come back here with an update.

  2. Nancy test doesn't discover modules

    Reposting my SO question here. Short summary: when VS Test Explorer runs my tests, Nancy discovers the modules assembly and loads them without any prompting from me. When NCrunch runs those tests, I have to be explicit about which module I'm testing. https://stackoverflow.com/questions/4510394…

  3. project using project.json can't find `system.net.http`

    Yes, NCrunch 2.4 builds the project properly, but 3.1 does not.

  4. project using project.json can't find `system.net.http`

    It restores and builds properly from within VS2015, but NCrunch 3 does [i]not[/i] build it. I'm fairly certain this project was working fine under v2.4, but I'll have to wait until tomorrow to test that out.

  5. project using project.json can't find `system.net.http`

    Hrm. This isn't a .NET Core library, though. It's just using `project.json` as the nuget source. I thought at one point this was working, but maybe I'm misremembering.

  6. project using project.json can't find `system.net.http`

    This is the entire project.json file: [code=jscript]{ "dependencies": { "System.Collections.Immutable": "1.2.0", "System.Net.Http": "4.0.0" }, "frameworks": { "net461": {} }, "runtimes": { "win": {}, "win-x64": {} } }[/code] It builds fine in VS2015…

  7. Unable to run tests for Orleans

    Running tests for Orleans always results in this exception: [quote]System.Runtime.Serialization.SerializationException: Type is not resolved for member 'Orleans.Runtime.Silo+SiloType,OrleansRuntime, Version=1.2.3.0, Culture=neutral, PublicKeyToken=null'.[/quote] The Orleans HelloWorld tests are a…

  8. Path to nuget cache?

    Aha, I have it figured out. You were right, it didn't have anything to do with the nuget package itself. The build process knows about the nuget cache, and so nCrunch shouldn't need to do anything special. [i]However[/i], nCrunch doesn't automatically copy the generated .nuget.targets file, and s…

  9. Path to nuget cache?

    [url=http://github.com/moswald/nCrunchRefitAndNuget3]Ok, I posted a really simple set of projects to github[/url].

  10. Path to nuget cache?

    I think so? It's definitely broken right now. :) If you want, tomorrow I can put together a sample test suite and put it on GitHub for you to take a look at.

  11. Path to nuget cache?

    In this case, the [url=https://github.com/paulcbetts/refit]nuget package comes with a tools subfolder[/url] with an executable inside that gets run as a pre-build step. Pre-nuget 3.0, the only way to get it working was to use the IncludeAdditionalFiles property.

  12. Path to nuget cache?

    Whoops, your reply got sent to my spam folder. Thanks for the tip about nCrunch ignoring missing folders. At least that way we get those tests back for now.

  13. Path to nuget cache?

    I'm building a project that needs to include additional files. Prior to Nuget v3, I could point it to ../packages/refit/2.4.1/tools/*.*, but now the Nuget packages are stored in c:\users\moswald\.nuget\packages. I've tried changing the "additional files" path to %USERPROFILE%/.nuget/... but that doe…

  14. ncrunch doesn't appear to understand Link file entries in project files

    I've got a data file contained in Project_A, that I also include in Project_B.UnitTests as a link. In the vcproj file, it looks like this: [code=xml]<ItemGroup> <None Include="..\..\Project_A\Data\SomeData.json"> <Link>TestData\SomeData.json</Link> </None> </ItemGroup>[/code] …

  15. Can't find 'Void System.Int32[,].Set(Int32, Int32, Int32)'

    Thanks, turning off instrumentation did the trick. NCrunch is awesome, btw, great work!

  16. Can't find 'Void System.Int32[,].Set(Int32, Int32, Int32)'

    I've built a test project you can access [url=https://bitbucket.org/moswald/ncrunch_test/]here on bitbucket.org[/url]. Basically, go into the UnitTest project, TestExtensions.cs file, and on line 29 set[code=csharp]fail = true[/code]NCrunch will report the following: [code] *** Failures *** …