Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Telerik.JustMock, Version=2013.3.1021.0, Culture=neutral, PublicKeyToken=721b6c5bc0326b3a, processorArchitecture=MSIL">
<HintPath>..\..\..\..\..\Binaries\$(Configuration)\net45\Telerik.JustMock.dll</HintPath>
<Reference Include="Telerik.JustMock">
<HintPath>..\..\..\..\..\Binaries\$(Configuration)\net472\Telerik.JustMock.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Telerik.JustMock, Version=2013.3.1021.0, Culture=neutral, PublicKeyToken=721b6c5bc0326b3a, processorArchitecture=MSIL">
<HintPath>..\..\..\..\..\Binaries\$(Configuration)\net45\Telerik.JustMock.dll</HintPath>
<Reference Include="Telerik.JustMock">
<HintPath>..\..\..\..\..\Binaries\$(Configuration)\net472\Telerik.JustMock.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Telerik.JustMock">
<HintPath>..\..\..\..\..\Binaries\$(Configuration)\net45\Telerik.JustMock.dll</HintPath>
<HintPath>..\..\..\..\..\Binaries\$(Configuration)\net472\Telerik.JustMock.dll</HintPath>
</Reference>
</ItemGroup>
<Choose>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Telerik.JustMock">
<HintPath>..\..\..\..\..\Binaries\$(Configuration)\net45\Telerik.JustMock.dll</HintPath>
<HintPath>..\..\..\..\..\Binaries\$(Configuration)\net472\Telerik.JustMock.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
9 changes: 5 additions & 4 deletions Telerik.JustMock.DemoLib/Telerik.JustMock.DemoLib.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;net472;netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<NetCoreSupportedVersions>netcoreapp3.1;net5.0</NetCoreSupportedVersions>
<TargetFrameworks>net472;$(NetCoreSupportedVersions)</TargetFrameworks>
<Configurations>Debug;Release;ReleaseFree;DebugFree</Configurations>
<AssemblyName>Telerik.JustMock.DemoLib</AssemblyName>
<RootNamespace>Telerik.JustMock.DemoLib</RootNamespace>
Expand Down Expand Up @@ -47,7 +48,7 @@
<CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugFree|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\DebugFree\</OutputPath>
<DefineConstants>TRACE;DEBUG;LITE_EDITION</DefineConstants>
Expand All @@ -56,7 +57,7 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp3.1'">
<PropertyGroup Condition=" $(NetCoreSupportedVersions.Contains('$(TargetFramework)')) ">
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
</PropertyGroup>
<PropertyGroup>
Expand Down Expand Up @@ -96,7 +97,7 @@
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile />
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net472' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
<Reference Include="System.Web" />
<Reference Include="System.Data.DataSetExtensions" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;net472;netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<NetCoreSupportedVersions>netcoreapp3.1;net5.0</NetCoreSupportedVersions>
<TargetFrameworks>net472;$(NetCoreSupportedVersions)</TargetFrameworks>
<Configurations>Debug;Release;DebugFree;ReleaseFree</Configurations>
<AssemblyName>Telerik.JustMock.DemoLibSigned</AssemblyName>
<RootNamespace>Telerik.JustMock.DemoLibSigned</RootNamespace>
Expand All @@ -22,7 +23,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)'=='DebugFree|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
Expand All @@ -39,15 +40,15 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)'=='ReleaseFree|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\ReleaseFree\</OutputPath>
<DefineConstants>TRACE;LITE_EDITION</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp3.1'">
<PropertyGroup Condition=" $(NetCoreSupportedVersions.Contains('$(TargetFramework)')) ">
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
</PropertyGroup>
<PropertyGroup>
Expand All @@ -73,7 +74,7 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>snkey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net472' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
<Reference Include="System.Data.DataSetExtensions" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\JustMockLite\Build\Config.targets"></Import>

