M2TeamArchived / NSudo

[Deprecated, work in progress alternative: https://github.com/M2Team/NanaRun] Series of System Administration Tools
https://nsudo.m2team.org/
Other
1.96k stars 224 forks source link

CI builds failing again #32

Closed Margen67 closed 4 years ago

Margen67 commented 4 years ago

https://ci.appveyor.com/project/MouriNaruto/nsudo/builds/30661919/job/hyf5j7wxx5dobyqx#L19

C:\projects\nsudo\NSudoLib\NSudoLib.vcxproj(161,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\YY.NuGet.Import.Helper.1.0.0.2\build\native\YY.NuGet.Import.Helper.props.
Done Building Project "C:\projects\nsudo\NSudoLib\NSudoLib.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\projects\nsudo\NSudo\NSudo.vcxproj.metaproj" (default targets) -- FAILED.
Done Building Project "C:\projects\nsudo\NSudo.sln" (default targets) -- FAILED.
Build FAILED.
"C:\projects\nsudo\NSudo.sln" (default target) (1) ->
"C:\projects\nsudo\NSudo\NSudo.vcxproj.metaproj" (default target) (2) ->
"C:\projects\nsudo\NSudoLib\NSudoLib.vcxproj" (default target) (3) ->
(EnsureNuGetPackageBuildImports target) -> 
  C:\projects\nsudo\NSudoLib\NSudoLib.vcxproj(161,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\YY.NuGet.Import.Helper.1.0.0.2\build\native\YY.NuGet.Import.Helper.props.
MouriNaruto commented 4 years ago

It's a known issue. Maybe it needs several commits to fix it.

Margen67 commented 4 years ago

Might have been caused by https://github.com/M2Team/NSudo/commit/8c86d8fd406fa14972754dd4e665ec56ab22e2cf

MouriNaruto commented 4 years ago

I know it will cause failure because I switched to the nuget edition of VC-LTL.

I think I will change the project build configurations to solve it.

MouriNaruto commented 4 years ago

I have fixed this issue today. Thanks.

https://github.com/M2Team/NSudo/actions/runs/119049794 https://ci.appveyor.com/project/MouriNaruto/nsudo/builds/33197096

Kenji Mouri