MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

How to build monox custom project ? PLEASE HELP  (Mono Support )

Viewed 19777 time(s), 13 post(s) 1/16/2013 12:22:00 PMby super
super

super

1/16/2013 12:22:00 PM
I have read this article: http://www.mono-software.com/Blog/post/Mono/95/Building-a-custom-ASP-NET-project-based-on-MonoX/

But still having trouble in creating a custom project.

Can anyone PLEASE guide me with current nightly build version of monox, what exactly I need to do in order to create a custom project that I can build ? I would DEEPLY appreciate if anyone can guide me step by step what need to do ? PLEASE
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

1/16/2013 12:53:02 PM
This is what I am doing but it seems not working...

Step 1 - Download zip from here: https://github.com/MonoSoftware/MonoX-Sample-Solution

Step 2 - Unzip on Desktop

Step 3 - Double click on ProjectName.sln and open it in Visual Studio 2012

Step 4 - Download latest monox nightly build from here: http://www.mono-software.com/Downloads/#MonoX

Step 5 - Unzip the monx nightly build in another folder on desktop

Step 6 - Now open the folder in which I just un-zipped monox nightly build package

Step 7 - Press ctrl + A - Copy all files and folders

Step 8 - Go to Visual Studio project which I opened in step # 3

Step 9 - Right click on "Protal" in Solution Explorer and select PASTE (to paste all the files n folders of nightly build monox in this project)

Step 10 - If it asks for a few files and folder to replace ? I select YES- and replace all.

Step 11 - Now, once everything is transferred in the project - I right click on "Portal" and select "Set as start up"

Step 12 - Now I clean solution and build the solution.

Step 13 - When it is build successfully - I click on F5 to run the project

The problem is after step # 13 - when I run the project by pressing F5 - It opens the webpage in IE but it keeps loading forever and I don't see the website or installation screen - It remains blank and loading....

Are my steps wrong ? Please HELP

This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

1/18/2013 9:34:29 AM
Hi,

repository that you used (https://github.com/MonoSoftware/MonoX-Sample-Solution) is used as a show case for few WebParts, you should start by using the MonoX\Samples\Solution\ProjectName.sln and MonoX\Samples\Solution\Portal.csproj to start custom project. Rest of the procedure is more or less good.

Let us know if you have nay further questions.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

1/18/2013 11:58:24 AM
khorvat, I would deeply appreciate if you could help me with the steps that I mentioned above.. if any step is wrong if you could point which step is wrong n what's the correct way? that would be me helpful that's why I mentioned steps above so that I can know what I'm doing wrong n instead of that wrong step what I need to do ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

1/18/2013 12:15:28 PM
Hi,

Step 1 (Step 1 - Download zip from here: https://github.com/MonoSoftware/MonoX-Sample-Solution) is wrong and use the files I have mentioned above,

Step 2 -OK
Step 3 - Copy those two files in the root of the app, open the MonoX\Samples\Solution\ProjectName.sln
Step 4 - 6 -OK
Step 7 - you don't need to copy all the MonoX files to your project, just copy them to that root app folder and refresh the opened solution
Step 8 - Ok
Step 9, 10 - SKIP
Step 11-13 - OK

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

1/18/2013 6:00:29 PM
When I download latest nightly build, there is no Portal.csproj anywhere in the zip file...current version:
4.7.40.4222 (1/16/2013)


1)I have copied ProjectName.sln file from here MonoX\Samples\Solution\ProjectName.sln to ROOT folder

2) When I try to open ProjectName.sln from MonoX\Samples\Solution\ProjectName.sln in Visual Studio - it gives me error that project files are not loaded properly and portal is missing.

Please see the attached screenshots...
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

1/18/2013 6:06:00 PM
Just to try different thing -

I ALSO tried using Portal.csproj file from https://github.com/MonoSoftware/MonoX-Sample-Solution

I copy and paste Portal.csproj to root directly as well as this location MonoX\Samples\Solution\ (I PASTE HERE - Portal.csproj)

Now when I open the solution from here: MonoX\Samples\Solution\ProjectName.sln in Visual Studio

I get these error messages:

