Hi,@yoyodyne01. Welcome to Microsoft Q&A.
Reason:
10.0.26100.1 in <TargetFramework>net6.0-windows10.0.26100.1</TargetFramework> is not a valid TargetPlatformVersion for Windows
Solution:
1.The simplest way is to use the following code:
<TargetFramework>net6.0-windows</TargetFramework>
2.Use a valid version
10.0.22621.0
10.0.22000.0
10.0.20348.0
10.0.19041.0
10.0.18362.0
10.0.17763.0
8.0
7.0
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.