Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NETSDK1146 #50

Merged
merged 1 commit into from
Aug 3, 2022
Merged

Fix NETSDK1146 #50

merged 1 commit into from
Aug 3, 2022

Conversation

lindexi
Copy link
Member

@lindexi lindexi commented Aug 3, 2022

C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.PackTool.targets(95,5): error NETSDK1146: PackAsTool does not support TargetPlatformIdentifier being set. For example, TargetFramework cannot be net5.0-windows, only net5.0. PackAsTool also does not support UseWPF or UseWindowsForms when targeting .NET 5 and higher.

dotnet/sdk#16361

dotnet/sdk#12055

C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.PackTool.targets(95,5): error NETSDK1146: PackAsTool does not support TargetPlatformIdentifier being set. For example, TargetFramework cannot be net5.0-windows, only net5.0. PackAsTool also does not support UseWPF or UseWindowsForms when targeting .NET 5 and higher.

dotnet/sdk#16361
@lindexi lindexi requested review from kkwpsv and walterlv August 3, 2022 02:38
@kkwpsv kkwpsv merged commit 27d6819 into master Aug 3, 2022
@kkwpsv kkwpsv deleted the t/lindexi/Download branch August 3, 2022 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants