-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Terminal.Gui to 1.16.0, and make psedit compatible again (#63)
* Updated Terminal.Gui reference to 1.16.0, as they have dropped support for .NET Standard 2.0 Change from targetting .NET Standard to multi target .NET Standard 2.1 + .NET Framework 4.7.2 Updated vscode launch/tasks json files, and confirmed launching/debugging still works Updated yml workflows for github, as dotnet publish is no longer supported. We must use dotnet build as publish is not supported for multi targetting projects
- Loading branch information
1 parent
b35d636
commit 2f562af
Showing
6 changed files
with
62 additions
and
17 deletions.
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
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
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,19 +1,48 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<TargetFrameworks>netstandard2.1;net472</TargetFrameworks> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="PowerShellStandard.Library" Version="5.1.1" /> | ||
<PackageReference Include="Terminal.Gui" Version="1.10.0" /> | ||
<PackageReference Include="Terminal.Gui" Version="1.16.0" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="psedit.psd1"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
<!-- Output paths for Debug configuration --> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Debug|netstandard2.1'"> | ||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> | ||
<OutputPath>bin\Debug\coreclr\</OutputPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Debug|net472'"> | ||
<OutputPath>bin\Debug\clr\</OutputPath> | ||
</PropertyGroup> | ||
|
||
<Target Name="CopyAdditionalFiles" AfterTargets="Build" Condition="'$(Configuration)' == 'Debug'"> | ||
<!-- Copy psedit.psd1 to the root output directory --> | ||
<Copy SourceFiles="psedit.psd1" | ||
DestinationFolder="bin\Debug" | ||
SkipUnchangedFiles="true" /> | ||
</Target> | ||
|
||
<!-- Output paths for Release configuration --> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|netstandard2.1'"> | ||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> | ||
<OutputPath>bin\Release\coreclr\</OutputPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|net472'"> | ||
<OutputPath>bin\Release\clr\</OutputPath> | ||
</PropertyGroup> | ||
|
||
<Target Name="CopyAdditionalFilesRelease" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'"> | ||
<!-- Copy psedit.psd1 to the root output directory --> | ||
<Copy SourceFiles="psedit.psd1" | ||
DestinationFolder="bin\Release" | ||
SkipUnchangedFiles="true" /> | ||
</Target> | ||
|
||
</Project> |
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