Error   16  Source file 'Code\BaseClasses\BasePage.cs' could not be found   MySite\MonoX\Samples\Solution\CSC   Portal
Error   17  Source file 'Code\BaseClasses\BaseAutoRegisterPart.cs' could not be found   MySite\MonoX\Samples\Solution\CSC   Portal
Error   18  Source file 'Code\BaseClasses\BaseUserControl.cs' could not be found    MySite\MonoX\Samples\Solution\CSC   Portal
Error   19  Source file 'Code\Classes\DataManager.cs' could not be found    MySite\MonoX\Samples\Solution\CSC   Portal
Error   20  Source file 'Code\Layers\Repositories\PopularGroupRepository.cs' could not be found MySite\MonoX\Samples\Solution\CSC   Portal
Error   21  Source file 'ProjectName\ProfileSamples\ASPNETProfileSample\ASPNETProfileSample.aspx.cs' could not be found MySite\MonoX\Samples\Solution\CSC   Portal
Error   22  Source file 'ProjectName\ProfileSamples\ASPNETProfileSample\ASPNETProfileSample.aspx.designer.cs' could not be found    MySite\MonoX\Samples\Solution\CSC   Portal
Error   23  Source file 'ProjectName\ProfileSamples\MonoXProfileTemplates\SideContentTemplate.ascx.cs' could not be found   MySite\MonoX\Samples\Solution\CSC   Portal
Error   24  Source file 'ProjectName\ProfileSamples\MonoXProfileTemplates\SideContentTemplate.ascx.designer.cs' could not be found  MySite\MonoX\Samples\Solution\CSC   Portal
Error   25  Source file 'ProjectName\ProfileSamples\MonoXProfileTemplates\MainContentTemplate.ascx.cs' could not be found   MySite\MonoX\Samples\Solution\CSC   Portal
Error   26  Source file 'ProjectName\ProfileSamples\MonoXProfileTemplates\MainContentTemplate.ascx.designer.cs' could not be found  MySite\MonoX\Samples\Solution\CSC   Portal
Error   27  Source file 'ProjectName\ProfileSamples\MonoXProfileTemplates\MonoXProfileSample.aspx.cs' could not be found    MySite\MonoX\Samples\Solution\CSC   Portal
Error   28  Source file 'ProjectName\ProfileSamples\MonoXProfileTemplates\MonoXProfileSample.aspx.designer.cs' could not be found   MySite\MonoX\Samples\Solution\CSC   Portal
Error   29  Source file 'ProjectName\WebParts\PopularGroupsList.ascx.cs' could not be found MySite\MonoX\Samples\Solution\CSC   Portal
Error   30  Source file 'ProjectName\WebParts\PopularGroupsList.ascx.designer.cs' could not be found    MySite\MonoX\Samples\Solution\CSC   Portal
Error   31  Source file 'ProjectName\WebParts\WebPartSample.aspx.cs' could not be found MySite\MonoX\Samples\Solution\CSC   Portal
Error   32  Source file 'ProjectName\WebParts\WebPartSample.aspx.designer.cs' could not be found    MySite\MonoX\Samples\Solution\CSC   Portal
Error   33  Source file 'ProjectName\WebParts\HelloWorld.ascx.cs' could not be found    MySite\MonoX\Samples\Solution\CSC   Portal
Error   34  Source file 'ProjectName\WebParts\HelloWorld.ascx.designer.cs' could not be found   MySite\MonoX\Samples\Solution\CSC   Portal
Warning 1   Could not resolve this reference. Could not locate the assembly "MonoSoftware.Core". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.    Portal
Warning 2   Could not resolve this reference. Could not locate the assembly "MonoSoftware.LLBLGen". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Portal
Warning 3   Could not resolve this reference. Could not locate the assembly "MonoSoftware.MonoX.DAL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   Portal
Warning 4   Could not resolve this reference. Could not locate the assembly "MonoSoftware.MonoX.DALDBSpecific". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Portal
Warning 5   Could not resolve this reference. Could not locate the assembly "MonoSoftware.Web". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Portal
Warning 6   Could not resolve this reference. Could not locate the assembly "MonoSoftware.Web.LiteGrid". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.    Portal
Warning 7   Could not resolve this reference. Could not locate the assembly "MonoSoftware.Web.Pager". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   Portal
Warning 8   Could not resolve this reference. Could not locate the assembly "MonoSoftware.Web.Workspace". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   Portal
Warning 9   Could not resolve this reference. Could not locate the assembly "MonoX". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.    Portal
Warning 10  Could not resolve this reference. Could not locate the assembly "NVelocity". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.    Portal
Warning 11  Could not resolve this reference. Could not locate the assembly "SD.LLBLGen.Pro.DQE.SqlServer.NET20". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   Portal
Warning 12  Could not resolve this reference. Could not locate the assembly "SD.LLBLGen.Pro.LinqSupportClasses.NET35". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.  Portal
Warning 13  Could not resolve this reference. Could not locate the assembly "SD.LLBLGen.Pro.ORMSupportClasses.NET20". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   Portal
Warning 14  Could not resolve this reference. Could not locate the assembly "SmartThreadPool". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.  Portal
Warning 15  Could not resolve this reference. Could not locate the assembly "Telerik.Web.UI". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   Portal
Warning 35  The referenced component 'MonoSoftware.Core' could not be found.    Portal
Warning 36  The referenced component 'MonoSoftware.LLBLGen' could not be found.     Portal
Warning 37  The referenced component 'MonoSoftware.MonoX.DAL' could not be found.   Portal
Warning 38  The referenced component 'MonoSoftware.MonoX.DALDBSpecific' could not be found.     Portal
Warning 39  The referenced component 'MonoSoftware.Web' could not be found.     Portal
Warning 40  The referenced component 'MonoSoftware.Web.LiteGrid' could not be found.    Portal
Warning 41  The referenced component 'MonoSoftware.Web.Pager' could not be found.   Portal
Warning 42  The referenced component 'MonoSoftware.Web.Workspace' could not be found.   Portal
Warning 43  The referenced component 'MonoX' could not be found.    Portal
Warning 44  The referenced component 'NVelocity' could not be found.    Portal
Warning 45  The referenced component 'SD.LLBLGen.Pro.DQE.SqlServer.NET20' could not be found.   Portal
Warning 46  The referenced component 'SD.LLBLGen.Pro.LinqSupportClasses.NET35' could not be found.  Portal
Warning 47  The referenced component 'SD.LLBLGen.Pro.ORMSupportClasses.NET20' could not be found.   Portal
Warning 48  The referenced component 'SmartThreadPool' could not be found.  Portal
Warning 49  The referenced component 'Telerik.Web.UI' could not be found.   Portal
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

