Log NU1105 error for badly specified framework #6291
+68
−23
Azure Pipelines / NuGet.Client CI
failed
Mar 6, 2025 in 47m 54s
Build #20250306.3 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 89,666 (98.57%)
- Other: 1,296 (1.42%)
- Total: 90,963
Annotations
Check failure on line 507 in Build log
azure-pipelines / NuGet.Client CI
Build log #L507
Error: The process '/home/vsts/work/1/s/cli/dotnet' failed with exit code 1
Check failure on line 512 in Build log
azure-pipelines / NuGet.Client CI
Build log #L512
Dotnet command failed with non-zero exit code on the following projects : [ '' ]
azure-pipelines / NuGet.Client CI
NuGet.XPlat.FuncTest.XPlatConfigTests.ConfigGetCommand_WithConfigKeyAndDirectoryArgs_GetsConfigKeyValue
Command DID NOT SUCCEED. Ouput is: "error: System.TypeInitializationException: The type initializer for 'NuGet.Configuration.Settings' threw an exception.
error: ---> System.IO.FileNotFoundException: Unable to find the specified file.
error: at Interop.Sys.GetCwdHelper(Byte* ptr, Int32 bufferSize)
error: at Interop.Sys.GetCwd()
error: at NuGet.Common.PathUtility.CheckIfFileSystemIsCaseInsensitive() in /home/vsts/work/1/s/src/NuGet.Core/NuGet.Common/PathUtil/PathUtility.cs:line 453
error: at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
error: at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
error: at System.Lazy`1.CreateValue()
error: at NuGet.Common.PathUtility.get_IsFileSystemCaseInsensitive() in /home/vsts/work/1/s/src/NuGet.Core/NuGet.Common/PathUtil/PathUtility.cs:line 442
error: at NuGet.Configuration.Settings..cctor() in /home/vsts/work/1/s/src/NuGet.Core/NuGet.Configuration/Settings/Settings.cs:line 29
error: --- End of inner exception stack trace ---
error: at NuGet.Configuration.Settings.GetSettingsFileNameFromDir(String directory) in /home/vsts/work/1/s/src/NuGet.Core/NuGet.Configuration/Settings/Settings.cs:line 842
error: at NuGet.Configuration.Settings.GetSettingsFilesFullPath(String root)+MoveNext() in /home/vsts/work/1/s/src/NuGet.Core/NuGet.Configuration/Settings/Settings.cs:line 824
error: at System.Linq.Enumerable.IEnumerableSelectIterator`2.MoveNext()
error: at System.Linq.Enumerable.OfTypeIterator`1.MoveNext()
error: at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
error: at NuGet.Configuration.Settings.LoadSettings(String root, String configFileName, IMachineWideSettings machineWideSettings, Boolean loadUserWideSettings, Boolean useTestingGlobalPath, SettingsLoadingContext settingsLoadingContext) in /home/vsts/work/1/s/src/NuGet.Core/NuGet.Configuration/Settings/Settings.cs:line 432
error: at NuGet.Configuration.Settings.LoadDefaultSettings(String root, String configFileName, IMachineWideSettings machineWideSettings, SettingsLoadingContext settingsLoadingContext) in /home/vsts/work/1/s/src/NuGet.Core/NuGet.Configuration/Settings/Settings.cs:line 342
error: at NuGet.Configuration.Settings.LoadDefaultSettings(String root, String configFileName, IMachineWideSettings machineWideSettings) in /home/vsts/work/1/s/src/NuGet.Core/NuGet.Configuration/Settings/Settings.cs:line 302
error: at NuGet.CommandLine.XPlat.RunnerHelper.GetSettingsFromDirectory(String directory) in /home/vsts/work/1/s/src/NuGet.Core/NuGet.CommandLine.XPlat/Commands/ConfigCommands/ConfigRunners.cs:line 124
error: at NuGet.CommandLine.XPlat.ConfigGetRunner.Run(ConfigGetArgs args, Func`1 getLogger) in /home/vsts/work/1/s/src/NuGet.Core/NuGet.CommandLine.XPlat/Commands/ConfigCommands/ConfigRunners.cs:line 48
error: at NuGet.CommandLine.XPlat.ConfigCommand.<>c__DisplayClass13_0.<RegisterOptionsForCommandConfigGet>b__0(ParseResult parseResult, CancellationToken cancellationToken) in /home/vsts/work/1/s/src/NuGet.Core/NuGet.CommandLine.XPlat/Commands/ConfigCommands/ConfigCommand.cs:line 191
Description:
Gets the NuGet configuration settings that will be applied.
Usage:
nuget config get [<all-or-config-key>] [options]
Arguments:
<ALL: Get all merged NuGet configuration settings from multiple NuGet configuration files that will be applied, when invoking NuGet command from the working directory path. CONFIG_KEY: Get the effective value of the specified configuration settings of the config section.> ALL: Get all merged NuGet configuration settings from multiple NuGet configuration files that will be applied, when invoking NuGet command from the working directory path. CONFIG_KEY: Get the effective value of the specified configuration settings of the config section.
Options:
--working-directory Specifies the directory to start from when listing configuration files. If not specified, the curren
Raw output
at NuGet.XPlat.FuncTest.DotnetCliUtil.VerifyResultSuccess(CommandRunnerResult result, String expectedOutputMessage) in /home/vsts/work/1/s/test/NuGet.Core.FuncTests/NuGet.XPlat.FuncTest/DotnetCliUtil.cs:line 127
at NuGet.XPlat.FuncTest.XPlatConfigTests.ConfigGetCommand_WithConfigKeyAndDirectoryArgs_GetsConfigKeyValue() in /home/vsts/work/1/s/test/NuGet.Core.FuncTests/NuGet.XPlat.FuncTest/XPlatConfigTests.cs:line 90
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Loading