Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 543912d

Browse files
fix #308: Creating a new .NET 4.5.1 project results in a .NET 4.0 project
1 parent 0c7d038 commit 543912d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Main/SharpDevelop/Templates/Project/ProjectDescriptor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ public bool CreateProject(ProjectTemplateResult templateResults, string defaultL
306306
Directory.CreateDirectory(projectBasePath);
307307
FileName projectLocation = projectBasePath.CombineFile(newProjectName + descriptor.ProjectFileExtension);
308308
ProjectCreateInformation info = new ProjectCreateInformation(parentSolution, projectLocation);
309+
info.TargetFramework = projectCreateOptions.TargetFramework;
309310

310311
StringBuilder standardNamespace = new StringBuilder();
311312
// filter 'illegal' chars from standard namespace

0 commit comments

Comments
 (0)