Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FileNotFoundException while watching variables in debug mode

Tags:

I have this piece of code (well I have the issue everywhere)

When I debug this, break in the funcion, try to watch some variables. And I keep getting a FileNotFoundException

    public void PayrollActivityCodeTest()
    {
        using(var pr = new ActivityCodeProcess())
        {
            pr.Add();
            pr.WorkingEntity.PayrollConfiguration.Provinces = PayrollProvincesType.QC | PayrollProvincesType.ON;

            pr.WorkingEntity.ActivityCodeId = "01";
            //pr.WorkingEntity.Rates.CodeByProvinceCollection.First().CodeValueCollection.FirstOrDefault().Value
            Assert.AreEqual(2, pr.WorkingEntity.Rates.CodeByProvinceCollection.Count);
        }
    }

enter image description here

But the "missing" DLL is in the folder, it's not readonly or any other flags Windows has.

enter image description here

like image 764
poudigne Avatar asked Apr 19 '16 13:04

poudigne


1 Answers

Use managed compatibility mode has to be activated enter image description here

like image 198
poudigne Avatar answered Sep 28 '22 03:09

poudigne