Remco;14098 wrote:Thanks for confirming this.
I've taken a look at the bug report you've sent through, and it looks like you're experiencing a problem with the new optimised mode that hasn't been reported yet.
Something about this project results in NCrunch trying to resolve v0.0.0.0 of mscorlib. I'm not really sure how that's possible.
Can you tell me a bit more about this project? Which platform is it targeting, and which compiler is it using? Is there any post-build processing of the assembly? (i.e. IL weavers, postsharp, other manipulators).
Thank you for your reply.
The project has been in development for about 7 years, starting life in Visual Studio 2012 as a REST API using ServiceStack and MongoDB, the tests were written using NUnit and Moq.
Over the years it's grown and changed. It now has multiple website and API projects with references to SQL, AWS, NHibernate, xUnit.net, AutoFixture, NSubstitute, Dapper, and many more (but nothing that I can think of as being particularly out in left field).
It currently targets .NET Framework 4.6.2, is developed in Visual Studio 2017 and is deployed to 64-bit Windows Server 2016 running IIS 10 hosted by AWS. NCrunch is running on the same machine the software is developed on, 64-bit Windows 10 Pro computers. It is compiled using the Visual Studio IDE using the Debug configuration and the 'Any CPU' platform target.
I'm not aware of anything that would be doing post-build processing (we're not using any of the manipulators you listed). The only reference to a PostBuildEvent I can find in the csproj files is one instance of this:
Code:
<PropertyGroup>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
I cannot find any explicit references to mscorlib in any of the csproj files.