Forum member

fcournoyer

4 posts

Posts by fcournoyer

  1. NCrunch Build failure on C# 6 projects

    Well for us there's history reasons on why it happened. First, at some point, we had a slow transition from VS 2013 to VS2015. In order that it compiles for everyone, we have set C#5 to all projects, so that people coding in 2015 don't break the build by using C#6 features not compatible for thos…

  2. NCrunch Build failure on C# 6 projects

    Hi Remco! I finally found the problem, which is simply because of the "Default Platform" in the csproj. It usually happened on older projects, which might have extra platforms existing (normally unused). For example, a project "Foo" is always compiled using x86 (by the Configuration Manager …

  3. NCrunch Build failure on C# 6 projects

    Hi Remco! Thanks for the quick response. Sadly this contains sensitive code from the company I'm working for, that I can't share. Obviously, making a small project using "nameof" operator does get compiled correctly by NCrunch. If I find anything which fixes it, I'll let you know. Francoi…

  4. NCrunch Build failure on C# 6 projects

    Hi! Recently moved back to a project, with ongoing development from my team, and am now with a new computer. So I downloaded the latest version of NCrunch (3.6) And I pulled the newest code from git, involving quite some changes. In Visual Studio, everything compiles and runs successfully. …