File-based apps: add support for #:include#52347
Merged
Merged
Azure Pipelines / dotnet-sdk-public-ci
succeeded
Jan 20, 2026 in 25m 30s
Build #20260120.5 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 66,743 (96.86%)
- Other: 2,164 (3.14%)
- Total: 68,908
Annotations
azure-pipelines / dotnet-sdk-public-ci
Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewInstantiateTests.CanOverwriteFilesWithForce
Expected value to be 0 because Expected command to exit with 0 but it did not.\r\nWorking Directory: D:\\a\\_work\\1\\s\\artifacts\\tmp\\Release\\testing\\dotnet-new.IntegrationTests\\CanOverwriteFilesWithForce\\20260120131721261\r\nFile Name: D:\\a\\_work\\1\\s\\artifacts\\bin\\redist\\Release\\dotnet\\dotnet.exe\r\nArguments: new console --no-restore --force --debug:custom-hive D:\\a\\_work\\1\\s\\artifacts\\tmp\\Release\\testing\\dotnet-new.IntegrationTests\\SharedHomeDirectory\\20260120131711411\r\nExit Code: 100\r\nStdOut:\r\n\r\nStdErr:\r\nTemplate \"Console App\" could not be created.\r\nFailed to create template.\r\nDetails: Error while processing file /content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj\r\nThe process cannot access the file 'D:\\a\\_work\\1\\s\\artifacts\\tmp\\Release\\testing\\dotnet-new.IntegrationTests\\CanOverwriteFilesWithForce\\20260120131721261\\20260120131721261.csproj' because it is being used by another process.\r\n\r\nFor details on the exit code, refer to https://aka.ms/templating-exit-codes#100\r\n, but found 100 (difference of 100).
Raw output
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.ExitWith(Int32 expectedExitCode) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 21
at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewInstantiateTests.CanOverwriteFilesWithForce() in D:\a\_work\1\s\test\dotnet-new.IntegrationTests\DotnetNewInstantiateTests.cs:line 115
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Loading