Skip to content

Commit e88791a

Browse files
authored
Change condition to !Exists('packages.config')
1 parent 040b42b commit e88791a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbgv/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ private static ExitCodes OnInstallCommand(string versionJsonRoot, string version
281281
{ "Version", packageVersion },
282282
{ "PrivateAssets", "all" },
283283
});
284-
item.Condition = " '$(PlatformToolset)' == '' ";
284+
item.Condition = "!Exists('packages.config')";
285285

286286
propsFile.Save(directoryBuildPropsPath);
287287
}

0 commit comments

Comments
 (0)