Forum member
unkown_dev
3 posts
Posts by unkown_dev
-
InvalidOperationException with init properties again (.NET 5)
Thanks for your tips Setting the 'Instrument Output Assembly' setting to false fixed my problem. My development environment: I'm using the VS2022 Preview but had the same problem with VS2019. Resharper and Ncrunch are my only extensions. .NET6 is installed but .NET5 is in use. I don't have a…
31 Aug 2021 08:20 UTC
-
InvalidOperationException with init properties again (.NET 5)
Hi, Unfortunately, I cannot create a self-contained sample solution because I cannot reproduce the error in a sample solution. I'll try to describe my problem. I have a test and i create a new record object "var test = new MyRecord {Name =" test ", Length = 4}" in this test and NCrunch throws …
30 Aug 2021 14:25 UTC
-
InvalidOperationException with init properties again (.NET 5)
Hi, I get an InvalidProgramException when I use init properties in records. All my projects are in .Net 5 and the tests are running with other test runners. In the past this problem has actually been solved, but with version 4.9.0.8 this exception is thrown again. Can you help?
27 Aug 2021 13:13 UTC