I want manage portlets version. But I don't know how display it properly.
I want display portlet version in version label in App Manager, but when I create a portlet, the version is set in portlet title and not in version label.
However, when I create a service builder, the version is set in version label.
Related
I am using VS2019 on Window 11 and want to create an ASP.NET Web application project on .NetFramework 4.8 but is not display in list when I want to choose it. Although, it is available on my system.
Please suggest.
Have attached an image of all the packages and references I am trying to build an ASP.NET MVC Web Application on Visual Studio 2019 Community for Mac, but I am getting these errors. I tried a lot to resolve these, but couldn't find any answers online. It would be great if someone can help me figure these out.
This project was previously developed and build on Windows, but the same project does not build properly on Mac, and now I am getting these errors. One reason could be ASP.NET having different frameworks, but not sure which framework would be suitable for these packages.
Adding another picture, I have updated the ASP.NET framework to 4.7.2 from version 2.0 click to view image
And I left with very few errors only "System.Web.Entity" picture attached
System.Web.entity is for .NET Framework and Asp.Net MVC project is not cross-platform.
So,it's not possible to build ASP.NET MVC projects on the Mac that aren't based on .NET Core or Mono.ASP.NET 4.x is not something officially supported like ASP.NET Core on macOS.
If you want to use ASP.NET 4.x, stick to Windows. If you want to use macOS and VS for Mac, use ASP.NET Core. There is almost no gray area in between to discuss.
Another suggestion is that you could use virtual machine to run windows inside Mac.
Refer to Is it possible to develop ASP.NET MVC applications in Visual Studio for Mac?
I load the reference MySql.Data and verify that this is loaded.
I place
using MySql.Data;
into my code, but it cannot find MySql.Data.
There are many versions of MySql.Data available and many solutions indicated for this in previous posts.
One possible cause is that the .NET Framework version is incompatible with the version of the MySql Connector/NET.
Check your version of the .NET Framework, since the Connector/NET only works up to .NET Framework 4.5.x and changing the version from 4.6 to 4.5.2 worked for me. (Project > Properties > Application > Target Framework).
REFERENCE: MySQL Versions
I'm building a Java Web project with JSF 2.2 and Primefaces 4 using Netbeans IDE 8.
I'm trying to connect a database that I made in MySQL with my netbeans project.
The problem is that when i create a new project and make an entity class from database and choose jdbc/sample and make JSF pages from those entity classes the program runs ok BUT when I choose a new connection (MySQL) and choose my database with my tables and make JSF pages from entity class, the project doesnt run.
The database is visible in netbeans it's also visible in phpmyadmin in wamp. I'm thinking it has to do something with glassfish resources.xml file that
I need to configure something there or maybe not.
The short version of my problem:
How to configure and how to connect my database made in mysql (not a sample one) with netbeans jsf primefaces project and create entity classes from database and make JSF pages from those entities ?
PS can anyone post some links - videos or tutorials regarding this problem also
Resolved1: The problem is with netbeans 8 in 7.4 and earlier versions it works...
RESOLVED2: In Netbeans 8 the problem is with JDBC Resources and Connection Pool... just follow this tutorial at the end of the page it will solve the problem https://netbeans.org/kb/docs/web/jsf20-crud.html#troubleshooting
I am trying to connect vb.net 2010 to an SQL database using the MySQL DLL file, however whenever I compile it I am getting the following error:
Warning 1 The primary reference "MySql.Data" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". SQL
I have tried it on my desktop as well (also running vb 2010 on windows 8.1) however it won't compile, however on a windows 7 PC it compiles with no issue, despite the fact that the settings appear to be the same.
Any ideas?
Unload the modeling project by right clicking on it in Solution
Explorer window and choosing Unload Project.
Then right click and click edit projectname.modelproj.
Then add following code to it.
<PropertyGroup>
<ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>true</ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>
</PropertyGroup>
Change in your project properties the target framework version to 4.5
or add a reference with lower version to match your own version (3.5, 4.0)