| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377 |
- commit 115271d1cc37868dc0bb1ce76ccd32e0ebeb2a28
- Author: Nate McMaster <[email protected]>
- Date: Wed Nov 1 16:19:25 2017 -0700
- Pin tool and package versions to make builds more repeatable
-
- Part of aspnet/Universe#575
- diff --git a/.gitignore b/.gitignore
- index f7c08d52de2..1ce76e50c80 100644
- --- a/.gitignore
- +++ b/.gitignore
- @@ -34,4 +34,3 @@ nuget.exe
- **/Resources/*.Designer.cs
- .vscode/
- global.json
- -korebuild-lock.txt
- diff --git a/Directory.Build.props b/Directory.Build.props
- index 508e47c524b..d7c1b1fd565 100644
- --- a/Directory.Build.props
- +++ b/Directory.Build.props
- @@ -1,5 +1,6 @@
- -<Project>
- - <Import Project="version.xml" />
- +<Project>
- + <Import Project="version.props" />
- + <Import Project="build\dependencies.props" />
-
- <PropertyGroup>
- <RepositoryUrl>https://github.com/aspnet/Localization</RepositoryUrl>
- @@ -8,7 +9,6 @@
- <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)build\Key.snk</AssemblyOriginatorKeyFile>
- <SignAssembly>true</SignAssembly>
- <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
- - <VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
- <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
- </PropertyGroup>
- </Project>
- diff --git a/Directory.Build.targets b/Directory.Build.targets
- index bc118fd907b..e83ff95e395 100644
- --- a/Directory.Build.targets
- +++ b/Directory.Build.targets
- @@ -1,14 +1,5 @@
- -<Project InitialTargets="EnsureKoreBuildRestored">
- - <Target Name="EnsureKoreBuildRestored" Condition=" '$(KoreBuildRestoreTargetsImported)' != 'true' AND '$(MSBuildProjectName)' != 'BenchmarkDotNet.Autogenerated'">
- - <PropertyGroup>
- - <_BootstrapperFile Condition=" $([MSBuild]::IsOSUnixLike()) ">build.sh</_BootstrapperFile>
- - <_BootstrapperFile Condition="! $([MSBuild]::IsOSUnixLike()) ">build.cmd</_BootstrapperFile>
- - <_BootstrapperError>
- - Package references have not been pinned. Run './$(_BootstrapperFile) /t:Pin'.
- - Also, you can run './$(_BootstrapperFile) /t:Restore' which will pin *and* restore packages. '$(_BootstrapperFile)' can be found in '$(MSBuildThisFileDirectory)'.
- - </_BootstrapperError>
- - </PropertyGroup>
- -
- - <Error Code="KRB1001" Text="$(_BootstrapperError.Trim())" />
- - </Target>
- +<Project>
- + <PropertyGroup>
- + <RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">$(MicrosoftNETCoreApp20PackageVersion)</RuntimeFrameworkVersion>
- + </PropertyGroup>
- </Project>
- diff --git a/NuGet.config b/NuGet.config
- index 20060c934e4..4e8a1f6de15 100644
- --- a/NuGet.config
- +++ b/NuGet.config
- @@ -3,6 +3,7 @@
- <packageSources>
- <clear />
- <add key="AspNetCore" value="https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json" />
- + <add key="AspNetCoreTools" value="https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json" />
- <add key="NuGet" value="https://api.nuget.org/v3/index.json" />
- </packageSources>
- </configuration>
- diff --git a/build/dependencies.props b/build/dependencies.props
- new file mode 100644
- index 00000000000..9009a4e631f
- --- /dev/null
- +++ b/build/dependencies.props
- @@ -0,0 +1,29 @@
- +<Project>
- + <PropertyGroup>
- + <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
- + </PropertyGroup>
- + <PropertyGroup Label="Package Versions">
- + <InternalAspNetCoreSdkPackageVersion>2.1.0-preview1-15550</InternalAspNetCoreSdkPackageVersion>
- + <MicrosoftAspNetCoreHttpExtensionsPackageVersion>2.1.0-preview1-27498</MicrosoftAspNetCoreHttpExtensionsPackageVersion>
- + <MicrosoftAspNetCoreRoutingAbstractionsPackageVersion>2.1.0-preview1-27498</MicrosoftAspNetCoreRoutingAbstractionsPackageVersion>
- + <MicrosoftAspNetCoreRoutingPackageVersion>2.1.0-preview1-27498</MicrosoftAspNetCoreRoutingPackageVersion>
- + <MicrosoftAspNetCoreServerIISIntegrationPackageVersion>2.1.0-preview1-27498</MicrosoftAspNetCoreServerIISIntegrationPackageVersion>
- + <MicrosoftAspNetCoreServerKestrelPackageVersion>2.1.0-preview1-27498</MicrosoftAspNetCoreServerKestrelPackageVersion>
- + <MicrosoftAspNetCoreTestHostPackageVersion>2.1.0-preview1-27498</MicrosoftAspNetCoreTestHostPackageVersion>
- + <MicrosoftAspNetCoreTestingPackageVersion>2.1.0-preview1-27498</MicrosoftAspNetCoreTestingPackageVersion>
- + <MicrosoftExtensionsConfigurationCommandLinePackageVersion>2.1.0-preview1-27498</MicrosoftExtensionsConfigurationCommandLinePackageVersion>
- + <MicrosoftExtensionsDependencyInjectionAbstractionsPackageVersion>2.1.0-preview1-27498</MicrosoftExtensionsDependencyInjectionAbstractionsPackageVersion>
- + <MicrosoftExtensionsDependencyInjectionPackageVersion>2.1.0-preview1-27498</MicrosoftExtensionsDependencyInjectionPackageVersion>
- + <MicrosoftExtensionsLoggingAbstractionsPackageVersion>2.1.0-preview1-27498</MicrosoftExtensionsLoggingAbstractionsPackageVersion>
- + <MicrosoftExtensionsLoggingConsolePackageVersion>2.1.0-preview1-27498</MicrosoftExtensionsLoggingConsolePackageVersion>
- + <MicrosoftExtensionsLoggingPackageVersion>2.1.0-preview1-27498</MicrosoftExtensionsLoggingPackageVersion>
- + <MicrosoftExtensionsLoggingTestingPackageVersion>2.1.0-preview1-27498</MicrosoftExtensionsLoggingTestingPackageVersion>
- + <MicrosoftExtensionsOptionsPackageVersion>2.1.0-preview1-27498</MicrosoftExtensionsOptionsPackageVersion>
- + <MicrosoftNETCoreApp20PackageVersion>2.0.0</MicrosoftNETCoreApp20PackageVersion>
- + <MicrosoftNETTestSdkPackageVersion>15.3.0</MicrosoftNETTestSdkPackageVersion>
- + <MoqPackageVersion>4.7.49</MoqPackageVersion>
- + <XunitPackageVersion>2.3.0</XunitPackageVersion>
- + <XunitRunnerVisualStudioPackageVersion>2.3.0</XunitRunnerVisualStudioPackageVersion>
- + </PropertyGroup>
- + <Import Project="$(DotNetPackageVersionPropsPath)" Condition=" '$(DotNetPackageVersionPropsPath)' != '' " />
- +</Project>
- diff --git a/build/repo.props b/build/repo.props
- index 637a6ca001d..2f60d42ec04 100644
- --- a/build/repo.props
- +++ b/build/repo.props
- @@ -2,7 +2,11 @@
- <ItemGroup>
- <ExcludeFromTest Include="$(RepositoryRoot)test\LocalizationWebsite\*.csproj" />
- <ExcludeFromTest Include="$(RepositoryRoot)test\Resources*\*.csproj" />
- - <PackageLineup Include="Internal.AspNetCore.Universe.Lineup" Version="2.1.0-*" />
- - <PackageLineup Include="Internal.AspNetCore.Partners.Lineup" Version="2.1.0-*" />
- </ItemGroup>
- +
- + <PropertyGroup>
- + <!-- These properties are use by the automation that updates dependencies.props -->
- + <LineupPackageId>Internal.AspNetCore.Universe.Lineup</LineupPackageId>
- + <LineupPackageRestoreSource>https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json</LineupPackageRestoreSource>
- + </PropertyGroup>
- </Project>
- diff --git a/korebuild-lock.txt b/korebuild-lock.txt
- new file mode 100644
- index 00000000000..36d80560371
- --- /dev/null
- +++ b/korebuild-lock.txt
- @@ -0,0 +1,2 @@
- +version:2.1.0-preview1-15550
- +commithash:0dd080d0d87b4d1966ec0af9961dc8bacc04f84f
- diff --git a/korebuild.json b/korebuild.json
- new file mode 100644
- index 00000000000..bd5d51a51b0
- --- /dev/null
- +++ b/korebuild.json
- @@ -0,0 +1,4 @@
- +{
- + "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json",
- + "channel": "dev"
- +}
- diff --git a/samples/LocalizationSample/LocalizationSample.csproj b/samples/LocalizationSample/LocalizationSample.csproj
- index f3d05730dec..0ee28ca8dcc 100644
- --- a/samples/LocalizationSample/LocalizationSample.csproj
- +++ b/samples/LocalizationSample/LocalizationSample.csproj
- @@ -10,10 +10,10 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" />
- - <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" />
- - <PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" />
- - <PackageReference Include="Microsoft.Extensions.Logging.Console" />
- + <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="$(MicrosoftAspNetCoreServerIISIntegrationPackageVersion)" />
- + <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="$(MicrosoftAspNetCoreServerKestrelPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="$(MicrosoftExtensionsConfigurationCommandLinePackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsolePackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/src/Directory.Build.props b/src/Directory.Build.props
- index 9d9a3de33ac..1e0980f6633 100644
- --- a/src/Directory.Build.props
- +++ b/src/Directory.Build.props
- @@ -2,6 +2,6 @@
- <Import Project="..\Directory.Build.props" />
-
- <ItemGroup>
- - <PackageReference Include="Internal.AspNetCore.Sdk" PrivateAssets="All" />
- + <PackageReference Include="Internal.AspNetCore.Sdk" PrivateAssets="All" Version="$(InternalAspNetCoreSdkPackageVersion)" />
- </ItemGroup>
- </Project>
- diff --git a/src/Microsoft.AspNetCore.Localization.Routing/Microsoft.AspNetCore.Localization.Routing.csproj b/src/Microsoft.AspNetCore.Localization.Routing/Microsoft.AspNetCore.Localization.Routing.csproj
- index b5c433df244..06e167219b8 100644
- --- a/src/Microsoft.AspNetCore.Localization.Routing/Microsoft.AspNetCore.Localization.Routing.csproj
- +++ b/src/Microsoft.AspNetCore.Localization.Routing/Microsoft.AspNetCore.Localization.Routing.csproj
- @@ -14,7 +14,7 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.AspNetCore.Routing.Abstractions" />
- + <PackageReference Include="Microsoft.AspNetCore.Routing.Abstractions" Version="$(MicrosoftAspNetCoreRoutingAbstractionsPackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/src/Microsoft.AspNetCore.Localization/Microsoft.AspNetCore.Localization.csproj b/src/Microsoft.AspNetCore.Localization/Microsoft.AspNetCore.Localization.csproj
- index a34013b8939..dc7e2ed59b2 100644
- --- a/src/Microsoft.AspNetCore.Localization/Microsoft.AspNetCore.Localization.csproj
- +++ b/src/Microsoft.AspNetCore.Localization/Microsoft.AspNetCore.Localization.csproj
- @@ -14,9 +14,9 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.AspNetCore.Http.Extensions" />
- - <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
- - <PackageReference Include="Microsoft.Extensions.Options" />
- + <PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="$(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsLoggingAbstractionsPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsOptionsPackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/src/Microsoft.Extensions.Localization/Microsoft.Extensions.Localization.csproj b/src/Microsoft.Extensions.Localization/Microsoft.Extensions.Localization.csproj
- index f2dc1998b4b..d0e6e26596e 100644
- --- a/src/Microsoft.Extensions.Localization/Microsoft.Extensions.Localization.csproj
- +++ b/src/Microsoft.Extensions.Localization/Microsoft.Extensions.Localization.csproj
- @@ -14,9 +14,9 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
- - <PackageReference Include="Microsoft.Extensions.Options" />
- - <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
- + <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsDependencyInjectionAbstractionsPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsOptionsPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsLoggingAbstractionsPackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/test/Directory.Build.props b/test/Directory.Build.props
- index 9d9a3de33ac..1e0980f6633 100644
- --- a/test/Directory.Build.props
- +++ b/test/Directory.Build.props
- @@ -2,6 +2,6 @@
- <Import Project="..\Directory.Build.props" />
-
- <ItemGroup>
- - <PackageReference Include="Internal.AspNetCore.Sdk" PrivateAssets="All" />
- + <PackageReference Include="Internal.AspNetCore.Sdk" PrivateAssets="All" Version="$(InternalAspNetCoreSdkPackageVersion)" />
- </ItemGroup>
- </Project>
- diff --git a/test/LocalizationWebsite/LocalizationWebsite.csproj b/test/LocalizationWebsite/LocalizationWebsite.csproj
- index fc8111ec664..822158df595 100644
- --- a/test/LocalizationWebsite/LocalizationWebsite.csproj
- +++ b/test/LocalizationWebsite/LocalizationWebsite.csproj
- @@ -12,10 +12,10 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" />
- - <PackageReference Include="Microsoft.AspNetCore.Testing" />
- - <PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" />
- - <PackageReference Include="Microsoft.Extensions.Logging.Console" />
- + <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="$(MicrosoftAspNetCoreServerKestrelPackageVersion)" />
- + <PackageReference Include="Microsoft.AspNetCore.Testing" Version="$(MicrosoftAspNetCoreTestingPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="$(MicrosoftExtensionsConfigurationCommandLinePackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsolePackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/test/Microsoft.AspNetCore.Localization.FunctionalTests/Microsoft.AspNetCore.Localization.FunctionalTests.csproj b/test/Microsoft.AspNetCore.Localization.FunctionalTests/Microsoft.AspNetCore.Localization.FunctionalTests.csproj
- index b5e176565d7..29b3410d469 100644
- --- a/test/Microsoft.AspNetCore.Localization.FunctionalTests/Microsoft.AspNetCore.Localization.FunctionalTests.csproj
- +++ b/test/Microsoft.AspNetCore.Localization.FunctionalTests/Microsoft.AspNetCore.Localization.FunctionalTests.csproj
- @@ -12,12 +12,12 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.AspNetCore.TestHost" />
- - <PackageReference Include="Microsoft.Extensions.Logging" />
- - <PackageReference Include="Microsoft.Extensions.Logging.Console" />
- - <PackageReference Include="Microsoft.NET.Test.Sdk" />
- - <PackageReference Include="xunit" />
- - <PackageReference Include="xunit.runner.visualstudio" />
- + <PackageReference Include="Microsoft.AspNetCore.TestHost" Version="$(MicrosoftAspNetCoreTestHostPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsolePackageVersion)" />
- + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkPackageVersion)" />
- + <PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
- + <PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/test/Microsoft.AspNetCore.Localization.Routing.Tests/Microsoft.AspNetCore.Localization.Routing.Tests.csproj b/test/Microsoft.AspNetCore.Localization.Routing.Tests/Microsoft.AspNetCore.Localization.Routing.Tests.csproj
- index 185208b032d..d328b3b84a1 100644
- --- a/test/Microsoft.AspNetCore.Localization.Routing.Tests/Microsoft.AspNetCore.Localization.Routing.Tests.csproj
- +++ b/test/Microsoft.AspNetCore.Localization.Routing.Tests/Microsoft.AspNetCore.Localization.Routing.Tests.csproj
- @@ -10,11 +10,11 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.AspNetCore.Routing" />
- - <PackageReference Include="Microsoft.AspNetCore.TestHost" />
- - <PackageReference Include="Microsoft.NET.Test.Sdk" />
- - <PackageReference Include="xunit" />
- - <PackageReference Include="xunit.runner.visualstudio" />
- + <PackageReference Include="Microsoft.AspNetCore.Routing" Version="$(MicrosoftAspNetCoreRoutingPackageVersion)" />
- + <PackageReference Include="Microsoft.AspNetCore.TestHost" Version="$(MicrosoftAspNetCoreTestHostPackageVersion)" />
- + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkPackageVersion)" />
- + <PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
- + <PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/test/Microsoft.AspNetCore.Localization.Tests/Microsoft.AspNetCore.Localization.Tests.csproj b/test/Microsoft.AspNetCore.Localization.Tests/Microsoft.AspNetCore.Localization.Tests.csproj
- index f58033bd9e4..15d3d799dbb 100644
- --- a/test/Microsoft.AspNetCore.Localization.Tests/Microsoft.AspNetCore.Localization.Tests.csproj
- +++ b/test/Microsoft.AspNetCore.Localization.Tests/Microsoft.AspNetCore.Localization.Tests.csproj
- @@ -10,13 +10,13 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.AspNetCore.TestHost" />
- - <PackageReference Include="Microsoft.Extensions.DependencyInjection" />
- - <PackageReference Include="Microsoft.Extensions.Logging" />
- - <PackageReference Include="Microsoft.Extensions.Logging.Testing" />
- - <PackageReference Include="Microsoft.NET.Test.Sdk" />
- - <PackageReference Include="xunit" />
- - <PackageReference Include="xunit.runner.visualstudio" />
- + <PackageReference Include="Microsoft.AspNetCore.TestHost" Version="$(MicrosoftAspNetCoreTestHostPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging.Testing" Version="$(MicrosoftExtensionsLoggingTestingPackageVersion)" />
- + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkPackageVersion)" />
- + <PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
- + <PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/test/Microsoft.Extensions.Localization.Tests/Microsoft.Extensions.Localization.Tests.csproj b/test/Microsoft.Extensions.Localization.Tests/Microsoft.Extensions.Localization.Tests.csproj
- index d629cf5d254..ea55d999e5a 100644
- --- a/test/Microsoft.Extensions.Localization.Tests/Microsoft.Extensions.Localization.Tests.csproj
- +++ b/test/Microsoft.Extensions.Localization.Tests/Microsoft.Extensions.Localization.Tests.csproj
- @@ -10,13 +10,13 @@
- </ItemGroup>
-
- <ItemGroup>
- - <PackageReference Include="Microsoft.AspNetCore.Testing" />
- - <PackageReference Include="Microsoft.Extensions.DependencyInjection" />
- - <PackageReference Include="Microsoft.Extensions.Logging.Testing" />
- - <PackageReference Include="Microsoft.NET.Test.Sdk" />
- - <PackageReference Include="Moq" />
- - <PackageReference Include="xunit" />
- - <PackageReference Include="xunit.runner.visualstudio" />
- + <PackageReference Include="Microsoft.AspNetCore.Testing" Version="$(MicrosoftAspNetCoreTestingPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionPackageVersion)" />
- + <PackageReference Include="Microsoft.Extensions.Logging.Testing" Version="$(MicrosoftExtensionsLoggingTestingPackageVersion)" />
- + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkPackageVersion)" />
- + <PackageReference Include="Moq" Version="$(MoqPackageVersion)" />
- + <PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
- + <PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" />
- </ItemGroup>
-
- </Project>
- diff --git a/version.props b/version.props
- new file mode 100644
- index 00000000000..8542e1aae1e
- --- /dev/null
- +++ b/version.props
- @@ -0,0 +1,10 @@
- +<Project>
- + <PropertyGroup>
- + <VersionPrefix>2.1.0</VersionPrefix>
- + <VersionSuffix>preview1</VersionSuffix>
- + <PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' == 'rtm' ">$(VersionPrefix)</PackageVersion>
- + <PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' != 'rtm' ">$(VersionPrefix)-$(VersionSuffix)-final</PackageVersion>
- + <BuildNumber Condition="'$(BuildNumber)' == ''">t000</BuildNumber>
- + <VersionSuffix Condition="'$(VersionSuffix)' != '' And '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
- + </PropertyGroup>
- +</Project>
- diff --git a/version.xml b/version.xml
- deleted file mode 100644
- index 3c05022b7d7..00000000000
- --- a/version.xml
- +++ /dev/null
- @@ -1,8 +0,0 @@
- -<!-- This file may be overwritten by automation. -->
- -<Project>
- - <PropertyGroup>
- - <KoreBuildChannel>dev</KoreBuildChannel>
- - <VersionPrefix>2.1.0</VersionPrefix>
- - <VersionSuffix>preview1</VersionSuffix>
- - </PropertyGroup>
- -</Project>
|