Skip to content

Commit

Permalink
dep/project upgrade, Passes tests for both runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtule committed Nov 2, 2023
1 parent c6a4202 commit c28ea54
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 50 deletions.
1 change: 1 addition & 0 deletions Dynamitey.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DB/@EntryIndexedValue">DB</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SL/@EntryIndexedValue">SL</s:String>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EdotCover_002EIde_002ECore_002EFilterManagement_002EModel_002ESolutionFilterSettingsManagerMigrateSettings/@EntryIndexedValue">True</s:Boolean>
<s:String x:Key="/Default/FilterSettingsManager/CoverageFilterXml/@EntryValue">&lt;data&gt;&lt;IncludeFilters /&gt;&lt;ExcludeFilters /&gt;&lt;/data&gt;</s:String>
<s:String x:Key="/Default/FilterSettingsManager/AttributeFilterXml/@EntryValue">&lt;data /&gt;</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Cacheable/@EntryIndexedValue">True</s:Boolean>
Expand Down
19 changes: 1 addition & 18 deletions Dynamitey/Dynamitey.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.5;net40;portable-net45+sl5+win8+wp8</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net40</TargetFrameworks>
<TargetFrameworks Condition="'$(WithoutCrossCompile)' != ''">netstandard2.0</TargetFrameworks>
<Description>(pronounced dyna-mighty) flexes DLR muscle to do meta-mazing things in .net</Description>
<Company>Ekon Benefits</Company>
Expand All @@ -23,11 +23,6 @@
<Import Project="..\Version.props" />


<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.5'">
<PackageReference Include="Microsoft.CSharp" Version="4.*" />
<PackageReference Include="System.ComponentModel" Version="4.3.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<PackageReference Include="Microsoft.CSharp" Version="4.*" />
<PackageReference Include="System.ComponentModel" Version="4.3.0" />
Expand All @@ -36,10 +31,6 @@
<ItemGroup Condition="'$(TargetFramework)'=='net40'">
<Reference Include="Microsoft.CSharp" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='portable-net45+sl5+win8+wp8'">
<Reference Include="Microsoft.CSharp" />
</ItemGroup>


<ItemGroup>
Expand All @@ -57,9 +48,6 @@
</None>
</ItemGroup>

<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>

<ItemGroup>
<Compile Update="InlineLambdas.cs">
Expand All @@ -79,10 +67,5 @@
</Compile>
</ItemGroup>

<ItemGroup>
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.0.5" PrivateAssets="all" />
</ItemGroup>

<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />

</Project>
4 changes: 2 additions & 2 deletions SupportLibrary/SupportLibrary.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Runtime" Version="4.3.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Invoke.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Dynamitey.Tests
{
public class Invoke:AssertionHelper
{
[TestFixtureTearDown]
[OneTimeTearDown]
public void DestroyCaches()
{
Dynamic.ClearCaches();
Expand Down
12 changes: 0 additions & 12 deletions Tests/Program.cs

This file was deleted.

2 changes: 1 addition & 1 deletion Tests/SpeedTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Dynamitey.Tests
[Category("Performance")]
public class SpeedTest:AssertionHelper
{
[TestFixtureSetUp]
[OneTimeSetUp]
public void WarmUpDlr()
{
Dynamic.InvokeMember(1, "ToString");
Expand Down
29 changes: 13 additions & 16 deletions Tests/Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netcoreapp2.0;net462</TargetFrameworks>
<TargetFrameworks Condition="'$(WithoutCrossCompile)' != ''">netcoreapp2.0</TargetFrameworks>
<OutputType Condition="'$(TargetFramework)'!='netcoreapp2.0'">Exe</OutputType>
<IsPackable>false</IsPackable>
<TargetFrameworks>net6;net48</TargetFrameworks>
<TargetFrameworks Condition="'$(WithoutCrossCompile)' != ''">net6</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ImpromptuInterface" Version="7.0.1-alpha20" />
<PackageReference Include="ImpromptuInterface" Version="7.0.1" />
<PackageReference Include="Microsoft.CSharp" Version="4.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="NUnit" Version="3.7.1" />
<PackageReference Include="FSharp.Core" Version="4.2.*" />
<PackageReference Include="Moq" Version="4.7.*" />
<PackageReference Include="NUnit.Console" Version="3.7.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.4.0" />
</ItemGroup>
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="FSharp.Core" Version="4.7.2" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="NUnit.Console" Version="3.16.3" />
<PackageReference Include="IronPython" Version="2.7.12" />

<ItemGroup Condition="'$(TargetFramework)'!='netcoreapp2.0'">
<PackageReference Include="IronPython" Version="2.7.7" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp2.0'">
<PackageReference Include="NUnit3TestAdapter" Version="3.8.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.*" />

<ItemGroup >
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit c28ea54

Please sign in to comment.