From f537811abc2c179cc19e97147069aceb085aca5b Mon Sep 17 00:00:00 2001 From: Daniel Grunwald <daniel@danielgrunwald.de> Date: Wed, 8 Aug 2007 19:55:33 +0000 Subject: [PATCH] Fixed bug introduced in rev. 2634: When creating a new project, ${USER} ${DATE} in the standard header etc. was not replaced with values. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2648 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Project/Src/Internal/Templates/Project/ProjectDescriptor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/Base/Project/Src/Internal/Templates/Project/ProjectDescriptor.cs b/src/Main/Base/Project/Src/Internal/Templates/Project/ProjectDescriptor.cs index 4875c3593f..9b5fc1c017 100644 --- a/src/Main/Base/Project/Src/Internal/Templates/Project/ProjectDescriptor.cs +++ b/src/Main/Base/Project/Src/Internal/Templates/Project/ProjectDescriptor.cs @@ -357,6 +357,7 @@ namespace ICSharpCode.SharpDevelop.Internal.Templates // Textual content StreamWriter sr = new StreamWriter(File.Create(fileName), ParserService.DefaultFileEncoding); string fileContent = StringParser.Parse(file.Content, new string[,] { {"ProjectName", projectCreateInformation.ProjectName}, {"FileName", fileName}}); + fileContent = StringParser.Parse(fileContent); if (SharpDevelopTextEditorProperties.IndentationString != "\t") { fileContent = fileContent.Replace("\t", SharpDevelopTextEditorProperties.IndentationString); }