Skip to content

Commit 44cc78b

Browse files
committed
updated to NET6, no functional change
1 parent 72c945a commit 44cc78b

File tree

3 files changed

+15
-20
lines changed

3 files changed

+15
-20
lines changed

BlueprintPurge/BlueprintPurge.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private void Search(ZipEntry entry)
189189
else if (isRef && refs.Contains(quote))
190190
{
191191
var parentpurge = purges.First(f => f.Ref == quote && f.File == entry.FileName);
192-
purge.Push(new PurgeRange { File = entry.FileName, Guid = parentpurge.Guid, Data = data, Ref = quote, Type = "$ref" });
192+
purge.Push(new PurgeRange() { File = entry.FileName, Guid = parentpurge.Guid, Data = data, Ref = quote, Type = "$ref" });
193193
depth.Push(stack.Count);
194194
}
195195

@@ -200,7 +200,7 @@ private void Search(ZipEntry entry)
200200
if (lastId.TryGetValue(stack.Count, out var id))
201201
refs.Add(id);
202202
// generate new range, which is finalized later
203-
purge.Push(new PurgeRange { File = entry.FileName, Guid = Guid.Empty, Data = data, Ref = id!, Type = quote });
203+
purge.Push(new PurgeRange() { File = entry.FileName, Guid = Guid.Empty, Data = data, Ref = id!, Type = quote });
204204
depth.Push(stack.Count);
205205
}
206206

@@ -212,7 +212,7 @@ private void Search(ZipEntry entry)
212212
if (lastId.TryGetValue(stack.Count, out var id))
213213
refs.Add(id);
214214
// generate new range, which is finalized later
215-
purge.Push(new PurgeRange { File = entry.FileName, Guid = guid, Data = data, Ref = id! });
215+
purge.Push(new PurgeRange() { File = entry.FileName, Guid = guid, Data = data, Ref = id! });
216216
depth.Push(stack.Count);
217217
}
218218

BlueprintPurge/BlueprintPurge.csproj

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4+
<Version>0.5.0</Version>
45
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net5.0-windows</TargetFramework>
6-
<Nullable>enable</Nullable>
7-
<UseWindowsForms>true</UseWindowsForms>
8-
<DebugType>embedded</DebugType>
9-
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
6+
<TargetFramework>net6.0-windows</TargetFramework>
7+
<Nullable>disable</Nullable>
8+
<UseWindowsForms>true</UseWindowsForms>
9+
<LangVersion>latest</LangVersion>
10+
<ImplicitUsings>disable</ImplicitUsings>
11+
<Authors>Truinto</Authors>
1012
<Title>BlueprintPurge</Title>
1113
<Product>BlueprintPurge</Product>
12-
<Deterministic>False</Deterministic>
13-
<AssemblyVersion>0.2.0.*</AssemblyVersion>
14-
<FileVersion>0.2.0</FileVersion>
15-
<Version>0.2.0</Version>
16-
<PlatformTarget>x64</PlatformTarget>
1714
<Company>Truinto</Company>
1815
<Copyright>Truinto</Copyright>
19-
</PropertyGroup>
20-
21-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
22-
</PropertyGroup>
23-
24-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
25-
<Deterministic>False</Deterministic>
16+
<DebugType>embedded</DebugType>
17+
<DebugSymbols>true</DebugSymbols>
2618
</PropertyGroup>
2719

2820
<ItemGroup>

BlueprintPurge/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [0.6.0]
4+
- updated to NET6, no functional change
5+
36
## [0.5.0]
47
- removed string restriction on $type
58
- fixed preceding comma, when purging last entry in a list

0 commit comments

Comments
 (0)