Skip to content

Update Versions to support down to 17763 and Fix CI #26

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

Merged
merged 3 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ColorCode.UWP/ColorCode.UWP.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="MSBuild.Sdk.Extras">

<PropertyGroup>
<TargetFramework>uap10.0.18362</TargetFramework>
<TargetFramework>uap10.0.17763</TargetFramework>
<RootNamespace>ColorCode</RootNamespace>
<AssemblyName>ColorCode.UWP</AssemblyName>
<Title>ColorCode.UWP</Title>
Expand Down
2 changes: 1 addition & 1 deletion ColorCode.WinUI/ColorCode.WinUI.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0-windows10.0.18362.0</TargetFramework>
<TargetFramework>net5.0-windows10.0.17763.0</TargetFramework>
<SupportedOSPlatformVersion>$(TargetPlatformMinVersion)</SupportedOSPlatformVersion>
<RootNamespace>ColorCode</RootNamespace>
<AssemblyName>ColorCode.WinUI</AssemblyName>
Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<!-- UWP Config -->
<PropertyGroup Condition="'$(IsUwpProject)' == 'true'">
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
</PropertyGroup>

<!-- WinUI Config -->
Expand Down Expand Up @@ -62,7 +62,7 @@
<Choose>
<When Condition="'$(IsWinUIProject)' == 'true'">
<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.1.4" />
</ItemGroup>
</When>
</Choose>
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ steps:
displayName: Set Version

- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
displayName: 'Install .NET SDK'
inputs:
version: 5.0.403
version: 6.0.400
performMultiLevelLookup: true

# Workaround for VS2022 in CI Builds
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a port of [ColorCode](https://colorcode.codeplex.com/) to .NET Standard. The original Html only formatter has been separated from the Logic, so now it can produce Syntax Highlighted code for any output.

This Project can currently produce HTML, and Render to UWP RichTextBlocks.
This Project can currently produce HTML, and Render to UWP and WindowsAppSDK RichTextBlocks.

## Usage

Expand Down Expand Up @@ -53,6 +53,7 @@ To get the Programming Language manually, you can provide the identifier name, w
```C#
var language = ColorCode.Languages.FindById("java");
```

See [LanguageId.cs](ColorCode.Core/Common/LanguageId.cs) for the list of available Languages to parse.

## Packages
Expand All @@ -68,6 +69,7 @@ See [LanguageId.cs](ColorCode.Core/Common/LanguageId.cs) for the list of availab
Please use [GitHub issues](https://github.com/WilliamABradley/ColorCode-Universal/issues) for bug reports and feature requests.

## Contributing

Want to help out and add some more parsing support, or add a new Formatter platform? Submit a PR!

## License
Expand Down