Skip to content

Commit 56f9b58

Browse files
authored
fix: set MSBuildEnableWorkloadResolver so we can always run the restore command (#255)
1 parent ec6ee53 commit 56f9b58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/nuget-parser/cli/dotnet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export async function restore(
8080
'--verbosity',
8181
'normal',
8282
`"${projectPath}"`,
83-
'--p=TreatWarningsAsErrors=false;WarningsAsErrors=',
83+
'--p=MSBuildEnableWorkloadResolver=true;TreatWarningsAsErrors=false;WarningsAsErrors=',
8484
];
8585
await handle('restore', command, args, workingDirectory);
8686
return;

0 commit comments

Comments
 (0)