File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public CodeToView(SourceCodeFile sourceFile)
37
37
var syntaxTree = CSharpSyntaxTree . ParseText ( File . ReadAllText ( sourceFile . CsFile . FullName ) ) ;
38
38
var root = syntaxTree . GetRoot ( ) ;
39
39
40
- var namespaces = root . DescendantNodes ( ) . OfType < NamespaceDeclarationSyntax > ( ) . ToArray ( ) ;
40
+ var namespaces = root . DescendantNodes ( ) . OfType < BaseNamespaceDeclarationSyntax > ( ) . ToArray ( ) ;
41
41
42
42
if ( namespaces . Length != 1 )
43
43
{
Original file line number Diff line number Diff line change 13
13
</None >
14
14
</ItemGroup >
15
15
<PropertyGroup >
16
- <TargetFrameworks >net7.0; net8.0</TargetFrameworks >
16
+ <TargetFrameworks >net8.0</TargetFrameworks >
17
17
<DefineConstants >$(DefineConstants);Building_For_Dotnet_8</DefineConstants >
18
18
<OutputType >Exe</OutputType >
19
19
<GenerateDocumentationFile >true</GenerateDocumentationFile >
20
20
<PackAsTool >true</PackAsTool >
21
21
<ToolCommandName >TerminalGuiDesigner</ToolCommandName >
22
22
<PackageOutputPath >./nupkg</PackageOutputPath >
23
- <TargetFramework >net7 .0</TargetFramework >
23
+ <TargetFramework >net8 .0</TargetFramework >
24
24
<ImplicitUsings >enable</ImplicitUsings >
25
25
<PackageId >TerminalGuiDesigner</PackageId >
26
- <Version >1.1.0 </Version >
26
+ <Version >1.1.1 </Version >
27
27
<Authors >Thomas Nind</Authors >
28
28
<Nullable >enable</Nullable >
29
29
<PackageLicenseExpression >MIT</PackageLicenseExpression >
36
36
<PackageIcon >logo.png</PackageIcon >
37
37
<PackageReadmeFile >README.md</PackageReadmeFile >
38
38
<PackageReleaseNotes >
39
+ v1.1.1
40
+ * Support file scoped namespaces
41
+ * Target only dotnet 8
39
42
v1.1.0
40
43
* Dual targeting dotnet 8 and 7
41
44
v1.0.25
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net7.0; net8.0</TargetFrameworks >
4
+ <TargetFrameworks >net8.0</TargetFrameworks >
5
5
<Nullable >enable</Nullable >
6
6
<IsPackable >false</IsPackable >
7
7
<GenerateDocumentationFile >true</GenerateDocumentationFile >
You can’t perform that action at this time.
0 commit comments