[Mono-bugs] [Bug 645545] New: MVC Template RPMs are not build correctly.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 11 15:46:45 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=645545

https://bugzilla.novell.com/show_bug.cgi?id=645545#c0


           Summary: MVC Template RPMs are not build correctly.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: 64bit
        OS/Version: openSUSE 11.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: dmulder at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


MonoTools 2.0.8152 with Mono 2.8 r3 Win XP 32 and openSUSE 11.3 i586
Description of Problem:
When the template is run, the styling is present. The styling is missing when
compiled and installed in openSUSE 11.3 as an RPM.

Steps to reproduce the problem:

   1. Install MVC
   2. Restart Visual Studio
   3. Create a default MVC project by click "File / New Project / Visual C# /
Web / ASP.NET MVC Web Application"
   4. Make sure that you select .NET Framework 3.5 from the dropdown list at
the top of the New Project dialog or the ASP.NET MVC Web Application project
template won’t appear.
   5. Click "Ok" on New Project dialog
   6. Check "No" to creating a unit test project on "Create Unit Test Project"
dialog
   7. Click "OK" on "Create Unit Test Project" dialog
   8. Click View / Properties Window
   9. Open the "References" list in the solution explorer
  10. Click on "System.Web.Mvc"
  11. Set 'Copy Local' to True

PAckaging:
Add new packaging item to Project
   Right click on 'MvcApplication1' (or the name of your test app) in solution
Explorer
   Click "Add -> New Item'
      Click 'Mono' in Categories
      Click 'LInux Package Definition' in Templates
      Cange Name from Package1.pkgxml to mvctemplateapp.pkgxml
      Click 'Add'

General Tab settings:
Application Name: mvctemplateapp
Package Name: mvctemplateapp
Version: 1.5
License: 'GPL v2'
Type: ASP.NET Application
Virtual Path: mvctemplateapp
Group: Productivity/Networking/Web/Utilities
Summary: 'An MVC Template app'
Webpage: http://www.go-mono.com
Description: 'An MVC Template app'

   1. Select Files tab
   2. Right click on 'Application Root'
   3. Click 'Add Entire Directory'
   4. Navigate to 'MvcApplication1' directory in the filesystem (the sub
directory in the solution, not the directory containing the MvcApplication1sln
file).
   5. Highlight the directory and click OK to add the files to the package.
   6. Right click on 'App_Data' and select 'Toggle Directory Writable' to make
directory and all child directories and files writable.

Select dependancies tab
check the double arrow rescan dependancies button
Click 'Build Package' button at top of Package Configuration window
Select Desktop or other convenient folder as destination
Transfer build RPM to Linux machine
Install rpm
find /usr/share/mono/asp.net/conf/ -type f -iname "*conf" | xargs -i cp -v "{}"
/etc/apache2/conf.d/
restart apache2  'rcapache2 restart;'
open up blog engine web site: http://your_server/mvctemplateapp

Actual Results:
All styling is missing from the page.

Expected Results:
The styling should be visible. You can see how this is supposed to appear if
you run the app in local Mono rather than creating the package.

How often does this happen? 
Always.

Additional Information:

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list