Populate new csproj format properties from Azure DevOps build pipeline task
See original GitHub issueThe 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:
- Created 5 years ago
- Comments:20 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Having
GitVersion
update the.csproj
files automatically would be sweet.I still think this should be addressed