Browse Source

Merge branch 'master' of github.com:miseeger/SharpDevelop

pull/31/head
Matt Ward 13 years ago
parent
commit
938844f12e
  1. 5
      src/Main/Base/Project/Src/Internal/Templates/Project/ProjectDescriptor.cs

5
src/Main/Base/Project/Src/Internal/Templates/Project/ProjectDescriptor.cs

@ -392,7 +392,10 @@ namespace ICSharpCode.SharpDevelop.Internal.Templates @@ -392,7 +392,10 @@ namespace ICSharpCode.SharpDevelop.Internal.Templates
} else {
// Textual content
StreamWriter sr = new StreamWriter(File.Create(fileName), ParserService.DefaultFileEncoding);
string fileContent = StringParser.Parse(file.Content, new StringTagPair("ProjectName", projectCreateInformation.ProjectName), new StringTagPair("FileName", fileName));
string fileContent = StringParser.Parse(file.Content,
new StringTagPair("ProjectName", projectCreateInformation.ProjectName),
new StringTagPair("SolutionName", projectCreateInformation.SolutionName),
new StringTagPair("FileName", fileName));
fileContent = StringParser.Parse(fileContent);
if (EditorControlService.GlobalOptions.IndentationString != "\t") {
fileContent = fileContent.Replace("\t", EditorControlService.GlobalOptions.IndentationString);

Loading…
Cancel
Save