Forum member
MikeWard
33 posts
Posts by MikeWard
-
ASP.NET Core 2 App tries to build *.ts files despite being excluded in config
That was it. I was running second latest version. Usually, I get a pop up in VS telling me there's a new version available. Anyways, NCrunch is working again. My world is restored to its nominal order :) Thanks...
09 Mar 2018 15:29 UTC
-
ASP.NET Core 2 App tries to build *.ts files despite being excluded in config
The PropertyGroup settings fixed the typescript issues. Now I'm seeing unresolved in NewtonSoft.Jason [code] NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues ..\..\..\..\..\..\…
08 Mar 2018 15:19 UTC
-
ASP.NET Core 2 App tries to build *.ts files despite being excluded in config
Getting acquainted with ASP.NET core. Added a single test but the main project won't build in NCrunch. [code] NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues app\js\app.ts (8, 2…
07 Mar 2018 18:39 UTC
-
NCrunch runs in different folder than VS Test Runner
Apparently, you found the issue. Updated to 3.3.0.6 and now I have to remove my TestRootPathProvider to get tests to pass.
25 Jan 2017 14:37 UTC
-
NCrunch runs in different folder than VS Test Runner
No to both.
06 Jan 2017 16:20 UTC
-
NCrunch runs in different folder than VS Test Runner
I'm using the built-in testing framework in Visual Studio 2015 with its standard test runner. Not using a third party test runner like Resharper or NUnit. From the command line: mstest /? Microsoft (R) Test Execution Command Line Tool Version 14.0.23107.0
29 Dec 2016 15:43 UTC
-
NCrunch runs in different folder than VS Test Runner
Ever since v2.5 there has been a group of tests that fail and which passed in previous versions. Today I ran down the issue. My project uses the NancyFX framework. NancyFX supports dependency injection which is fortunate because it allowed me to resolve this NCrunch issue. In NancyFX locating …
28 Dec 2016 15:30 UTC
-
Haven't been able to upgrade since 2.23.2
It's not copying files that are marked as "Build Action=Content" and "Copy to Output Directory=Copy if newer". Wish I could send you the project but I can't. Any other diagnostics I can send?
23 Sep 2016 14:37 UTC
-
Haven't been able to upgrade since 2.23.2
Tried updating from 2.32.2. All tests pass and run in 2.32.2 but many fail under 2.26.01. Zipped up the results here. It's been 3 releases now since I've been able to run my tests. Starting to get bummed. http://expirebox.com/download/5bb3d4130043b6914ce9e4d827e1a7be.html
22 Sep 2016 13:49 UTC
-
v2.25, tests fail, indicate file not present
The files show up in the expected folder when building. The output path for the solution is "bin/" and not "/bin/Debug". Maybe that has something to do with it. CSPROJ file below: http://expirebox.com/download/6fad90e07a451012f97e74b475304bc8.html
10 Aug 2016 12:51 UTC
-
v2.25, tests fail, indicate file not present
Upgraded from 2.23 to 2.25. Several tests fail that passed in 2.23. One example of a failed test: [h]System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\mike\AppData\Local\NCrunch\15556\4\PortalTests\bin\Debug\assets\subject-view-toxicities.csv'.[/h] When a check …
09 Aug 2016 14:49 UTC
-
v2.24 not coping referenced assemblies
I haven't dug deep into just yet but it appears to be referenced assemblies from referenced projects. I can't share the project with the issue but I think I can put something together to demonstrate the issue.
23 Jul 2016 17:59 UTC
-
v2.24 not coping referenced assemblies
Just upgraded from 2.23 to 2.24 and a bunch of tests are failing. It appears that some of the build assets are not being copied into the NCrunch workspace. It appears that "Copy referenced assemblies to workspace" is not working. If I roll back to 2.23 everything works.
22 Jul 2016 13:23 UTC
-
What triggers a build?
Here's a very small VS solution I threw together that demonstrates the issue. (- BROKEN LINK -) Once setup (see README.md) you can edit the itunes-app.ts file. Save it and NCrunch builds. P.S. Just noticed I left a syntax error in Bootstrapper.cs trying your earlier suggestion.
21 Jul 2016 16:59 UTC
-
What triggers a build?
added to my .csproj: <ItemGroup Condition="'$(NCrunch)' != '1'"> <None Include="js\out\bundle.js" /> <None Include="js\out\vendor.js" /> <None Include="js\out\vendor.css" /> </ItemGroup> When I delete js\out\bundle.js NCrunch builds/tests.
20 Jul 2016 15:29 UTC
-
What triggers a build?
OK, I see the problem. I need to include the bundle.js and bundle.js.map files in my project so the Visual Studio Publish Profile will use them. It feels like I need a, "consider these files as not part of the solution" option.
19 Jul 2016 15:38 UTC
-
What triggers a build?
Well, this is annoying. It worked for a few hours and now the behavior is back. I can delete the bundle.js file from the out folder and NCrunch builds.
18 Jul 2016 18:50 UTC
-
What triggers a build?
OK, I figured out the issue. My folder structure for Typscript is: \myproject\js\apps\... The output folder for Typescript is: \myproject\js\bin\ This is where the outputs for Typescript go (bundle.js and bundle.js.map). Deleting a file in the \myproject\js\bin folder triggers an …
18 Jul 2016 14:32 UTC
-
What triggers a build?
I agree that it's likely some other tooling changing something and triggering the build. I'll see if I can put together a sample project that illustrates the problem. Of course, this is totally your fault. If you hadn't made it so easy run tests I wouldn't have written so many and this wouldn't b…
16 Jul 2016 11:29 UTC
-
What triggers a build?
I have a Web application written in C# (server) and Typescript (client). I use a single .csproj in this instance. I've excluded *.js and *.ts files in my NCrunch settings but whenever I edit/save Typescript files, NCrunch builds/tests the C# code. Is there a way to determine what triggers the…
15 Jul 2016 15:11 UTC