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

Unsupported Project #274

Open
imukai opened this issue Jan 17, 2020 · 5 comments
Open

Unsupported Project #274

imukai opened this issue Jan 17, 2020 · 5 comments

Comments

@imukai
Copy link

imukai commented Jan 17, 2020

I have an older vs 2015 project that I'm trying to get up to 2017 or 2019 and running into all sorts of problems in the migration process. I found this tool and was hopeful, but both the 2017 and 2019 versions are giving me the same message, that the project is unsupported.

[14:19:19 WRN] Unsupported project[XXXXX] type {8BB2217D-0F2D-49D1-97BC-3654ED321F3B}
[14:19:19 INF] No projects have been found to match your criteria.

It is an older .NET Core 1.1 ASP.NET project. Is there a particular reason it is not supported? Can you think of any other options? VS2017 itself fails to migrate it because dotnet-migrate is no longer around.

Kind of at a loss right now.

@oreleraki
Copy link

Are any plans of supporting the followings:

		/// <summary>
		/// Guids that cannot be converted
		/// </summary>
		/// <remarks>
		/// Types of projects that are not supported:
		/// https://github.com/dotnet/project-system/blob/master/docs/feature-comparison.md
		/// The GUIDs taken from
		/// https://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs
		/// Note that the list here is in upper case but project file guids are normally lower case
		/// This list does not include Windows Forms apps, these have no type guid
		/// </remarks>
		private static readonly Guid[] unsupportedGuids =
		{
			Guid.ParseExact("8BB2217D-0F2D-49D1-97BC-3654ED321F3B", "D"), // ASP.NET 5
			Guid.ParseExact("603C0E0B-DB56-11DC-BE95-000D561079B0", "D"), // ASP.NET MVC 1
			Guid.ParseExact("F85E285D-A4E0-4152-9332-AB1D724D3325", "D"), // ASP.NET MVC 2
			Guid.ParseExact("E53F8FEA-EAE0-44A6-8774-FFD645390401", "D"), // ASP.NET MVC 3
			Guid.ParseExact("E3E379DF-F4C6-4180-9B81-6769533ABE47", "D"), // ASP.NET MVC 4
			Guid.ParseExact("349C5851-65DF-11DA-9384-00065B846F21", "D"), // ASP.NET MVC 5
		};

@hvanbakel
Copy link
Owner

hvanbakel commented Oct 19, 2021 via email

@morindo
Copy link

morindo commented Feb 24, 2023

Hi guys, just want to let you know that using the great CsprojToVs2017 tool it's easy to migrate your MVC projects to the great great MSBuild.SDK.SystemWeb Sdk style.

Just remove the {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} from your csproj, it will then act as default project type (Class Library), you will then be able to migrate your project to using the command dotnet migrate-2019 wizard "D:\Path\To\My\TestProject.csproj". Then just replace the Sdk attribute with and voilà!

Just want to thank @CZEMacLeod for your great job on this one! It just works!

@zythra
Copy link

zythra commented Oct 18, 2023

Then just replace the Sdk attribute with and voilà!

Replace the Sdk attribute with what?

@CZEMacLeod
Copy link

Then just replace the Sdk attribute with and voilà!

Replace the Sdk attribute with what?

@zythra It says how to use the SDK in the project - https://github.com/CZEMacLeod/MSBuild.SDK.SystemWeb#how-can-i-use-these-sdks

<Project Sdk="MSBuild.SDK.SystemWeb/4.0.88">

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

No branches or pull requests

6 participants