<Import> WebApplication.targets not found after adding personal projects to solution.

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/14/2010 12:08:41 PM
Gravatar
Total Posts 4
Happy Coding

<Import> WebApplication.targets not found after adding personal projects to solution.

I get these errors after adding my projects to the mojoportal-vs2008.sln.

 

Error 1 The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. C:\Users\jbrown\Desktop\mojoportaltrunk\mojoPortal.Features.UI\mojoPortal.Features.UI.csproj 4441 11 KSBBBS.UI

Error 2 The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. C:\Users\jbrown\Desktop\mojoportaltrunk\Web\mojoPortal.Web.csproj 9251 11 KSBBBS.UI
 

This is on a fresh repository download.  And I'm running VS2008 on 64-bit machine. 

7/16/2010 6:33:59 PM
Gravatar
Total Posts 1

Re: <Import> WebApplication.targets not found after adding personal projects to solution.

I suppose you have probably figured it out by now, but in case anyone else has this problem:

Remove all the references to mojoportal.Web, mojoportal.Business etc. in the Solution Explorer under References of your project and replace them with mojoportal.Web-vs2008, mojoportal.Business-vs2008 etc.

Hope that helps. 

You must sign in to post in the forums. This thread is closed to new posts.