Skip to content

Commit

Permalink
Merge pull request #7 from Sundow/master
Browse files Browse the repository at this point in the history
Added net472, net6.0, net7.0 as build targets
  • Loading branch information
entlib authored Feb 24, 2023
2 parents 575cf15 + 558067d commit 6e86463
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net45;net46;net47</TargetFrameworks>
<TargetFrameworks>net45;net46;net47;net472</TargetFrameworks>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
<FileVersion>$(Version).$(Revision)</FileVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net45;net46;net47;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net45;net46;net47;net472;netcoreapp3.0;net6.0-windows;net7.0-windows</TargetFrameworks>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
<FileVersion>$(Version).$(Revision)</FileVersion>
Expand Down Expand Up @@ -39,11 +39,7 @@
<ProjectReference Include="..\Validation\Validation.csproj" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) OR $(TargetFramework.StartsWith('netcoreapp'))">

</ItemGroup>

<ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard')) AND !$(TargetFramework.StartsWith('netcoreapp'))">
<ItemGroup Condition="$(TargetFramework.StartsWith('net4'))">
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System.Xaml" />
Expand Down Expand Up @@ -93,14 +89,6 @@
</Content>
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) OR $(TargetFramework.StartsWith('netcoreapp'))">

</ItemGroup>

<ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard')) AND !$(TargetFramework.StartsWith('netcoreapp'))">

</ItemGroup>

<PropertyGroup>
<OutputPath>$(SolutionDir)..\bin\$(Configuration)\</OutputPath>
<DocumentationFile>$(SolutionDir)..\bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net45;net46;net47</TargetFrameworks>
<TargetFrameworks>net45;net46;net47;net472;</TargetFrameworks>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
<FileVersion>$(Version).$(Revision)</FileVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net45;net46;net47;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net45;net46;net47;net472;netcoreapp3.0;net6.0-windows;net7.0-windows</TargetFrameworks>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
<FileVersion>$(Version).$(Revision)</FileVersion>
Expand Down Expand Up @@ -41,7 +41,7 @@

</ItemGroup>

<ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard')) AND !$(TargetFramework.StartsWith('netcoreapp'))">
<ItemGroup Condition="$(TargetFramework.StartsWith('net4'))">
<Reference Include="System.Configuration" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Design" />
Expand Down Expand Up @@ -97,14 +97,6 @@
</Content>
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) OR $(TargetFramework.StartsWith('netcoreapp'))">

</ItemGroup>

<ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard')) AND !$(TargetFramework.StartsWith('netcoreapp'))">

</ItemGroup>

<PropertyGroup>
<OutputPath>$(SolutionDir)..\bin\$(Configuration)\</OutputPath>
<DocumentationFile>$(SolutionDir)..\bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile>
Expand Down
8 changes: 4 additions & 4 deletions source/Src/Validation/Validation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net45;net46;net47;netstandard2.0;netcoreapp2.0;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net45;net46;net47;net472;netstandard2.0;netcoreapp2.0;netcoreapp3.0;net6.0;net7.0</TargetFrameworks>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
<FileVersion>$(Version).$(Revision)</FileVersion>
Expand Down Expand Up @@ -33,7 +33,7 @@
<PackageReference Include="$(PrePackageName).Common$(PostPackageName)" Version="$(EntLibCommonVersion)" Condition="!Exists('$(EntLibCommon)') OR '$(EntLibDependencyType)' == 'Package'" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) OR $(TargetFramework.StartsWith('netcoreapp'))">
<ItemGroup Condition="!$(TargetFramework.StartsWith('net4'))">
<PackageReference Include="System.Configuration.ConfigurationManager" Version="$(SystemConfigurationConfigurationManagerVersion)" />
<PackageReference Include="System.ComponentModel.Annotations" Version="$(SystemComponentModelAnnotationsVersion)" />
</ItemGroup>
Expand All @@ -44,7 +44,7 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="$(MicrosoftAspNetCoreMvcCoreVersion)" />
</ItemGroup>

<ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard')) AND !$(TargetFramework.StartsWith('netcoreapp'))">
<ItemGroup Condition="$(TargetFramework.StartsWith('net4'))">
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.configuration" />
<Reference Include="System.Configuration.Install" />
Expand Down Expand Up @@ -108,7 +108,7 @@
<Compile Remove="**\*.Desktop.cs" />
</ItemGroup>

<ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard')) AND !$(TargetFramework.StartsWith('netcoreapp'))">
<ItemGroup Condition="$(TargetFramework.StartsWith('net4'))">
<Compile Remove="**\*.Core.cs" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net47</TargetFrameworks>
<TargetFrameworks>net47;net472</TargetFrameworks>
<IsPackable>false</IsPackable>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>netcoreapp3.0;net47</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net47;net472</TargetFrameworks>
<IsPackable>false</IsPackable>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net47;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net47;net472;netcoreapp3.0</TargetFrameworks>
<IsPackable>false</IsPackable>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net45;net46;net47;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net45;net46;net47;net472;netcoreapp3.0</TargetFrameworks>
<IsPackable>false</IsPackable>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
Expand Down
2 changes: 1 addition & 1 deletion source/Tests/Validation.Tests/Validation.Tests.VSTS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net47</TargetFrameworks>
<TargetFrameworks>net47;net472</TargetFrameworks>
<IsPackable>false</IsPackable>

<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
Expand Down

0 comments on commit 6e86463

Please sign in to comment.