Skip to content

Commit

Permalink
Target net461
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ganss committed Jan 21, 2020
1 parent 3e3fabe commit e3954d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<ProjectReference Include="..\XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="bin\$(Configuration)\net45\publish\*.*">
<PackagePath>tools/net45/</PackagePath>
<None Include="bin\$(Configuration)\net461\publish\*.*">
<PackagePath>tools/net461/</PackagePath>
<Pack>true</Pack>
</None>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ build_script:
- dotnet --info
- dotnet restore
- dotnet build -c Release
- dotnet publish XmlSchemaClassGenerator.Console -c Release -f net45
- dotnet publish XmlSchemaClassGenerator.Console -c Release -f net461
- dotnet pack --include-symbols --include-source -c Release XmlSchemaClassGenerator
- dotnet pack --include-symbols --include-source -c Release XmlSchemaClassGenerator.Console
- dotnet pack --include-symbols --include-source -c Release xscgen
- dotnet pack --include-symbols --include-source -c Release xscgen-proj
- 7z a -mx=9 XmlSchemaClassGenerator.%APPVEYOR_BUILD_VERSION%.zip ".\XmlSchemaClassGenerator.Console\bin\Release\net45\publish\*"
- 7z a -mx=9 XmlSchemaClassGenerator.%APPVEYOR_BUILD_VERSION%.zip ".\XmlSchemaClassGenerator.Console\bin\Release\net461\publish\*"
test_script:
- ps: |
if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
Expand Down

0 comments on commit e3954d1

Please sign in to comment.