1/18/2013 9:46:20 PM
Why it is so complex only to build this project ? I would deeply appreciate if you could please create a project with latest monox nightly build along with solution file so that I can work on it further to extend the project ? Also it would be great if you can include steps that you followed to create the project file so that I know what to do in future ? This simple thing is becoming too complex to go further with the project that it is holding my website. ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

1/19/2013 10:02:46 AM
Hi, Please don't mix the sample solution and custom project, you can't use sample solution for custom project. We have one CI issue and that's why we are missing project file in package. If it wouldn't be of much hassle to search a forum I have attached a project file in one of threads, you can use that for your custom solution. Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

1/20/2013 2:23:13 AM
khorvat, I tried but can' find any custom project...I would deeply appreciate if you could provide me a custom project based on latest nightly build...I'm really struggling with this...and I cannot go further without I get any reply here from you so everyday just to get a single reply my website is getting delayed... please help me..

This custom project of monox it's very confusing and not very straight forward...it should be simple so that any New user can also accomplish this... I'm now working on monox project since a long time and if I am having problem as regular asp.net dev.. I think any new dev can figure out this simple but confusing way of dealing with the project..

I'm sorry if you dont like this what I've said but I'm not getting any help our clear instructions from anyone here and which is why I'm not able to go further in my project.. I wait 24hours just for a single reply from monox team that now May be my problem will be solved and when I see a reply saying that find out project from so my topics posted here with people adding so many questions..it's just discouraging...

I do appreciate monox project but unclear instructions and support is not taking me anywhere further in the project..and based on all questions I come up with here on this forum you can't say that I don't wanna try anything and want to be spoon fed... I am trying everything that you say and I spend so much time trying so many things to over come the problems that I am facing.. but its just discouraging to see lack of support...

I know you guys help a few people even remotely but I've been asked to look for stuff by myself (not even a link is provided) obviously I will feel that there is lack of support..Hope you understand how I feel...
This content has not been rated yet. 
6018 Reputation 709 Total posts
1 2