Skip to content

Commit

Permalink
Infrastructure as a code
Browse files Browse the repository at this point in the history
o updated target .NET Framework version
  • Loading branch information
ivo-stoilov authored May 30, 2023
1 parent d369f06 commit 5dd4bde
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Telerik.JustMock.DemoLib/Telerik.JustMock.DemoLib.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<TargetFrameworks>net45;net472;netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<Configurations>Debug;Release;ReleaseFree;DebugFree</Configurations>
<AssemblyName>Telerik.JustMock.DemoLib</AssemblyName>
<RootNamespace>Telerik.JustMock.DemoLib</RootNamespace>
Expand Down Expand Up @@ -96,7 +96,7 @@
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile />
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' Or '$(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,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<TargetFrameworks>net45;net472;netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<Configurations>Debug;Release;DebugFree;ReleaseFree</Configurations>
<AssemblyName>Telerik.JustMock.DemoLibSigned</AssemblyName>
<RootNamespace>Telerik.JustMock.DemoLibSigned</RootNamespace>
Expand Down Expand Up @@ -73,7 +73,7 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>snkey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net472' ">
<Reference Include="System.Data.DataSetExtensions" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<NetCoreSupportedVersions>netcoreapp2.1;netcoreapp3.1;net5.0</NetCoreSupportedVersions>
<TargetFrameworks>net451;$(NetCoreSupportedVersions)</TargetFrameworks>
<TargetFrameworks>net451;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>net452;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net452;net472;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<Configurations>Debug;Release;DebugFree;ReleaseFree</Configurations>
<AssemblyName>Telerik.JustMock.XUnit.Tests</AssemblyName>
<RootNamespace>Telerik.JustMock.Tests</RootNamespace>
Expand Down
7 changes: 7 additions & 0 deletions Telerik.JustMock/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>

<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

</Project>
6 changes: 3 additions & 3 deletions Telerik.JustMock/Telerik.JustMock.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<NetCoreSupportedVersions>netcoreapp2.0</NetCoreSupportedVersions>
<TargetFrameworks>net45;$(NetCoreSupportedVersions)</TargetFrameworks>
<TargetFrameworks>net45;net472;$(NetCoreSupportedVersions)</TargetFrameworks>
<Configurations>Debug;Release;ReleaseFree;DebugFree</Configurations>
<AssemblyName>Telerik.JustMock</AssemblyName>
<RootNamespace>Telerik.JustMock</RootNamespace>
Expand Down Expand Up @@ -54,7 +54,7 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net45' ">
<PropertyGroup Condition="'$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net472'">
<DefineConstants>$(DefineConstants);FEATURE_REMOTING;FEATURE_APPDOMAIN;FEATURE_ASSEMBLYBUILDER_SAVE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(NetCoreSupportedVersions.Contains('$(TargetFramework)'))">
Expand Down Expand Up @@ -84,7 +84,7 @@
<PropertyGroup>
<PostBuildEvent />
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<ItemGroup Condition="'$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net472'">
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down

0 comments on commit 5dd4bde

Please sign in to comment.