-
Notifications
You must be signed in to change notification settings - Fork 162
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
Failed to convert project to SDK Style. #1296
Comments
What project type is |
It’s WPF app, and EventLog is a class library. |
@brandonh-msft require your help. Thanks. |
I had the same issue with test projects:
|
I have exactly the same problem with test projects. Trying to upgrade an complex wpf app from 4.7 (Framework) to .Net 7. |
A work-around is to remove the unsupported project type GUID. For example, edit the project file and change: |
For some projects I had to edit the project file and add: |
I had one unit test project succeed but two fail with this same error. I compared the original project files for differences and subsequently made the following changes. Then the upgrade completed successfully on those two projects. In the first PropertyGroup element:
With this:
|
EventLog.csproj is an unsupported project type. Not all project type guids are supported.
All supported project type guids:
f184b08f-c81c-45f6-a57f-5abd9991f28f
fae04ec0-301f-11d3-bf4b-00c04f79efbc
60dc8134-eba5-43b8-bcc9-bb4bc16c2548
All given project type guids:
{3AC096D0-A1C2-E12C-1390-A8335801FDAB}
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
[15:40:44 WRN] No projects were converted to SDK style
[15:41:00 FTL] Conversion with try-convert failed.
We are migrating our application to .NET 6 from .NET 4.7. Most of the projects got migrated to .NET 6 but, few are failing with the above error.
Upgrade-Assistant version: 0.4.336902+3a2177acaa53d719e5da4ccde275f84ff18f0611
Please provide a workaround. Can we forcefully convert the project to SDK Style or manually? If manually, How?
The text was updated successfully, but these errors were encountered: