Base solution for your next web application
Open Closed

RAD Tool Issue - ITempFileCacheManager #5888


User avatar
0
system15 created

Hi all,

I was hoping someone could advise me; we have recently been having an issue when using the RAD tool in ASP.Net Zero with the tempFileCacheManager in the MainTemplate for ExportAppService Class (Excel Exporter).

The line that is causing errors is:

public {{Entity_Name_Plural_Here}}ExcelExporter( ITimeZoneConverter timeZoneConverter, IAbpSession abpSession, **ITempFileCacheManager tempFileCacheManager) : base(tempFileCacheManager) //HERE** { _timeZoneConverter = timeZoneConverter; _abpSession = abpSession; }

But when removed appears to cause no issues. Please can you advise as to whether this is required and its desired functionality? For the time being we have removed it from our templates but wanted to ensure there would be no loss by doing so.

The error we are getting is: "The Type or Namespace ITempFileCacheManager could not be found"

Thanks in advance


3 Answer(s)
  • User Avatar
    0
    yekalkan created

    Hi,

    You can safely delete it.

    See that commit. Your project version is probably older, so you don't need ITempFileCacheManager injection.

  • User Avatar
    0
    system15 created

    Thanks yekalkan. I don't seem to be able to open the link however.

  • User Avatar
    0
    yekalkan created

    You need to invite your github account to our private repositories. See https://aspnetzero.com/LicenseManagement