File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ function dotnet_utils.get_proj_info(path)
210210 logger .debug (" neotest-vstest: msbuild properties for " .. proj_file .. " :" )
211211 logger .debug (properties )
212212
213- local is_mtp_disabled = properties .DisableTestingPlatformServerCapability == " true"
213+ local is_mtp_disabled = string.lower ( properties .DisableTestingPlatformServerCapability ) == " true"
214214
215215 --- @class DotnetProjectInfo
216216 local proj_data = {
@@ -219,8 +219,9 @@ function dotnet_utils.get_proj_info(path)
219219 dll_file = properties .TargetPath ,
220220 proj_dir = properties .MSBuildProjectDirectory ,
221221 last_discovered = files .get_path_last_modified (proj_file ) or 0 ,
222- is_test_project = properties .IsTestProject == " true" ,
223- is_mtp_project = not is_mtp_disabled and properties .IsTestingPlatformApplication == " true" ,
222+ is_test_project = string.lower (properties .IsTestProject ) == " true" ,
223+ is_mtp_project = not is_mtp_disabled
224+ and string.lower (properties .IsTestingPlatformApplication ) == " true" ,
224225 }
225226
226227 setmetatable (proj_data , {
You can’t perform that action at this time.
0 commit comments