Skip to main content

All Questions

0 votes
1 answer
26 views

How to produce same versions with Jenkins and local builds

I intend to use semver2.0 with + added as metadata for main branch. eg: on main 1.2.3+20241202121212 eg: on release 1.2.3 I will provide major,mino,patch as a parameter to Jenkins. My problem is, how ...
krs's user avatar
  • 43
0 votes
0 answers
19 views

Compiles but doesn't publish executables or dll when running build through MSBuild on Jenkins

I have created a freestyle project on Jenkins to build a .NET Web API application that compiles but doesn't output any executables(.exe) or class library(.dll) after a successfull build. I have ...
sako977's user avatar
  • 35
0 votes
1 answer
498 views

jenkins running unit test of c++ code from visual studio on

first of all I will show you how the program is structured: I built the solution using jenkins as shown in the figure below this is a cpp program. I do not know how to run unit test since there is ...
Shahin's user avatar
  • 23
0 votes
0 answers
122 views

CI Build SSIS solution with 71 projects

We have ssis_EDW solution developed in Visual Studio 2017 (Target SQL Server 2014,2016) having 71 SSIS projects in it. We have Azure DevOps Build Pipeline which is used to build the solution on Azure. ...
Rameshwar Pawale's user avatar
0 votes
1 answer
168 views

MSBuild publish not working for Office VSTO

I have been going crazy trying to fix this publishing issue for days. I have a VSTO application for Office that builds using MSbuild.exe successfully, in both debug and release. The problem arises ...
user avatar
0 votes
1 answer
657 views

Why is my MSBuild publishing as a zip file?

Why is my Azure DevOps CI build publishing my code as a zip archive? what am I doing wrong? This generates a WebApi.zip. I would like to have folders because I want to copy and create folder in my ...
Bastien Vandamme's user avatar
2 votes
0 answers
200 views

Building Xamarin Forms applications (for android) on a third-party build server

I have a Xamarin forms application that builds locally on my Windows dev machine, using msbuild on the command line. This works because I installed the Xamarin workload in Visual Studio. However, I ...
Dan's user avatar
  • 163
2 votes
1 answer
2k views

Retrieving the MSBuild content into an artifact? Directory 'D:\a\1\a' is empty. Nothing will be added to build artifact 'drop'

I try to understand how this MSBuild command is working with Azure DevOps Pipeline in Yaml. I get this error: Here is my MSBuild instruction in my Azure Pipeline project: - task: MSBuild@1 inputs: ...
Bastien Vandamme's user avatar
2 votes
2 answers
2k views

Generate compile_commands.json from msbuild via command line -- no cmake

I'm looking for a way to integrate clang-tidy into a CI workflow, but the build system being used is MSBuild with dependencies managed by vcpkg in manisfest mode. Is there some advanced command line ...
Carlos Nihelton's user avatar
0 votes
2 answers
761 views

GitLab CI using msbuild succeeds but LASTEXITCODE is 1

In Gitlab-ci.yml, following script is executed: 'MSBuild -restore -nologo -p:Configuration=Release -ignoreProjectExtensions:.vdproj,.isproj' As a result, the msbuild is triggered. To build process ...
Bart Peremans's user avatar
2 votes
1 answer
1k views

error MSB4019: The imported project "..../WebApplications\Microsoft.WebApplication.targets" was not found

My web API project builds fine from Visual Studio. I was trying to setup the CI in the github workflows using below yml. name: web-api-ci-pipeline on: push: branches: [ main ] pull_request: ...
Setu Kumar Basak's user avatar
4 votes
1 answer
241 views

Unable to publish Azure Function v1.0 on file system as defined in publish profile using msbuild command

I am trying to publish azure function v1.0 using publish profile and contents of publish profile is given below <?xml version="1.0" encoding="utf-8"?> <!-- https://go....
Pradeep Gaba's user avatar
0 votes
0 answers
40 views

Patching when changes in almost all files

I'm trying to make a patch depend on git-repository because during the build we overwrite all files (this is required, change copyright note, assembly version, etc. ), and the only way that I might ...
AleksP's user avatar
  • 1,336
2 votes
1 answer
248 views

Build Task VSBuild@1 not building .Net Framework 4 Web application (aspx) correctly

I'm trying to configure ci/cd for an old project which uses .net framework 4 and is aspx pages web app. I'm using VSBuild@1 task to build it with following config: It builds it correctly. But the ...
Zeeshan's user avatar
  • 2,974
2 votes
1 answer
328 views

Is it possible to extract the value of element in csproj file with dotnet CLI?

csproj file contains project properties which I'd like to use in CI/CD pipeline. Is it possible to extract those values with dotnet cli (or some other standard tool) without parsing xml via some ...
Pavel Voronin's user avatar

15 30 50 per page
1
2 3 4 5
29