I am trying to consolidate daily bar through minute bars. It was working until yesterday, and I saw the error messages below.

Build Warning: File: Main.cs Line:247 Column:67 - The type `QuantConnect.Algorithm.Field' conflicts with the imported type of same name'. Ignoring the imported type definition
Build Error: File: Line:0 Column:0 - ../cache/..QuantConnect.AlgorithmField.cs(25,33): (Location of the symbol related to previous warning)
Build Error: File: Line:0 Column:0 - QuantConnect.Common.dll (Location of the symbol related to previous warning)


Not sure why it just stop working. Can anybody help? The snippet is attached below, and line 247 is where I have "RegisterIndicator("SPY", SPY_Close, Resolution.Daily, Field.Close);"

public Identity SPY_Close;

AddSecurity(SecurityType.Equity, "SPY", Resolution.Minute);
SPY_Close = new Identity("SPY");
RegisterIndicator("SPY", SPY_Close, Resolution.Daily, Field.Close);