Skip to content

Commit

Permalink
Downgrade from net481 to net48 for VS compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutch committed May 9, 2024
1 parent e13968d commit 51d1239
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Core.Tests/MonoDevelop.Xml.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net481;net8.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net48;net8.0</TargetFrameworks>
<NUnitDisableSupportAssemblies>true</NUnitDisableSupportAssemblies>
<RootNamespace>MonoDevelop.Xml.Tests</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<Nullable>enable</Nullable>
<Nullable Condition="$(TargetFramework)=='net481'">annotations</Nullable>
<Nullable Condition="$(TargetFramework)=='net48'">annotations</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions Core/MonoDevelop.Xml.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net481;net8.0</TargetFrameworks>
<TargetFrameworks>net48;net8.0</TargetFrameworks>
<!--
The assembly is called MonoDevelop.Xml.Core so as not to conflict with the original extension assembly in MonoDevelop
but the root namespace is still MonoDevelop.Xml
Expand All @@ -11,12 +11,12 @@

<PropertyGroup>
<Nullable>enable</Nullable>
<Nullable Condition="$(TargetFramework)=='net481'">annotations</Nullable>
<Nullable Condition="$(TargetFramework)=='net48'">annotations</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
<PackageReference Include="System.Collections.Immutable" />
<PackageReference Include="Microsoft.Bcl.HashCode" Condition="'$(TargetFramework)'=='net481'" />
<PackageReference Include="Microsoft.Bcl.HashCode" Condition="'$(TargetFramework)'=='net48'" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion Editor.Tests/MonoDevelop.Xml.Editor.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net481;net8.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net48;net8.0</TargetFrameworks>
<NUnitDisableSupportAssemblies>true</NUnitDisableSupportAssemblies>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion Editor/MonoDevelop.Xml.Editor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net481;net8.0</TargetFrameworks>
<TargetFrameworks>net48;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion external/MiniEditor

0 comments on commit 51d1239

Please sign in to comment.