I have asp.net MVC 2 RC installed with VS 2008 SP1.
I tried to follow Walkthrough: Creating an ASP.NET MVC Areas Application Using Multiple Projects (http://msdn.microsoft.com/en-us/library/ee307987(VS.100).aspx), but I was stuck
at Step "Enabling the custom build step for MVC areas projects", because I could NOT find anything like "
We removed support for multi project areas from the core product in the Beta release. You'll have to download the custom build task from CodePlex at
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=37423 The zip file contains the custom build task DLL that you will need to use.
You either need to grab a project file from a Preview 2 project or take a look at
http://dotnetslackers.com/articles/aspnet/A-First-Look-at-ASP-NET-MVC-2.aspx#multiproject-areas for an example. I'll talk to our documentation writers to see whether we can get the walk through updated. Since it's not part of the core product anymore, we
might end up removing that walk through altogether.
So, is there gonna be multiple project area support in RTM release?
jeloff
Hi
We removed support for multi project areas from the core product in the Beta release. You'll have to download the custom build task from CodePlex at
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=37423 The zip file contains the custom build task DLL that you will need to use.
You either need to grab a project file from a Preview 2 project or take a look at
http://dotnetslackers.com/articles/aspnet/A-First-Look-at-ASP-NET-MVC-2.aspx#multiproject-areas for an example. I'll talk to our documentation writers to see whether we can get the walk through updated. Since it's not part of the core product anymore, we
might end up removing that walk through altogether.
So now everything builds just fine, but it just doesn't work in runtime.
Is it supported, should I spend more time on finding issue in my code or maby just drop it and find another solution to make my MVC application pluggable ?
Could someone from MVC team provide a tutorial for Areas in RC version ? I thing it's one of the coolest features in MVC framework.
It'd be really nice if someone could take down that tutorial. I just wasted 45 minutes of my time walking through this tutorial simply to find it doesn't apply any more. That's aggravating.
jliatinnosph...
0 Points
2 Posts
Area support in ASP.NET MVC 2 RC
Jan 19, 2010 09:01 PM|LINK
I have asp.net MVC 2 RC installed with VS 2008 SP1.
I tried to follow Walkthrough: Creating an ASP.NET MVC Areas Application Using Multiple Projects (http://msdn.microsoft.com/en-us/library/ee307987(VS.100).aspx), but I was stuck at Step "Enabling the custom build step for MVC areas projects", because I could NOT find anything like "
" in any project files.
Any ideas?
Thanks.
jeloff
Contributor
2493 Points
432 Posts
Microsoft
Re: Area support in ASP.NET MVC 2 RC
Jan 20, 2010 01:25 AM|LINK
Hi
We removed support for multi project areas from the core product in the Beta release. You'll have to download the custom build task from CodePlex at http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=37423 The zip file contains the custom build task DLL that you will need to use.
You either need to grab a project file from a Preview 2 project or take a look at http://dotnetslackers.com/articles/aspnet/A-First-Look-at-ASP-NET-MVC-2.aspx#multiproject-areas for an example. I'll talk to our documentation writers to see whether we can get the walk through updated. Since it's not part of the core product anymore, we might end up removing that walk through altogether.
Thanks,
Jacques
jliatinnosph...
0 Points
2 Posts
Re: Area support in ASP.NET MVC 2 RC
Jan 20, 2010 01:08 PM|LINK
So, is there gonna be multiple project area support in RTM release?
jarekm
Member
26 Points
3 Posts
Re: Area support in ASP.NET MVC 2 RC
Jan 20, 2010 01:52 PM|LINK
Hi, I did everything step by step like in the walkthrough.
I've found a solution for missing dll file: http://stackoverflow.com/questions/2005018/asp-net-mvc-2-areas-and-afterbuildcompiler/2096884#2096884
So now everything builds just fine, but it just doesn't work in runtime.
Is it supported, should I spend more time on finding issue in my code or maby just drop it and find another solution to make my MVC application pluggable ?
Could someone from MVC team provide a tutorial for Areas in RC version ? I thing it's one of the coolest features in MVC framework.
jeloff
Contributor
2493 Points
432 Posts
Microsoft
Re: Area support in ASP.NET MVC 2 RC
Jan 20, 2010 03:51 PM|LINK
Hi
What sort of problems are you encountering when running the application?
Multi project area support will not be a core feature for RTM. We will however support areas within a single project. Take a look at the post by Phil Haack at http://haacked.com/archive/2009/07/31/single-project-areas.aspx
Jacques
Keithn
Member
66 Points
8 Posts
Microsoft
Re: Area support in ASP.NET MVC 2 RC
Jan 20, 2010 04:09 PM|LINK
Hi Jarekm,
MSDN provides a good step-by-step walkthrough about how to implement Areas in MVC 2: Organizing an ASP.NET MVC Application using Areas.
Note that this walkthrough describes single-project areas. There is no support in MVC 2 for multi-project areas.
jarekm
Member
26 Points
3 Posts
Re: Area support in ASP.NET MVC 2 RC
Jan 20, 2010 04:40 PM|LINK
Ok, so if i need to load my views/controllers from another dlls I need to find another solution.
Areas in single project are not as cool as loading my content from another projects :)
Thx for reply guys.
David M Mort...
Member
2 Points
4 Posts
Re: Area support in ASP.NET MVC 2 RC
Mar 02, 2010 01:15 PM|LINK
It'd be really nice if someone could take down that tutorial. I just wasted 45 minutes of my time walking through this tutorial simply to find it doesn't apply any more. That's aggravating.
Steele
Member
23 Points
7 Posts
Re: Area support in ASP.NET MVC 2 RC
Mar 03, 2010 07:27 PM|LINK
ummmm, is this going to be updated with complete instructions....
code? what code? it's not there.
makes this "tutorial" just a bit confusing.
Steele
Member
23 Points
7 Posts
Re: Area support in ASP.NET MVC 2 RC
Mar 03, 2010 07:44 PM|LINK
I have a MEF based solution for this.
Portable Areas in MVCContrib is another solution.