File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/MSBuildProjectCreator Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 44
55using Microsoft . Build . Construction ;
66using Microsoft . Build . Evaluation ;
7+ using Microsoft . Build . Execution ;
78using System . Xml . Linq ;
89
910namespace Microsoft . Build . Utilities . ProjectCreation
@@ -28,6 +29,15 @@ public static implicit operator ProjectCollection(ProjectCreator creator)
2829 return creator . ProjectCollection ;
2930 }
3031
32+ /// <summary>
33+ /// Defines an implicit conversion of a <see cref="ProjectCreator"/> to a <see cref="ProjectInstance"/>.
34+ /// </summary>
35+ /// <param name="creator">A <see cref="ProjectCreator"/> to convert.</param>
36+ public static implicit operator ProjectInstance ( ProjectCreator creator )
37+ {
38+ return creator . ProjectInstance ;
39+ }
40+
3141 /// <summary>
3242 /// Defines an implicit conversion of a <see cref="ProjectCreator"/> to a <see cref="ProjectRootElement"/>.
3343 /// </summary>
You can’t perform that action at this time.
0 commit comments