Type universe cannot resolve assembly: System.Configuration AND Cannot resolve Assembly or Windows Metadata file 'System.Configuration.dll

前端 未结 5 1549
轮回少年
轮回少年 2021-02-05 09:14

I am developing UWP App via VS2015 in Win10. My App was running perfect, but just today when I start running my App, even I didn\'t make changes of such ... and It shows 2 error

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-05 09:37

    I ran across this in a somewhat dated build script. It was a build that used one top-level SLN composed of multiple SLN files from numerous projects and efforts. I used to be able to just do,

    call nuget restore "%Top_Level_SLN_File%" -Recursive

    and trust all the packages were getting restored. Now I have to run,

    for /r %%I IN (*.sln) DO call nuget restore "%%~I" -Recursive

    It might have to do with the fact that a private nuget feed is being leveraged for some of the packages, but that might be a red herring. I haven't deep-dived the issue to get minimal repro steps.

提交回复
热议问题