diff --git a/Directory.Build.props b/Directory.Build.props index 49c396d4..86d987a3 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,9 +12,18 @@ $(MSBuildThisFileDirectory)artifacts/ + - 2.0.0.0 - 2.0.0 + 2.0.0 + + + + $(ComputeSharpPackageVersion).0 + $(ComputeSharpPackageVersion) alpha pr true diff --git a/Directory.Build.targets b/Directory.Build.targets index 0c0e8a0b..34a9cdfe 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -13,9 +13,9 @@ Manually set the version if null. This is copied from Microsoft.NET.DefaultAssemblyInfo.targets and is needed for cases where that target is not being automatically imported (which happens because MSBuild is used instead of dotnet build for some cases, due to the solution having some UWP and WinUI 3 projects, and non SDK-style too). + The lines setting the prefix have been omitted, as that is already handled in the root .props file. --> - 2.0.0 $(VersionPrefix)-$(VersionSuffix) $(VersionPrefix)