File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/GitVersionCore.Tests/VersionConverters Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,24 @@ public void CanUpdateProjectFileWithStandardDesktopProjectFileXml(string xml)
89
89
90
90
canUpdate . ShouldBe ( true ) ;
91
91
}
92
+
93
+ [ TestCase ( @"
94
+ <Project Sdk=""Microsoft.NET.Sdk.Razor"">
95
+ <PropertyGroup>
96
+ <TargetFramework>netcoreapp3.1</TargetFramework>
97
+ </PropertyGroup>
98
+ </Project>
99
+ " ) ]
100
+ [ Category ( NoMono ) ]
101
+ [ Description ( NoMonoDescription ) ]
102
+ public void CanUpdateProjectFileWithRazorClassLibraryProjectFileXml ( string xml )
103
+ {
104
+ using var projectFileUpdater = new ProjectFileUpdater ( log , fileSystem ) ;
105
+
106
+ var canUpdate = projectFileUpdater . CanUpdateProjectFile ( XElement . Parse ( xml ) ) ;
107
+
108
+ canUpdate . ShouldBe ( true ) ;
109
+ }
92
110
93
111
[ TestCase ( @"
94
112
<Project Sdk=""SomeOtherProject.Sdk"">
You can’t perform that action at this time.
0 commit comments