Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized
Remco
#22 Posted : Thursday, July 2, 2020 12:09:16 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,117

Thanks: 794 times
Was thanked: 1043 time(s) in 993 post(s)
Magbr;14837 wrote:
.net 4.8 builds fine with dotnet build.
No errors as I can see from launching the testhost executables.


Can you confirm that you are able to run tests under other versions of .NET?

Are you able to produce this issue in a small sample project that is disconnected from your work?
Magbr
#23 Posted : Thursday, July 2, 2020 9:15:53 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/25/2016(UTC)
Posts: 22

Thanks: 4 times
I believe this is somehow related to the magnitude of the solution(60 projects). It doesn't happen in the small console sample.

Tests run fine in other assemblies.

Would it be a problem that the .net 4.8 assembly references assemblies with other .net framework versions?
Remco
#24 Posted : Thursday, July 2, 2020 11:19:58 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,117

Thanks: 794 times
Was thanked: 1043 time(s) in 993 post(s)
Magbr;14839 wrote:

Would it be a problem that the .net 4.8 assembly references assemblies with other .net framework versions?


Unless you have the preload assembly references setting enabled, this is unlikely to be the cause of the problem.

The process is self terminating before NCrunch can even properly initialise it, which means this is very structural. It could be something in your environment.

Does switching the version of .NET used by the test project in question make any difference?
Magbr
#25 Posted : Thursday, July 2, 2020 5:48:44 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/25/2016(UTC)
Posts: 22

Thanks: 4 times
Remco;14840 wrote:
Magbr;14839 wrote:

Would it be a problem that the .net 4.8 assembly references assemblies with other .net framework versions?


Unless you have the preload assembly references setting enabled, this is unlikely to be the cause of the problem.

Does switching the version of .NET used by the test project in question make any difference?


It's not enabled.

Ooo interesting, it turns out the 4.4.0.8 update fixed builds of the 4.8 projects. However the ones that aren't building now are actually netcoreapp2.2 projects...

Also interestingly if I change those to core 3.1 they build...!




Side note: whenever I make a change, the gui uncollapses some tests every time. Even though nothing in that assembly is pinned. Quite annoying
Remco
#26 Posted : Friday, July 3, 2020 12:28:35 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,117

Thanks: 794 times
Was thanked: 1043 time(s) in 993 post(s)
Are these problems inconsistent or do they happen for the same projects every time?
Magbr
#27 Posted : Friday, July 3, 2020 1:37:06 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/25/2016(UTC)
Posts: 22

Thanks: 4 times
The same projects are uncollapsed every time
Remco
#28 Posted : Saturday, July 4, 2020 12:22:07 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,117

Thanks: 794 times
Was thanked: 1043 time(s) in 993 post(s)
Magbr;14844 wrote:
The same projects are uncollapsed every time


How about the build issues?

Are you able to reproduce the netcoreapp2.2 build issues in a sample project?
Users browsing this topic
Guest
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.042 seconds.