Inhalte aufrufen


Solution For Cleaning Temporary ASP.NET Files For Plugin Development

Plugin Plugins Plugin Development Cleaning ASP Temp Cleaning ASP Temporary Files

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 Sherif Ahmed

Sherif Ahmed

    Advanced Member

  • Members
  • 35 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
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%
rmdir "%TemporaryFilesPath%\root" /S /Q

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

When the build updates the project output

that's all.

Sherif Ahmed

Software Engineer


#2 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1110 Beiträge

Geschrieben: 05 May 2014 - 16:53

Thanks Ahmed, much appreciated.

  • Sherif Ahmed gefällt das

Murat Cakir
SmartStore AG

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