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)
-
0
Hi,
You can safely delete it.
See that commit. Your project version is probably older, so you don't need ITempFileCacheManager injection.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks yekalkan. I don't seem to be able to open the link however.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
You need to invite your github account to our private repositories. See https://aspnetzero.com/LicenseManagement
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)