question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Populate new csproj format properties from Azure DevOps build pipeline task

See original GitHub issue

The existing build tasks for Azure DevOps have long had the option to update AssemblyInfo.cs before running a build task (which is really sweet BTW). Is there going to be support in the future for updating the version/package metadata properties in the new csproj format from the build task?

I’ve previously used a powershell script to take the output of the GitVersion variables to manually go into all the csproj files and update the properties before running dotnet build. It would be great if a future version of the build task could do this OOTB.

I’ll try to find the powershell script I use which may better explain what I’m trying to achieve.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

11reactions
garfbradazcommented, Aug 13, 2019

Having GitVersion update the .csproj files automatically would be sweet.

7reactions
roryprimrosecommented, Jun 30, 2019

I still think this should be addressed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build, test, and deploy .NET Core apps - Azure Pipelines
Create the pipeline. Sign-in to your Azure DevOps organization and go to your project. Go to Pipelines, and then select New pipeline.
Read more >
Publish NuGet packages with Azure Pipelines (YAML ...
You can do this by going to Project settings > Service connections > New service connection. Select NuGet, and then select Next. Fill...
Read more >
Azure Pipeline - One csproj is missing in the build
1 Answer 1 ... To make sure that csproj is not missed, set the target to folder level instead of csproj file level....
Read more >
VSBuild@1 - Visual Studio build v1 task
Use this task to build with MSBuild and set the Visual Studio version property. Learn more about installing Visual Studio images on Azure....
Read more >
Configuring CI/CD Pipelines as Code with YAML in Azure ...
Task 4: Adding a YAML build definition. Navigate to the Pipelines hub. Click New pipeline. We will use the wizard to automatically create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found