Can an aspmaker project migrate to asp.net maker?

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
aileen03
User
Posts: 5

Can an aspmaker project migrate to asp.net maker?

Post by aileen03 »

I would like to move my existing asp maker project to asp.net.
I have tried copying and pasting the content in the asp project file to asp.net project but not all the formatting has appeared and I cannot generate the file, I get an error saying 'no files has been selected', even though files have been selected?
Is there a way to move an asp maker 12 project to asp.net project file so that we do not need to reformat the project (tick check boxes, keep syntax for custom view pages)?

Thanks.


vincenthung
User
Posts: 88

Post by vincenthung »

You can open your ASPMaker project file in ASP.NET Maker. The settings will be kept. Do not copy and paste the project files or you may corrupt some settings. However, you of course need to convert ASP code (if any) to ASP.NET code in the project settings (e.g. server events) yourself.


aileen03
User
Posts: 5

Post by aileen03 »

Thanks @vincenthung!

I was able to move the existing project to ASP.NET maker by simply opening up the project file but when I press generate, I get a lot of errors.

Attribute_Tableadd.cs(7,18): error CS0234: The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tableadd.cs(8,18): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tableadd.cs(28,21): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
Attribute_Tableadd.cs(29,7): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableadd.cs(30,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableadd.cs(41,88): error CS0246: The type or namespace name 'WebPage' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tabledelete.cs(7,18): error CS0234: The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tabledelete.cs(8,18): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tabledelete.cs(28,21): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
Attribute_Tabledelete.cs(29,7): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tabledelete.cs(30,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tabledelete.cs(41,88): error CS0246: The type or namespace name 'WebPage' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableedit.cs(7,18): error CS0234: The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tableedit.cs(8,18): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tableedit.cs(28,21): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
Attribute_Tableedit.cs(29,7): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableedit.cs(30,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableedit.cs(41,88): error CS0246: The type or namespace name 'WebPage' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableinfo.cs(7,18): error CS0234: The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tableinfo.cs(8,18): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tableinfo.cs(28,21): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
Attribute_Tableinfo.cs(29,7): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableinfo.cs(30,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableinfo.cs(41,88): error CS0246: The type or namespace name 'WebPage' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tablelist.cs(7,18): error CS0234: The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tablelist.cs(8,18): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tablelist.cs(28,21): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
Attribute_Tablelist.cs(29,7): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tablelist.cs(30,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tablelist.cs(41,88): error CS0246: The type or namespace name 'WebPage' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tablesrch.cs(7,18): error CS0234: The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tablesrch.cs(8,18): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tablesrch.cs(28,21): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
Attribute_Tablesrch.cs(29,7): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tablesrch.cs(30,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tablesrch.cs(41,88): error CS0246: The type or namespace name 'WebPage' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableview.cs(7,18): error CS0234: The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tableview.cs(8,18): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Attribute_Tableview.cs(28,21): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
Attribute_Tableview.cs(29,7): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
Attribute_Tableview.cs(30,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

Are you able to provide insight as to what I need to change to remove those errors?

Cheers


Webmaster
User
Posts: 9427

Post by Webmaster »

Regenerate ALL files with the [Clean folder] option = "App_Code and destination folder (Delete all)". Also make sure that you are using the latest version (12.0.3).


aileen03
User
Posts: 5

Post by aileen03 »

Webmaster wrote:
Regenerate ALL files with the [Clean folder] option = "App_Code and destination folder
(Delete all)". Also make sure that you are using the latest version (12.0.3).

Thank you! It is now working.


Post Reply