1

We are migrating a project from classic Asp.Net web forms to Asp.Net MVC.

I have followed the fours steps outlined here
http://www.codeproject.com/KB/aspnet/webformmvcharmony.aspx
and all is working well.

Now I want to get Visual Studio to include MVC item templates in the "add new item" dialog. So I add {F85E285D-A4E0-4152-9332-AB1D724D3325}; to the <projecttypeguids> element in the csproj file.

So this succeeds in adding MVC support to the Visual Studio "add new item" dialog, but now the build fails. And it fails in the strangest way. The three projects that make up the solution each complete with "build succeeded" but the process ends with a message
'========== Build: 2 succeeded or up-to-date, 1 failed, 0 skipped =========='

I am able to F5 debug, but I am not able to publish.

We are using Visual Studio 2008 SP1 and migrating to MVC 2.0.

Anyone have any ideas why the build is failing after adding this project type guid?

1
  • Anything of interest in the Output window after you try to publish? Commented Aug 31, 2010 at 16:19

1 Answer 1

2

The solution to the problem was to rearrange the order of the GUIDS in the <projecttypeguids> element. When {F85E285D-A4E0-4152-9332-AB1D724D3325} is first on the list, the build succeeds.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.