Forum member
piotr_s
7 posts
Posts by piotr_s
-
.NET Core unit tests for project build as exe
Setting "UseAppHost=true" allows to run unit tests, but tests are "red". I've noticed that there are entries in Windows events log with information: "System.IO.FileNotFoundException: Could not load file or assembly 'nCrunch.TestRuntime.DotNetCore, Version=5.20.0.2, Culture=neutral, PublicKeyToken=01…
11 Sep 2026 09:35 UTC
-
.NET Core unit tests for project build as exe
Sorry for answering after such a long time. Setting custom property "UseAppHost=true" solves the problem.
02 Sep 2026 08:47 UTC
-
.NET Core unit tests for project build as exe
I'll check setting "UseAppHost" custom build property and let you know if it works.
03 Feb 2025 06:13 UTC
-
.NET Core unit tests for project build as exe
I appreciate you help. It would be great if NCrunch would have such a functionality (maybe not turned of by default, it could be configurable).
08 Oct 2024 06:19 UTC
-
.NET Core unit tests for project build as exe
In my opinion, instead of necessity to write additional code to copy .exe file or linking it as resource, NCrunch should know that if the project is configured as windows application (console or desktop), there are two files .exe and .dll and these two files should be copied to the NCrunch working d…
07 Oct 2024 07:15 UTC
-
.NET Core unit tests for project build as exe
Hi, this .exe file is used to execute some action, which result is checked by unit test assertions. I could add this exe file as a resource, but if I change build configuration, the exe file won't change and won't be able to use corresponding dll file.
02 Oct 2024 11:14 UTC
-
.NET Core unit tests for project build as exe
Hi, I've project A configured as Windows application (exe). Unit test project B is using reference for project A. In .NET Core Windows application project are build as two file .dll and .exe. Output folder of test project B contains these two files, but workspace folder used by NCrunch contains onl…
01 Oct 2024 13:03 UTC