I worked around this issue by change the source code:

\npanday-1.4.0-incubating\dotnet\assemblies\NPanday.ProjectImporter\Engine\src\main\csharp\NPanday\ProjectImporter\Parser\VisualStudioProjectTypes\VisualStudioProjectType.cs
Replace
//Model View Controller (MVC) F85E285D-A4E0-4152-9332-AB1D724D3325
__visualStudioProjectTypes.Add("F85E285D-A4E0-4152-9332-AB1D724D3325", 
VisualStudioProjectTypeEnum.Model_View_Controller_MVC);
__visualStudioProjectTypeGuids.Add(VisualStudioProjectTypeEnum.Model_View_Controller_MVC,
 "F85E285D-A4E0-4152-9332-AB1D724D3325");
__visualStudioProjectTypeSupported.Add("F85E285D-A4E0-4152-9332-AB1D724D3325", 
true);
TO
//Model View Controller (MVC) E53F8FEA-EAE0-44A6-8774-FFD645390401
__visualStudioProjectTypes.Add("E53F8FEA-EAE0-44A6-8774-FFD645390401", 
VisualStudioProjectTypeEnum.Model_View_Controller_MVC);
__visualStudioProjectTypeGuids.Add(VisualStudioProjectTypeEnum.Model_View_Controller_MVC,
 "E53F8FEA-EAE0-44A6-8774-FFD645390401");
__visualStudioProjectTypeSupported.Add("E53F8FEA-EAE0-44A6-8774-FFD645390401", 
true);

[cid:[email protected]]
If you agree with my solution, maybe you can integrate it into next release.

Npanday is a wonderful tool for .net developer, I am very appreciate that.
Thanks,
Toby Liu|  Hewlett-Packard  |  GADSC China Development Center  |  
ShangHai,China +86 21 38896857 | [email protected]<mailto:[email protected]>


From: Liu, Ning (Toby,HPIT-GADSC)
Sent: Thursday, September 29, 2011 4:18 PM
To: '[email protected]'
Subject: Npanday Import Error


Hi, buddy



I want to generate Pom.xml using Npanday for ASP.net MVC 3 project running in 
Visual Studio 2010. But got an error:



[cid:[email protected]]



https://issues.apache.org/jira/browse/NPANDAY-472



although you have MVC type below, but I think it is for MVC 2 or previous 
version, would you have a check , and update the project type guid for MVC 3 ?

[cid:[email protected]]
Thanks,
Toby Liu|  Hewlett-Packard  |  GADSC China Development Center  |  
ShangHai,China +86 21 38896857 | [email protected]<mailto:[email protected]>

Reply via email to