[前台API] VS編譯CORE3.1出現錯誤專案擋註釋。

This commit is contained in:
陳啟峰 2022-10-31 17:15:55 +08:00
parent 5edaf97ec2
commit b42cacdbdf

View File

@ -3,6 +3,9 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>netcoreapp3.1</TargetFramework>
<UserSecretsId>e7f9420f-8be4-4163-bb5a-13bbee6b0b36</UserSecretsId> <UserSecretsId>e7f9420f-8be4-4163-bb5a-13bbee6b0b36</UserSecretsId>
<!--VS編譯CORE3.1出現錯誤-->
<!--Fixing Error NETSDK1152 after upgrading to .NET 6 https://www.poppastring.com/blog/fixing-error-netsdk1152-after-upgrading-to-net-6-->
<!--.NET Core 6 Found multiple publish output files with the same relative path https://github.com/dotnet/sdk/issues/22716-->
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles> <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup> </PropertyGroup>