Today I Learned
Properties\PublishProfilesにあるpubxmlに以下の記述を追加する。
これで、MyFolderファイルの、.txtと.tmpは発行から除外される。
<PropertyGroup> ... <ExcludeFilesFromDeployment> MyFolder\*.txt; MyFolder\*.tmp </ExcludeFilesFromDeployment> </PropertyGroup>