Forum member

craigrichards

10 posts

Posts by craigrichards

  1. NCruch running Specflow Test and getting "No Matching step definition"

    Thanks for your quick responses. I was able to troubleshoot the issues from my side and it was my issue and nothing to do with NCrunch in the end. The updated NCrunch version also resolved the Com+ issues i was having. The tests all run fine now.

  2. NCruch running Specflow Test and getting "No Matching step definition"

    Thanks for the quick response. Firstly I am a huge fan and have been since v1. NCrunch builds my project ok. Some Specflow tests run ok. Other Tests fail with a 'Missing step definition error'. If I run these tests through MSTest / Resharper they are all successful.

  3. NCruch running Specflow Test and getting "No Matching step definition"

    Hi, Currently getting into troubles with NCrunch and Specflow. I am getting missing step definitions. Work perfectly through the Resharper / MSTest runner with the MSTestAdapter. I am running - NCrunch 3.14.0.1 - Specflow 2.3.0 - Specflow Extension 2017.1.12 - VS 2017 Here is a copy of t…

  4. 'System.Linq.IQueryable' does not contain definition for 'Where'

    What I don't understand from the following error is. I browsed to where the EnergyMarkets project is being built by NCrunch. Opened the project and CPIRates correctly does not exist in that namespace. it is in 'EnergyMarkets.CPIRates.Persistence.EntityFramework'. I guess why would this be happening?…

  5. 'System.Linq.IQueryable' does not contain definition for 'Where'

    NCrunch has not gioven me any warnings about assembly referencing. It is a pretty standard project structure and nothing fancy with pre/post build events. Rebuild of foreground and the a reset od NCruch does nothing useful. I will try downgrading later on this afternoon.

  6. 'System.Linq.IQueryable' does not contain definition for 'Where'

    Oops, spoke too soon. Another project is failing to build with the following error. EnergyMarkets\DealCalculations\CPIRatesTests.cs (11)#0: The type or namespace name 'CPIRates' does not exist in the namespace 'EnergyMarkets.CPIRates.Entities' (are you missing an assembly reference?)

  7. 'System.Linq.IQueryable' does not contain definition for 'Where'

    It looks like this is an intermittent issue. I have made a bunch of other unrelated changes and it is now compiling with NCrunch.

  8. 'System.Linq.IQueryable' does not contain definition for 'Where'

    The method i am calling is below. I application compiles and runs ok. It looks like the type namespaces are getting messed up somehow. Yes NCrunch was working ok. I did just upgrade in the last couple of days to the latest and it has stopped working. No one else in the team is using NCrunch. I a…

  9. 'System.Linq.IQueryable' does not contain definition for 'Where'

    Hi Romco, This method is in System.core in the .net 4.0 framework. Hope that helps.

  10. 'System.Linq.IQueryable' does not contain definition for 'Where'

    I have a build issue around the following code. For somereason it now can't find the Where extension method. public IEnumerable<CPIRate> All(Expression<Func<CPIRate, bool>> filter = null) { var cpiRates = DB.CPIRates.Include(x => x.Type); if (filter !=…