Skip to content

Commit

Permalink
Update TargetFramework to net6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phmatray committed Nov 30, 2022
1 parent b17fd34 commit 9f643ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/Atypical.VirtualFileSystem.Core/Abstractions/VFSPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ public abstract partial record VFSPath
private const string VFSPathRegexPattern =
@$"^{ROOT_PATH}(?<path>([a-zA-Z0-9_\-\.]+{DIRECTORY_SEPARATOR})*[a-zA-Z0-9_\-\.]+)$";

[GeneratedRegex(VFSPathRegexPattern, RegexOptions.Compiled)]
private static partial Regex GetVFSPathRegex();

/// <summary>
/// Regex for matching a valid file system path.
/// </summary>
public static readonly Regex VFSPathRegex = GetVFSPathRegex();
public static readonly Regex VFSPathRegex = new(VFSPathRegexPattern, RegexOptions.Compiled);

/// <summary>
/// Creates a new instance of <see cref="VFSPath" />.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>11</LangVersion>
<Company>Atypical Consulting SRL</Company>

<IsPackable>false</IsPackable>

Expand Down

0 comments on commit 9f643ed

Please sign in to comment.