nuget package restore repeatedly
Closed this issue ยท 6 comments
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.94. Please mark this comment with ๐ or ๐ to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
seemed to be some bug with vs(package manager)
recommend to use dotnet restore
or dotnet build
to restore the dependencies
you can also run the build script on the project root dir (build.ps1
for windows and build.sh
for linux or mac)
๐ฅ
the bug is annoying, thanks!
1 I rename the Directory.Build.props in root directory, stop restore;
2 modify Directory.Build.props, when comment <Import Project="./build/version.props" />
, stop restore;
3 the key is
<VersionSuffix Condition="'$(Configuration)'=='DEBUG'">preview-$([System.DateTime]::Now.ToString("yyyyMMdd-HHmmss"))</VersionSuffix>
if set ss
, it restore every second.
Thanks for report that and your solution, the version.props
had been updated