Closed tdashworth closed 3 years ago
@ewingjm Any idea why this is failing? I switched the restore from Nuget to DotNet. Should I just revert that?
##[error]Capgemini.Xrm.CdsDataMigrator\Capgemini.Xrm.CdsDataMigratorLibrary.Tests.Unit\Capgemini.Xrm.CdsDataMigratorLibrary.Tests.Unit.csproj(339,5): Error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\..\packages\Microsoft.CodeAnalysis.VersionCheckAnalyzer.2.9.8\build\Microsoft.CodeAnalysis.VersionCheckAnalyzer.props.
Project "D:\a\1\s\Capgemini.Xrm.CdsDataMigrator\Capgemini.Xrm.CdsDataMigrator.sln" (1) is building "D:\a\1\s\Capgemini.Xrm.CdsDataMigrator\Capgemini.Xrm.CdsDataMigratorLibrary.Tests.Unit\Capgemini.Xrm.CdsDataMigratorLibrary.Tests.Unit.csproj" (2) on node 1 (default targets).
D:\a\1\s\Capgemini.Xrm.CdsDataMigrator\Capgemini.Xrm.CdsDataMigratorLibrary.Tests.Unit\Capgemini.Xrm.CdsDataMigratorLibrary.Tests.Unit.csproj(339,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\..\packages\Microsoft.CodeAnalysis.VersionCheckAnalyzer.2.9.8\build\Microsoft.CodeAnalysis.VersionCheckAnalyzer.props.
@tdashworth i will fix this
I have added a tag for the last release to NuGet. Not sure if that will reset GitVersion to v1.0.6. @ewingjm?
Do we need to add this to update the assembly version as well? Not just the NuGet package version?
Do we need to add this to update the assembly version as well? Not just the NuGet package version?
Shouldn't need to as it's already handled by the GitVersion task in the pipeline. Updating the assembly version is configurable in the task. I'm guessing it needs to be set to true
given that this is a plug-in.
I have added a tag for the last release to NuGet. Not sure if that will reset GitVersion to v1.0.6. @ewingjm?
You'll need to tag the latest commit on the master branch for whatever the current version is.
I have added a tag for the last release to NuGet. Not sure if that will reset GitVersion to v1.0.6. @ewingjm?
You'll need to tag the latest commit on the master branch for whatever the current version is.
Do we want to start on a new version? e.g. v1.1.0?
I have added a tag for the last release to NuGet. Not sure if that will reset GitVersion to v1.0.6. @ewingjm?
You'll need to tag the latest commit on the master branch for whatever the current version is.
Do we want to start on a new version? e.g. v1.1.0?
if you tag a commit with a version that isn't on NuGet then we'll effectively skip a version. Whichever commit is currently deployed to NuGet should be tagged with a matching version. When the PR is merged, it'll use the commit message to apply the next version on top of this. Putting +semver: minor
in the squash commit message should be enough if the current version was tagged.
Kudos, SonarCloud Quality Gate passed!
update pipeline to align with our best practices