VS2026 Environment stil does not automatically compile VB projects or generate artifacts.

  1. Are all the projects you are building SDK style? Can you share configuration and a build log of the same commit built on vs2022 and vs2026 image?

  2. All projects are .NET 10.

    When I say it all used to work... it was .NET 4.8 and NOT SDK style. And we used the VS2022 image.

    We then converted the the code to .NET 10 (and obviously it's SDK style now). And as a result of that, we had to switch to the VS2026 style.

    The new config is vanilla. There is nothing custom about the appveyor.yaml. It's just me clicking various checkboxes and added extra commands to pre and post build commands (and adding manual artifacts), to compensate for this bug.

    Attached is the current log (log-vs2026.txt) and the old log (vs-2022.txt) and appveyor.yaml.

  3. Thanks for that, we're working on a build agent update to address the different behaviours between images.

  4. @Owen, please post here if and when this issue is fixed.

  5. We've deployed a new build agent to address the issue.
    Here is the test we ran to verify that VB based dotnet core web apps are detected along with C# based ones.

  6. @Owen,

    The VB projects are now building. But there is still a bug. I have a VB library (ACommon.vbproj). It shouldn't be built as an artifact, since it's a library. But it is being built and artifact generated.

    Here are partial contents of vbproj:

    <Project Sdk="Microsoft.NET.Sdk">
    
      <PropertyGroup>
        <TargetFramework>net10.0-windows</TargetFramework>
    
        <!-- Warning Configuration -->
        <NoWarn>WFO1000,CA1416,41999,42016,42017,42018,42019,42032,42036</NoWarn>
        <WarningsAsErrors>42020,42021,42022</WarningsAsErrors>
      </PropertyGroup>
    
  7. We've rolled back the build agent as we investigate a possibly related issue. Although, before doing so I added a VB class library to the test project and was not able to reproduce your error, i.e. it did not get automatically packaged.
    Build here

  8. Please let us know how your project differs from the example i linked so that we might adjust the build agent accordingly going forward.

  9. @owen. I am not sure. The only thing that I see is that my projects have a of net10.0-windows. And yours have the generic net10.0.

    But otherwise they are the same. Here is my project (called ACommon) that was mistakenly building when you had the new copy of the image deployed:

    <Project Sdk="Microsoft.NET.Sdk">
    
      <PropertyGroup>
        <TargetFramework>net10.0-windows</TargetFramework>
    
        <!-- Warning Configuration -->
        <NoWarn>WFO1000,CA1416,41999,42016,42017,42018,42019,42032,42036</NoWarn>
        <WarningsAsErrors>42020,42021,42022</WarningsAsErrors>
      </PropertyGroup>
     ....
    

    And here was the the output from the build. Mistaken build is ACommon.zip (3/9)

    Uploading artifacts...
    [1/9] NeutralPortal.zip (117,673,259 bytes)...100%
    [2/9] ADRISBlueSky.zip (123,182,101 bytes)...100%
    [3/9] ACommon.zip (71,382,808 bytes)...100%
    [4/9] WebSubmit.zip (68,151,055 bytes)...100%
    [5/9] MyJW.zip (75,405,291 bytes)...100%
    [6/9] VAST.zip (69,232,423 bytes)...100%
    [7/9] AMIListener.zip (68,478,875 bytes)...100%
    [8/9] ABLE.Core.zip (69,508,974 bytes)...100%
    [9/9] CAIN.zip (68,918,086 bytes)...100%
    Build success
    
  10. It looks like our logic was counting projects with any package referencing the Microsoft.AspNetCore namespace as ASP.net core apps. We're currently working on a new build agent deployment to correct that.
    I'll update here when it's been deployed.

  11. The new agent has been deployed. It seems to work on the test project modified to be as close to yours as I can guess.

  12. @Owen. It appears to work. Thank you. I'll let you know if anything crops up.

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions