Development of new module with visual studio 2010

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.
6/14/2009 8:58:15 PM
Gravatar
Total Posts 4

Development of new module with visual studio 2010

Hi everyone,

 

Beginner to mojoPortal. I checked out the installation files and perform installation onto my server. Everything works perfectly well.

Next, I tried to check out the source code and intend to perform some development wok on visual studio 2010 environment, creating MyProjects as indicated in the developer document, to develop my own module.

When I click debug button, visual studio thrown out the following series of errors.

Anyone knows how to resolve this.

Warning 7 The primary reference "C:\Users\chancp\Documents\mojo\sourcecode\mojoportal\mojoPortal.Web.Framework\bin\Debug\mojoPortal.Web.Framework.dll" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a public key token of "B77A5C561934E089" and has been located in the GAC or AssemblyFolders search locations. The assembly has been added to an exclusion list. Assemblies with this public key token should not be resolved from the GAC or the Assemblyfolders search locations. If this reference is required change the reference include to a fusion name and set <SpecificVersion> metadata to true. mojoPortal.Net
 

Is there anyone, I could perform develpment work on new module, without being concerned on the core module like the above ?

 


 

6/15/2009 5:18:39 AM
Gravatar
Total Posts 18439

Re: Development of new module with visual studio 2010

Before you try to debug the mojoPortal.Web project (which must be the startup project), you must rebuild the entire solution so all the projects are compiled.

Hope it helps,

Joe

6/15/2009 9:36:12 AM
Gravatar
Total Posts 4

Re: Development of new module with visual studio 2010

Hi Joe, got it work. I rebuilt every project and gotten it work. Thanks Joe. although the process is a little tedious.

6/15/2009 9:59:40 AM
Gravatar
Total Posts 18439

Re: Development of new module with visual studio 2010

Sorry you find it tedious. I work with this solution every day and do not find it tedious. 

You could work using the pre-compiled release files in VS and perhaps reduce the tedium you experience with the build process. However, if you are new to .NET and even if you are not, the biggest benefit of working with the source code is to learn how it works and the fact that you can easily find good example code for any common development task by studying existing features. If you get the code from svn trunk you also can get bug fixes and new features before they are officially released.

You can also copy the .sn file and rename it and then using your custom.sln file you can remove Data projects for db plaforms you are not using. That can reduce the number of projects in the solution a lot and reduce build time.

Hope it helps,

Joe

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