-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to .net6 #42
Open
yangyiyi
wants to merge
1
commit into
Tagliatti:master
Choose a base branch
from
yangyiyi:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Upgrade to .net6 #42
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<TargetFrameworks>net6.0</TargetFrameworks> | ||
<PackageProjectUrl>https://github.com/Tagliatti/NetBarcode</PackageProjectUrl> | ||
<PackageTags>barcode</PackageTags> | ||
<PackageIconUrl>https://i.imgur.com/BhcO3DF.jpg</PackageIconUrl> | ||
|
@@ -10,14 +10,14 @@ | |
<Authors>Filipe Tagliatti</Authors> | ||
<Company /> | ||
<Product /> | ||
<Description>Barcode generation library written in .NET Core compatible with .NET Standard 2.</Description> | ||
<Description>Barcode generation library written in .NET Core compatible with .NET 6.</Description> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Platform)'=='AnyCPU'"> | ||
<DocumentationFile>bin\$(Configuration)\netstandard2.0\NetBarcode.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta17" /> | ||
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.1" /> | ||
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta14" /> | ||
<PackageReference Include="SixLabors.Fonts" Version="1.0.1" /> | ||
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.6" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. conflict with #44 changes |
||
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0" /> | ||
</ItemGroup> | ||
</Project> |
13 changes: 13 additions & 0 deletions
13
NetBarcode/Properties/PublishProfiles/FolderProfile net6.0.pubxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<WebPublishMethod>FileSystem</WebPublishMethod> | ||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> | ||
<LastUsedPlatform>AnyCPU</LastUsedPlatform> | ||
<publishUrl>../../Release/SDK/NetBarcode</publishUrl> | ||
<DeleteExistingFiles>false</DeleteExistingFiles> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<SelfContained>false</SelfContained> | ||
<_IsPortable>true</_IsPortable> | ||
</PropertyGroup> | ||
</Project> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this breaks .NET Framework compatibility
https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0
Possible to use
netstandard2.0
while also supporting the newSixLabors
libs?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Bogatinov , Thanks for comment, I will check
netstandard2.0
is supporting the newSixLabors
libs or not and do a necessary update on it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tommyliew-machines I checked it out
SixLabors.Fonts 1.0.1
works onnetstandard2.0
, but2.0.0
isnet6.0
dependentSixLabors.ImageSharp.Drawing 1.0.0
works onnetstandard2.0
, but2.0.0
isnet6.0
dependentSixLabors.ImageSharp 2.1.8
is the last version that allowsnetstandard2.0
I can open a PR and update the libraries
Then we can do 2 changes
netstandard2.0