Skip to content

Commit cd08727

Browse files
committed
Allow preview dsc
1 parent 0ff8521 commit cd08727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.Management.Configuration.Processor/DSCv3/Helpers/ProcessorSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ public IDSCv3 DSCv3
121121
// To start, only attempt to find the package and launch it via app execution alias.
122122
// In the future, consider discovering it through %PATH% searching, but probably don't allow that from an elevated process.
123123
// That probably means creating another read property for finding the secure path.
124-
#if !AICLI_DISABLE_TEST_HOOKS
124+
// TEMP: Until DSCv3 support is not experimental, allow the preview build to be found automatically.
125+
// #if !AICLI_DISABLE_TEST_HOOKS
125126
string? result = GetDscExecutablePathForPackage("Microsoft.DesiredStateConfiguration-Preview_8wekyb3d8bbwe");
126127
if (result != null)
127128
{
128129
return result;
129130
}
130-
#endif
131131

132132
return GetDscExecutablePathForPackage("Microsoft.DesiredStateConfiguration_8wekyb3d8bbwe");
133133
}

0 commit comments

Comments
 (0)