Skip to content

Commit 5d37e59

Browse files
committed
update csproj framework
1 parent 96c30c6 commit 5d37e59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PositionalGuide/framework.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
-->
4242

4343
<PropertyGroup Condition=" '$(Product)' != '' ">
44-
<AssemblyName Condition=" '$(AssemblyName)' == '' ">$(Product)</AssemblyName>
45-
<PackageId Condition=" '$(PackageId)' == '' ">$(Product)</PackageId>
44+
<AssemblyName Condition=" '$(AssemblyName)' == '' ">$(Product.Replace("-", "."))</AssemblyName>
45+
<PackageId Condition=" '$(PackageId)' == '' ">$(Product.Replace("-", "."))</PackageId>
4646
<Title Condition=" '$(Title)' == '' ">$(Product)</Title>
4747
<PackageProjectUrl Condition=" '$(PackageProjectUrl)' == '' ">https://github.com/PrincessRTFM/$(Product)</PackageProjectUrl>
4848
</PropertyGroup>
@@ -53,7 +53,7 @@
5353
<NullableContextOptions>enable</NullableContextOptions>
5454
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5555
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
56-
<LangVersion>11</LangVersion>
56+
<LangVersion>12</LangVersion>
5757
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
5858
<OutputPath>bin\$(Configuration)\</OutputPath>
5959
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>

0 commit comments

Comments
 (0)