Skip to content

Commit b6e494f

Browse files
DanScottNIarturcic
authored andcommitted
Added Microsoft.NET.Sdk.Razor to the SDK list.
Added Microsoft.NET.Sdk.Razor to the list of SDKs that GitVersion will check.
1 parent 0a25145 commit b6e494f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionCore/VersionConverters/AssemblyInfo/ProjectFileUpdater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ internal bool CanUpdateProjectFile(XElement xmlRoot)
111111
return false;
112112
}
113113

114-
var supportedSdks = new[] { "Microsoft.NET.Sdk", "Microsoft.NET.Sdk.Web", "Microsoft.NET.Sdk.WindowsDesktop" };
114+
var supportedSdks = new[] { "Microsoft.NET.Sdk", "Microsoft.NET.Sdk.Web", "Microsoft.NET.Sdk.WindowsDesktop", "Microsoft.NET.Sdk.Razor" };
115115
var sdkAttribute = xmlRoot.Attribute("Sdk");
116116
if (sdkAttribute == null || !supportedSdks.Contains(sdkAttribute.Value))
117117
{

0 commit comments

Comments
 (0)