-
Notifications
You must be signed in to change notification settings - Fork 36
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
Move to Central Package Management #373
base: main
Are you sure you want to change the base?
Conversation
@@ -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" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this as this feed is no longer used
@@ -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" /> | |||
<add key="AzureFunctionsTempStaging" value="https://pkgs.dev.azure.com/azfunc/e6a70c92-4128-439f-8012-382fe78d6396/_packaging/AzureFunctionsTempStaging/nuget/v3/index.json" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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?
@@ -9,6 +9,7 @@ | |||
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> | |||
<IncludeShared>false</IncludeShared> | |||
<GenerateDocumentationFile>false</GenerateDocumentationFile> | |||
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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.
@@ -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" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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.Common" Version="3.9.0" PrivateAssets="all" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.9.0" PrivateAssets="all" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.*" PrivateAssets="all" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.CSharp are upgraded to 4.9.2 with central package management
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love seeing the move to this 😄
Directory.Packages.props
Outdated
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'"> | ||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What you could do: remove conditions from these outside of here (e.g, line 24 and 53 remove conditions). Then change this to be:
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" /> | |
<PackageVersion Update="Microsoft.Extensions.Hosting" Version="8.0.1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jviau how does this update work? I updated this to be like this -- as we only need version v8.0.1 when the tfm is net8
<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'"/>
…ask-dotnet into nytian/codeql
…ask-dotnet into nytian/codeql
No description provided.