-
Notifications
You must be signed in to change notification settings - Fork 376
Avoid package dependencies on inbox librares & clean-up #13210
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,31 +1,22 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project> | ||
| <Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
|
|
||
|
|
||
| <Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
|
|
||
| <PropertyGroup> | ||
| <Copyright>$(CopyrightNetFoundation)</Copyright> | ||
| <PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
| <TreatWarningsAsErrors>True</TreatWarningsAsErrors> | ||
| <TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
| <DebugType>embedded</DebugType> | ||
| <DebugSymbols>true</DebugSymbols> | ||
| <LangVersion>Latest</LangVersion> | ||
| <TargetFrameworkForNETSDK>net8.0</TargetFrameworkForNETSDK> | ||
|
|
||
| <!-- TODO: Remove when a new Arcade.Sdk is consumed with the changes in TargetFrameworkDefaults.props. --> | ||
| <NetFrameworkToolCurrent>net472</NetFrameworkToolCurrent> | ||
|
|
||
| <!-- | ||
| Tools and packages produced by this repository support infrastructure and are not shipping on NuGet or via any other official channel. | ||
| --> | ||
| <IsShipping>false</IsShipping> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Condition="'$(DotNetBuildOffline)' == 'true'"> | ||
| <!-- | ||
| Arcade has a special version prop for CodeAnalysis.CSharp in GenFacades | ||
| to try to match the version loaded by msbuild. In the offline build, this | ||
| is simply the source-built version. | ||
| --> | ||
| <MsbuildTaskMicrosoftCodeAnalysisCSharpVersion>$(MicrosoftCodeAnalysisCSharpVersion)</MsbuildTaskMicrosoftCodeAnalysisCSharpVersion> | ||
| </PropertyGroup> | ||
|
|
||
| </Project> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,14 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project> | ||
|
|
||
| <Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
|
|
||
| <ItemGroup> | ||
| <!-- Upgrade the NETStandard.Library transitive dependency to avoid transitive 1.x NS dependencies. --> | ||
| <PackageReference Include="NETStandard.Library" | ||
| Version="$(NETStandardLibraryVersion)" | ||
| PrivateAssets="all" | ||
| Condition="'$(TargetFrameworkIdentifier)' != '.NETStandard' and | ||
| $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.0'))" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,13 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <TargetFramework>$(TargetFrameworkForNETSDK)</TargetFramework> | ||
| <TargetFramework>$(NetCurrent)</TargetFramework> | ||
|
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. I'm not sure about this one. NetCurrent is coming from the arcade that arcade depends on. This means that when you update NetCurrent, it shows no immediate change in this repo. It requires a roundtrip to do so. It flows out and downstream. Presumably this works, but it's a little non-intuitive.
Member
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. IMO we should use In this case, when Arcade changes Directory.Build.props: |
||
| <Nullable>enable</Nullable> | ||
| <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="FluentAssertions" Version="5.10.3" /> | ||
| <PackageReference Include="Moq" Version="4.8.3" /> | ||
|
|
||
| <!-- This is here so that we agree with the project's transitive references to NewtonSoft.Json --> | ||
| <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" /> | ||
| <PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,21 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <TargetFrameworks>net472;netstandard2.0</TargetFrameworks> | ||
| <TargetFrameworks>netstandard2.0;$(NetFrameworkToolCurrent)</TargetFrameworks> | ||
| <IsPackable>true</IsPackable> | ||
| <DefaultExcludesInProjectFolder Condition="$([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) != '.NETFramework'">**/*.Desktop.*</DefaultExcludesInProjectFolder> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" /> | ||
| <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionVersion)" /> | ||
| <PackageReference Include="System.Net.Http" Version="$(SystemNetHttpVersion)" /> | ||
| <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsoleVersion)" /> | ||
|
|
||
| <!-- This is here so that we agree with the project's transitive references to NewtonSoft.Json --> | ||
| <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Condition="'$(TargetFramework)' == 'net472'"> | ||
| <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
| <Compile Include="..\Internal\AssemblyResolver.cs" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Condition="'$(TargetFramework)' != 'net472'"> | ||
| <Compile Remove="MSBuildTaskBase.Desktop.cs" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Condition="'$(TargetFramework)' == 'net472'"> | ||
| <Reference Include="System.IO.Compression" /> | ||
| <Reference Include="System.Net.Http" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
Uh oh!
There was an error while loading. Please reload this page.