Forum member
moswald
16 posts
Posts by moswald
-
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.
15 Jul 2017 12:38 UTC
-
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…
14 Jul 2017 13:25 UTC
-
project using project.json can't find `system.net.http`
Yes, NCrunch 2.4 builds the project properly, but 3.1 does not.
01 Dec 2016 17:08 UTC
-
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.
30 Nov 2016 23:35 UTC
-
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.
30 Nov 2016 20:20 UTC
-
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…
30 Nov 2016 15:30 UTC
-
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…
23 Sep 2016 14:45 UTC
-
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…
04 Mar 2016 04:06 UTC
-
Path to nuget cache?
[url=http://github.com/moswald/nCrunchRefitAndNuget3]Ok, I posted a really simple set of projects to github[/url].
03 Mar 2016 16:05 UTC
-
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.
03 Mar 2016 04:58 UTC
-
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.
03 Mar 2016 04:54 UTC
-
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.
21 Feb 2016 23:10 UTC
-
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…
16 Feb 2016 17:54 UTC
-
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] …
13 Jun 2012 07:44 UTC
-
Can't find 'Void System.Int32[,].Set(Int32, Int32, Int32)'
Thanks, turning off instrumentation did the trick. NCrunch is awesome, btw, great work!
02 Jun 2012 06:58 UTC
-
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 *** …
01 Jun 2012 15:37 UTC