-
-
Notifications
You must be signed in to change notification settings - Fork 846
Target .Net 6 Framework and upgrade additionalSdks to latest version #1300
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
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 |
|---|---|---|
| @@ -1,10 +1,11 @@ | ||
| { | ||
| "sdk": { | ||
| "version": "5.0.400", | ||
| "version": "6.0.100", | ||
| "rollForward": "latestFeature" | ||
| }, | ||
|
|
||
| "additionalSdks": [ | ||
| "3.1.413" | ||
| "5.0.301", | ||
| "3.1.415" | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| <Description>Autofac is an IoC container for Microsoft .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity.</Description> | ||
| <!-- VersionPrefix patched by AppVeyor --> | ||
| <VersionPrefix>0.0.1</VersionPrefix> | ||
| <TargetFrameworks>netstandard2.1;netstandard2.0;net5.0</TargetFrameworks> | ||
| <TargetFrameworks>netstandard2.1;netstandard2.0;net5.0;net6.0</TargetFrameworks> | ||
| <LangVersion>latest</LangVersion> | ||
| <Nullable>enable</Nullable> | ||
| <NoWarn>$(NoWarn);CS1591;IDE0008</NoWarn> | ||
|
Member
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. Down on line 31 you'll see
This also needs to be done in the test projects that have analyzers. I don't know if they all have This may cause some new warnings to show up. All warnings need to be resolved as part of the .NET upgrade - we don't allow builds with warnings. This may be more than you want to take on.
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. Done |
||
|
|
@@ -28,7 +28,7 @@ | |
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedAllSources>true</EmbedAllSources> | ||
| <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
| <Features>IOperation</Features> | ||
| <AnalysisMode>AllEnabledByDefault</AnalysisMode> | ||
| <Authors>Autofac Contributors</Authors> | ||
| <Company>Autofac</Company> | ||
| <Product>Autofac</Product> | ||
|
|
@@ -43,24 +43,28 @@ | |
| <None Include="..\..\build\icon.png" Pack="true" PackagePath="\" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> | ||
| <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.1.0" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <AdditionalFiles Include="..\..\build\stylecop.json" Link="stylecop.json" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.1"> | ||
| <ItemGroup Condition=""> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3"> | ||
| <PrivateAssets>All</PrivateAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1"> | ||
| <PrivateAssets>All</PrivateAssets> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0"> | ||
| <PrivateAssets>all</PrivateAssets> | ||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" Condition="Exists('$(MSBuildThisFileDirectory)../../.git')"> | ||
| <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" Condition="Exists('$(MSBuildThisFileDirectory)../../.git')"> | ||
| <PrivateAssets>All</PrivateAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.205"> | ||
| <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.376"> | ||
| <PrivateAssets>All</PrivateAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.7.1" /> | ||
| <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="6.0.0" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> | ||
|
|
||
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.
I can't make a comment at the top of this file, but if the
Autofac.BenchmarkProfiling.csprojchanges to net6, this project does, too.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.
Yes Done