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

Commit 5003477

Browse files
committed
Updating some properties of a project's AssemblyModel when ProjectContentContainer is created.
1 parent e172ffe commit 5003477

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Main/Base/Project/Parser/ProjectContentContainer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public ProjectContentContainer(MSBuildBasedProject project, IProjectContent init
5757
this.project = project;
5858
this.projectContent = initialProjectContent.SetAssemblyName(project.AssemblyName).SetLocation(project.OutputAssemblyFullPath);
5959
this.assemblyModel = (IUpdateableAssemblyModel)project.AssemblyModel;
60+
this.assemblyModel.AssemblyName = this.projectContent.AssemblyName;
61+
this.assemblyModel.FullAssemblyName = this.projectContent.FullAssemblyName;
6062
this.cacheFileName = GetCacheFileName(project.FileName);
6163

6264
SD.ProjectService.ProjectItemAdded += OnProjectItemAdded;

0 commit comments

Comments
 (0)