Inhalte aufrufen

Profilbild

Solution For Cleaning Temporary ASP.NET Files For Plugin Development

Plugin Plugins Plugin Development Cleaning ASP Temp Cleaning ASP Temporary Files

1 Antwort zu diesem Thema

#1 Sherif Ahmed

Sherif Ahmed

    Benutzer

  • Members
  • 26 Beiträge

Geschrieben: 02 May 2014 - 17:38

In the plugin project build Events

just paste the below batch in the Post-build event command line area:

ECHO off
CLS
ECHO Clearing Temporary ASP.NET Files
SET TemporaryFilesPath=%userprofile%\AppData\Local\Temp\Temporary ASP.NET Files
@IF EXIST "%TemporaryFilesPath%" GOTO CONTINUE
ECHO COULDN't FIND Temporary ASP NET Folder: %TemporaryFilesPath%
GOTO EXIT
:CONTINUE
rmdir "%TemporaryFilesPath%\root" /S /Q
PAUSE
:EXIT

and change the Run the post-build event combobox to :

When the build updates the project output

that's all.


Sherif Ahmed

Software Engineer

Egypt


#2 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1013 Beiträge

Geschrieben: 05 May 2014 - 16:53

Thanks Ahmed, much appreciated.


  • Sherif Ahmed gefällt das

Murat Cakir
SmartStore AG




Auf dieses Thema antworten



  

Auch markiert mit einem oder mehrerer dieser Schlüsselwörter: Plugin, Plugins, Plugin Development, Cleaning ASP Temp, Cleaning ASP Temporary Files