⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
This repository was archived by the owner on Dec 5, 2021. It is now read-only.

Port to .NETStandard 2.0#893

Open
merqlove wants to merge 1 commit intosochix:masterfrom
merqlove:netstandard
Open

Port to .NETStandard 2.0#893
merqlove wants to merge 1 commit intosochix:masterfrom
merqlove:netstandard

Conversation

@merqlove
Copy link

@merqlove merqlove commented Jan 9, 2020

That port contains only nestandard2.0 due crosscompat. NETStandard 2.0 projects can be used under .net.
Dropped .NET only dependencies. Now project uses netstandard deps only.
Removed some old files in Requests, for better compile.
Remove nuspec usage. Now all in .csproj.

If that project need such upgrade merge & change it for project needs.

{
if (!Directory.Exists(Path.GetDirectoryName(path)))
Directory.CreateDirectory(Path.GetDirectoryName(path));
Directory.CreateDirectory(Path.GetDirectoryName($"{currentDirectory}../../../../{path}"));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this? this doesn't seem to be related to .NETStandard change, or it's a changed that is not explained in the commit message

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've got error with relative path, so it is cd to the project root from bin/debug directory

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what error? this info needs to be in the commit message

<AssemblyName>TeleSharp.Generator</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's no reason to change this project's targetFramework, projects with .NETFramework 4.x can still link to .NETStandard libraries

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants