|
Hi - newby question, apologies! Looks a great visual design template. Does this solution also work for creating an aspnet mvc 4 app? or is it just for webforms? i am needing my team to create a nice looking mvc4 app and looking at finding templates to improve the visual design! thanks Prem
Hi, I'm newbie, how can I import (or run) solution into Visual Studio 2010? Can you help me?
Hi Stika, I have re-packaged the solution for Visual Studio 2010, you will be able to use it now in VS2010. I have also added a VB.NET version as well as the original C# Version. Hope all this helps. Dave
Hello, Is it possible to repackage the project as C-Sharp for VS 2010 and have it linked above please. Thanks GE
Hi, MSDN only allows one version to be uploaded (not sure why) - however, this little app will solve all your versioning problems! http://www.codeproject.com/Art icles/70569/Mic rosoft-Visual-S tudio-Solution- File-Version-Ch an
Hi Dave, I've still problems: targetFramework="4.0">'). The 'targetFramewor k' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. Source Error: Line 10: </appSettings> Line 11: <system.web> Line 12: <compilation debug="true" targetFramework ="4.5" /> Line 13: <httpRuntime requestValidati onMode="4.5" targetFramework ="4.5" encoderType="Sy stem.Web.Securi ty.AntiXss.Anti XssEncoder, System.Web, Version=4.0.0.0 , Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a" /> Line 14: <pages controlRenderin gCompatibilityV ersion="4.5"> Are you willing to help me by the email (sunnybirat@hot mail.com)?
Its best to do it here so others can be helped at the same time: I have found this utility recently which should solve your problems, if it does not come back here and I will re-create the solution using VS2010 and any .Net framework you want to use. The utility is free from the codeproject and you can get it here: http://www.codeproject.com/Art icles/70569/Mic rosoft-Visual-S tudio-Solution- File-Version-Ch an
Hi Dave, OK. I did steps: 1. I did unpack zip archive into "AdminTemplate" folder 2. after convert wizard I did not allow IIS download (I do not want IIS, I'm learning with VS2010 local web server, I'm not a complete newbie with asp.net, I wrote cca 4 web (+MS SQL) projects with 3.5 version) 3. I did unload WebApplication1.Converted project (I do not like VB) 4. I edited WebApplication1 .csproj a) I changed at line 17: <UseIISExpress> true</UseIISExp ress> to <UseIISExpress> false</UseIISEx press> b) I changed at line 350: <UseIIS>True</U seIIS> to <UseIIS>False</ UseIIS> c) Is content in file WebApplication1 .csproj case sensiteve? d) VS2010 allow mi reload project WebApplication1 5) I did rebuild solution, F5 6) server error Line 12 at Web.config: <compilation debug="true" targetFramework ="4.5" /> 7) I changed references from 4.5 to 4.0, rebuild, save F5 8) server error: Unrecognized attribute 'targetFramewor k'. Note that attribute names are case-sensitive. Line 13: <httpRuntime requestValidati onMode="4.0" targetFramework ="4.0" encoderType="Sy stem.Web.Securi ty.AntiXss.Anti XssEncoder, System.Web, Version=4.0.0.0 , Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a" /> Hmm, I do not understand, it is not recognised "targetFramewor k"? I'm finished....... .
In the next day or two I will totally re-write it so that it works for you. I will email you on the email below when it is done. Dave
Hi Dave, I do not know, what's I'm doing bad. I downloaded your source (2012-08-01) today. I'm cannot run your project in VS 2010 -> This project is incompatible with the current version of Visual Studio.
Hi Stika, Sorry about the problems you are having - but that you for telling me about them so I can fix the issues. For some reason, the .Net version of the solution got changed to .Net 4.5, which Visual Studio 2010 does not like. I have changed it back to .Net 4.0 and it should load into Visual Studio 2010 again now.
Its ok we should do it here for other people to learn from. Ah, as you remember I changed the setting to .Net 4. It appears the config has not done its job and left some references to 4.5. Change all the references of "4.5" to "4.0"
Remove the attribute targetFramework and value = maybe it is not needed. Not sure though.
Hi Dave, I've still problems: targetFramework="4.0">'). The 'targetFramewor k' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. Source Error: Line 10: </appSettings> Line 11: <system.web> Line 12: <compilation debug="true" targetFramework ="4.5" /> Line 13: <httpRuntime requestValidati onMode="4.5" targetFramework ="4.5" encoderType="Sy stem.Web.Securi ty.AntiXss.Anti XssEncoder, System.Web, Version=4.0.0.0 , Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a" /> Line 14: <pages controlRenderin gCompatibilityV ersion="4.5"> Are you willing to help me by the email ([email protected]) ?