Running Copilot coding agent #95
Annotations
1 error
|
copilot
/home/AzDevOps/.nuget/packages/reqnroll.tools.msbuild.generation/3.1.2/build/Reqnroll.Tools.MsBuild.Generation.targets(93,5): Error : [Reqnroll] System.TypeLoadException: Method 'DisposeAsync' in type 'System.Text.Json.Utf8JsonWriter' from assembly 'System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' does not have an implementation.\n at Reqnroll.Configuration.JsonConfig.JsonConfigurationSourceGenerator.Create_JsonConfig(JsonSerializerOptions options)\n at Reqnroll.Configuration.JsonConfig.JsonConfigurationSourceGenerator.global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)\n at System.Text.Json.JsonSerializerOptions.GetTypeInfoNoCaching(Type type)\n at System.Text.Json.JsonSerializerOptions.CachingContext.CreateCacheEntry(Type type, CachingContext context)\n```\n \n### Possible Solutions\n1. **Update bundled dependencies**: Update Reqnroll.Tools.MsBuild.Generation to use System.Text.Json 9.0+ compatible version\n2. **Remove bundled assemblies**: Let MSBuild resolve System.Text.Json from the project's dependencies instead of bundling\n3. **Assembly binding configuration**: Provide guidance for assembly binding redirects in MSBuild context\n \n### Additional Context\n- Issue only occurs on build agents, not local development (due to different assembly resolution behavior)\n \n### Workarounds Attempted\n- `CopyLocalLockFileAssemblies=true`\n- Assembly binding redirects\n- Conditional package versioning for build agents\n\n### Steps to Reproduce\n\n1. Create a .NET 9.0 project with Reqnroll.xUnit 3.1.2\n2. Use Central Package Management with System.Text.Json 9.0.10\n3. Build on a clean environment (Azure DevOps build agent)\n4. Observe MSBuild generation failure\n\n### Link to Repro Project\n\n_No response_","user":{"login":"rdvanbuuren-gasunie"},"labels":[{"name":"bug","description":"Something isn't working","node_id":"LA_kwDOLFINEc8AAAABf3cpIw"}],"comments":26,"created_at":"2025-10-21T14:40:37Z","updated_at":"2025-12-18T00:00:37Z"},{"id":3433636906,"number":848,"state":"OPEN","title":"With allowRowTests and Scenario outline scenario order is not correct","body":"### Reqnroll Version\n\n3.0.2\n\n### Which test runner are you using?\n\nMSTest\n\n### Test Runner Version Number\n\n4\n\n### .NET Implementation\n\n.NET Framework 4.6.2 or later\n\n### Test Execution Method\n\nVisual Studio Test Explorer\n\n### Content of reqnroll.json configuration file\n\n{\n "$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",\n\n "bindingAssemblies": [\n ],\n "runtime": { "stopAtFirstError": true },\n "generator": {\n "allowDebugGeneratedFiles": false,\n "allowRowTests": false\n },\n "formatters": {\n "html": {},\n "message": {}\n }\n}\n\n### Issue Description\n\nI have several Scenarios in my feature file.\nFirst scenario is to start application.\nAfter that I have scenario outline to check menu with datatabel of menu items.\nIn .testrunsettings I set up\nfalse\nTo preserve order of cases from my feature file\nIf I set up \n"allowRowTests": true\ncase are running in correct order, but if I set up\n"allowRowTests": false\ncase order is not correct and checking of menus goes before application start\nIn Attachement is .feature file and trx file from test execution. It is visible that in trx file first test case is not same as first case in feature file\n\n[ARN-T5688.zip](https://github.com/user-attachments/files/22424251/ARN-T5688.zip)\n\n### Steps to Reproduce\n\nIn description all steps are described\n\n### Link to Repro Project\n\n_No response_","user":{"login":"SNBogdanov"},"labels":[{"name":"by design","description":"We planned it to work that way","node_id":"LA_kwDOLFINEc8AAAABip2Sag"}],"comments":3,"created_at":"2025-09-19T09:29:14Z","updated_at":"2025-09-20T09:53:05Z"},{"id":3418045399,"number":835,"state":"OPEN","title":"Text alignment in html report is inco
|