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);
}
}
But the "missing" DLL is in the folder, it's not readonly or any other flags Windows has.
Use managed compatibility mode
has to be activated
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With