diff --git a/.vsts-ci.yml b/.vsts-ci.yml
index 5a8b438b..809b52af 100644
--- a/.vsts-ci.yml
+++ b/.vsts-ci.yml
@@ -15,4 +15,4 @@ variables:
steps:
- template: build/build.yml
parameters:
- nuspecProperties: 'VersionSuffix=-CI-$(Build.BuildNumber)'
+ nuspecProperties: 'VersionSuffix=CI-$(Build.BuildNumber)'
diff --git a/.vsts-pr.yml b/.vsts-pr.yml
index 291118d8..2c97720d 100644
--- a/.vsts-pr.yml
+++ b/.vsts-pr.yml
@@ -13,4 +13,4 @@ variables:
steps:
- template: build/build.yml
parameters:
- nuspecProperties: 'VersionSuffix=-PR-$(Build.BuildNumber)'
+ nuspecProperties: 'VersionSuffix=PR-$(Build.BuildNumber)'
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f8e3e4d9..59664ea9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -23,9 +23,9 @@ dotnet pack CredentialProvider.Microsoft --configuration Release
For CI builds, you can append a pre-release version:
```shell
-dotnet pack CredentialProvider.Microsoft --configuration Release /p:NuspecProperties=VersionSuffix=-MyCustomVersion-2
+dotnet pack CredentialProvider.Microsoft --configuration Release /p:NuspecProperties=VersionSuffix=MyCustomVersion-2
```
### Versioning
-When releasing a new version, update the CredentialProviderVersion property in Build.props
\ No newline at end of file
+When releasing a new version, update the CredentialProviderVersion property in Build.props
diff --git a/CredentialProvider.Microsoft/CredentialProvider.Microsoft.csproj b/CredentialProvider.Microsoft/CredentialProvider.Microsoft.csproj
index f13cf43d..eec80f7a 100644
--- a/CredentialProvider.Microsoft/CredentialProvider.Microsoft.csproj
+++ b/CredentialProvider.Microsoft/CredentialProvider.Microsoft.csproj
@@ -5,11 +5,11 @@
NuGetCredentialProvider
latest
helpericons.ico
- $(CredentialProviderVersion)
- $(CredentialProviderVersion)
+ $(CredentialProviderVersion)
CredentialProvider.Microsoft.nuspec
-
- $(NuspecProperties);Configuration=$(Configuration);Version=$(CredentialProviderVersion)$(VersionSuffix)
+
+ $(NuspecProperties);Configuration=$(Configuration);Version=$(VersionPrefix)
+ $(NuspecProperties);Configuration=$(Configuration);Version=$(VersionPrefix)-$(VersionSuffix)
AnyCPU
prompt
4
diff --git a/CredentialProvider.Microsoft/CredentialProvider.Microsoft.nuspec b/CredentialProvider.Microsoft/CredentialProvider.Microsoft.nuspec
index 7367f4d6..3bc6587c 100644
--- a/CredentialProvider.Microsoft/CredentialProvider.Microsoft.nuspec
+++ b/CredentialProvider.Microsoft/CredentialProvider.Microsoft.nuspec
@@ -2,7 +2,7 @@
Microsoft.NuGet.CredentialProvider
- $Version$$VersionSuffix$
+ $Version$
Microsoft Credential Provider for NuGet
Microsoft
microsoft,nugetvss
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 45a3bd17..a4be8eb9 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -23,4 +23,12 @@
+
+
+
+
+
diff --git a/src/Authentication/Microsoft.Artifacts.Authentication.csproj b/src/Authentication/Microsoft.Artifacts.Authentication.csproj
index 3e4d8f03..6e8b49ae 100644
--- a/src/Authentication/Microsoft.Artifacts.Authentication.csproj
+++ b/src/Authentication/Microsoft.Artifacts.Authentication.csproj
@@ -7,7 +7,7 @@
latest
enable
enable
- 0.1.2$(VersionSuffix)
+ 0.1.2
Microsoft
Microsoft
Azure Artifacts authentication library for credential providers.