-
Notifications
You must be signed in to change notification settings - Fork 55
Move to Central Package Management #373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
54cd220
8c23a2f
837bb5a
ea0d7e6
e91ba8c
ff451b7
083a915
288b7c3
985a789
b574697
7331c06
6af3c93
8e35c62
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <!-- | ||
| More information about central package management: | ||
| https://learn.microsoft.com/nuget/consume-packages/central-package-management | ||
| --> | ||
| <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
| </PropertyGroup> | ||
|
|
||
| <!-- Microsoft.Extensions.* Packages --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting" Version="6.0.0" Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net48'" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" Condition="'$(TargetFramework)' == 'net8.0'"/> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.2" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Options" Version="6.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Options.DataAnnotations" Version="6.0.1" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Azure.* Packages --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Azure.Identity" Version="1.13.1" /> | ||
| <PackageVersion Include="Microsoft.Azure.Functions.Worker" Version="1.21.0" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- DurableTask Packages --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Microsoft.Azure.DurableTask.Core" Version="3.0.0" /> | ||
| <PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" Version="1.2.2" /> | ||
| <PackageVersion Include="Microsoft.DurableTask.Sidecar" Version="1.1.2" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Grpc / Protobuf Packages --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Google.Protobuf" Version="3.21.12" /> | ||
| <PackageVersion Include="Grpc.Core" Version="2.46.5" /> | ||
| <PackageVersion Include="Grpc.Net.Client" Version="2.67.0" /> | ||
| <PackageVersion Include="Grpc.Tools" Version="2.51.0" /> | ||
| <PackageVersion Include="Grpc.AspNetCore.Server" Version="2.52.0" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Microsoft.CodeAnalysis.* Packages --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis" Version="4.9.2" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.9.2" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.Common" Version="4.9.2" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.2" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing" Version="1.1.2" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" Version="1.1.2" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.ResxSourceGenerator" Version="3.11.0-beta1.24165.2" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Testing Frameworks & Analysis Packages --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="BenchmarkDotNet" Version="0.13.2" /> | ||
| <PackageVersion Include="FluentAssertions" Version="6.7.0" /> | ||
| <PackageVersion Include="FluentAssertions.Analyzers" Version="0.17.2"/> | ||
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" /> | ||
| <PackageVersion Include="Moq" Version="4.20.70" /> | ||
| <PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" /> | ||
| <PackageVersion Include="coverlet.collector" Version="3.1.2" /> | ||
| <PackageVersion Include="xunit" Version="2.5.3" /> | ||
| <PackageVersion Include="xunit.abstractions" Version="2.0.3" /> | ||
| <PackageVersion Include="xunit.runner.visualstudio" Version="2.5.3"/> | ||
| <PackageVersion Include="Xunit.Combinatorial" Version="1.6.24" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Base-class library dependencies --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="DotNext" Version="4.13.1" /> | ||
| <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" /> | ||
| <PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" /> | ||
nytian marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <PackageVersion Include="System.Linq.Async" Version="6.0.1" /> | ||
| <PackageVersion Include="System.Text.Json" Version="6.0.10" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,8 +2,6 @@ | |
| <configuration> | ||
| <packageSources> | ||
| <clear/> | ||
| <add key="durabletask" value="https://pkgs.dev.azure.com/durabletaskframework/734e7913-2fab-4624-a174-bc57fe96f95d/_packaging/durabletask/nuget/v3/index.json" /> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove this as this feed is no longer used |
||
| <add key="AzureFunctionsTempStaging" value="https://pkgs.dev.azure.com/azfunc/e6a70c92-4128-439f-8012-382fe78d6396/_packaging/AzureFunctionsTempStaging/nuget/v3/index.json" /> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we remove this source for durable extension, I guess it should be fine to be removed here too? |
||
| <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> | ||
| </packageSources> | ||
| </configuration> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <Project> | ||
| <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Packages.props, $(MSBuildThisFileDirectory)..))" /> | ||
|
|
||
| <!-- Functions sample packages --> | ||
| <ItemGroup> | ||
| <PackageVersion Update="coverlet.collector" Version="6.0.0" /> | ||
| <PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" /> | ||
| <PackageVersion Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.2" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Durable sample packages --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Microsoft.DurableTask.Client.Grpc" Version="1.5.0" /> | ||
| <PackageVersion Include="Microsoft.DurableTask.Generators" Version="1.0.0-preview.1" /> | ||
| <PackageVersion Include="Microsoft.DurableTask.Worker.Grpc" Version="1.5.0" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ | |
| <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> | ||
| <IncludeShared>false</IncludeShared> | ||
| <GenerateDocumentationFile>false</GenerateDocumentationFile> | ||
| <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added this because there is a build warning. Let me know if this shouldn't be added. |
||
| </PropertyGroup> | ||
|
|
||
| <!-- Package info --> | ||
|
|
@@ -24,8 +25,8 @@ | |
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.9.0" PrivateAssets="all" /> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" /> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" /> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this package has been upgrade to 4.9.2 with central package management |
||
| <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" PrivateAssets="all" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.