DevOps issue when building NUGET package with .NET application

When working with .NET and Azure DevOps, we encountered an interesting issue. The pipeline failed, and the log does not show any meaningful information. The only issue in the log was this one: D:\a\1\s\src\YOURPROJECT.Api.csproj (pack target) (1:7) -> (GenerateNuspec target) -> C:\hostedtoolcache\windows\dotnet\sdk\8.0.300\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5026: The file 'D:\a\1\s\src\YOURPROJECT\bin\release\net8.0\YOURPROJECT.dll' to be packed was not found on disk. The reson is that we activated inside the .csproj file autogeneration of the package: <GeneratePackageOnBuild>True</GeneratePackageOnBuild> This is not supported within the Azure DevOps pipeline. When discussing unsupported features, you should also be aware of the following. If your project file performs any file copy operation, that might be an issue for the pipeline. <Target Name= CopyPackage AfterTargets= Pack > <Copy SourceFiles= $(OutputPath)..\$(PackageId).$(PackageVersion).nupkg DestinationFolder= $(SolutionDir)..\nuget /> </Target> Hope this helps.

zum Artikel gehen

Qt 6: How To port a Qt 5 application

Porting a Qt 5 QML application to Qt 6 doesn't have to be difficult. We want to share the issues we had and how we solved them. Look out for your shaders and modules. Continue reading Qt 6: How To port a Qt 5 application at basysKom GmbH.

zum Artikel gehen

Installing iotedgehubdev on MacOS

After spending whole afternoon trying to get the latest version of Azure IoT Edge Hub Dev Tools (iotedgehubdev) running on my M1 MacBook, I felt kinda obligated to share it here and save someone else's afternoon. My Environment is following: Apple Silico

zum Artikel gehen

Cross-platform application development with modern web technologies

The field of web technology is evolving at a rapid pace. This article presents a stack proven in cross-platform application development projects and our experience gathered with it. Continue reading Cross-platform application development with modern web t

zum Artikel gehen

Web Application Proxy, Android SNI Support

Android & SNI ist ja so eine Sache - und damit Hallo Leser, zunächst mal eine Erklärung, worüber ich berichten möchte. Jeder der bereits einen Web Application Proxy in Verbindung mit Exchange Server aufgesetzt hat, kennt das Problem: Exchange Active S

zum Artikel gehen

Event ID 1310 WebEvent auf einem Exchange Server 2016

Hallo Leser, wieder einmal hat mich ein neu installierter Exchange Server irritiert. Obwohl auf Windows Server 2016 Exchange Server 2016 CU 10 installiert wurde, habe ich immer wieder einen Eintrag im Application Log: Application Log Event ID 1310 Der I

zum Artikel gehen