<PropertyGroup>
<TargetFramework>net451</TargetFramework>
<TargetFramework>net472</TargetFramework>
<Configurations>Debug;Release;ReleaseFree;DebugFree</Configurations>
<AssemblyName>Telerik.JustMock.MSTest.Tests</AssemblyName>
<RootNamespace>Telerik.JustMock.Tests</RootNamespace>
Expand Down Expand Up @@ -73,7 +73,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Dynamic.Runtime " Version="4.3.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<NetCoreSupportedVersions>netcoreapp3.1;net5.0</NetCoreSupportedVersions>
<TargetFrameworks>net461;net472;$(NetCoreSupportedVersions)</TargetFrameworks>
<TargetFrameworks>net472;$(NetCoreSupportedVersions)</TargetFrameworks>
<Configurations>Debug;Release;ReleaseFree;DebugFree</Configurations>
<AssemblyName>Telerik.JustMock.MSTest2.Tests</AssemblyName>
<RootNamespace>Telerik.JustMock.Tests</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net451;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
<Configurations>Debug;Release;DebugFree;ReleaseFree</Configurations>
<AssemblyName>Telerik.JustMock.NUnit.Tests</AssemblyName>
<RootNamespace>Telerik.JustMock.Tests</RootNamespace>
Expand All @@ -16,7 +16,7 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)'=='DebugFree|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
Expand All @@ -35,7 +35,7 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)'=='ReleaseFree|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\ReleaseFree\</OutputPath>
Expand All @@ -44,7 +44,7 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp3.1'">
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
</PropertyGroup>
<PropertyGroup>
Expand Down
10 changes: 5 additions & 5 deletions Telerik.JustMock.XUnit.Tests/Telerik.JustMock.XUnit.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net452;net472;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
<Configurations>Debug;Release;DebugFree;ReleaseFree</Configurations>
<AssemblyName>Telerik.JustMock.XUnit.Tests</AssemblyName>
<RootNamespace>Telerik.JustMock.Tests</RootNamespace>
Expand All @@ -16,7 +16,7 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)'=='DebugFree|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
Expand All @@ -35,7 +35,7 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)'=='ReleaseFree|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
Expand All @@ -44,7 +44,7 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp3.1'">
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
</PropertyGroup>
<PropertyGroup>
Expand Down Expand Up @@ -73,6 +73,6 @@
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="System.Dynamic.Runtime " Version="4.3.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion Telerik.JustMock/Core/Context/MockingContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static IDisposable BeginFailureAggregation(string message)
private static PluginLoadHelper pluginLoadHelper;
#if NETCORE
private const string NET_CORE_DESC_PATTERN = @".NET(\sCore)?\s(\d+(\.)?)+";
private const string NET_CORE_SUBDIR = "netcoreapp2.1";
private const string NET_CORE_SUBDIR = "netcoreapp3.1";
#endif
#endif

Expand Down
38 changes: 12 additions & 26 deletions Telerik.JustMock/Telerik.JustMock.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<NetFxSupportedVersions>net45;net472</NetFxSupportedVersions>
<NetCoreSupportedVersions>netcoreapp2.0</NetCoreSupportedVersions>
<TargetFrameworks>$(NetFxSupportedVersions);$(NetCoreSupportedVersions)</TargetFrameworks>
<TargetFrameworks>net472;netstandard2.1</TargetFrameworks>
<Configurations>Debug;Release;ReleaseFree;DebugFree</Configurations>
<AssemblyName>Telerik.JustMock</AssemblyName>
<RootNamespace>Telerik.JustMock</RootNamespace>
Expand All @@ -18,59 +16,52 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
</PropertyGroup>
<PropertyGroup Condition=" '$(PreviewTargetFramework)' != '' ">
<NetCoreSupportedVersions>$(NetCoreSupportedVersions);$(PreviewTargetFramework)</NetCoreSupportedVersions>
<TargetFrameworks>$(TargetFrameworks);$(PreviewTargetFramework)</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\Binaries\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<DefineConstants>$(DefineConstants);TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\Binaries\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>..\..\..\Binaries\Release\Telerik.JustMock.xml</DocumentationFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseFree|AnyCPU' ">
<OutputPath>..\..\..\Binaries\ReleaseFree\</OutputPath>
<DefineConstants>TRACE;LITE_EDITION</DefineConstants>
<DefineConstants>$(DefineConstants);TRACE;LITE_EDITION</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<DocumentationFile>..\..\..\Binaries\ReleaseFree\Telerik.JustMock.xml</DocumentationFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugFree|AnyCPU'">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugFree|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\..\Binaries\DebugFree\</OutputPath>
<DefineConstants>TRACE;DEBUG;LITE_EDITION</DefineConstants>
<DefineConstants>$(DefineConstants);TRACE;DEBUG;LITE_EDITION</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="$(NetFxSupportedVersions.Contains('$(TargetFramework)'))">
<PropertyGroup Condition=" '$(TargetFramework)' == 'net472' ">
<DefineConstants>$(DefineConstants);FEATURE_APPDOMAIN;FEATURE_ASSEMBLYBUILDER_SAVE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(NetCoreSupportedVersions.Contains('$(TargetFramework)'))">
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' Or '$(TargetFramework)' == '$(PreviewTargetFramework)' ">
<DefineConstants>$(DefineConstants);NETCORE;NO_ASSEMBLY_SCANNING;NO_REMOTING</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="$(NetFxSupportedVersions.Contains('$(TargetFramework)'))">
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.XML" />
</ItemGroup>
<ItemGroup>
<None Remove="Core\DynamicProxy\DynamicProxy.snk" />
</ItemGroup>
Expand Down Expand Up @@ -179,12 +170,7 @@
</None>
<None Include="TextBuilder.include" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
<PackageReference Include="System.Security.Permissions" Version="4.5.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net7.0'">
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
<PackageReference Include="System.Security.Permissions" Version="5.0" />
Expand Down