Yes, PCF could be imported in latest OnPrem, as long as the solution file, its solution.xml says it's compatible with 'OnPrem', not 'CRMLive'
There are some cases that's not be able to be imported, but they are not related with PCF
1) If you export from an Online org, then import it to OnPrem
2) If you export from an OnPrem org, then import it to Online
3) If you export from latest version, then import it on an old version
For above cases, under some scenarios, the import will fail, but they are not related with PCF. The import failure are not blocked by PCF
So as developing on our on-premise version 9 offers additional stability - I've just booted up the server for the first time in a while and created a solution file using the original msbuild approach. Note, our on-premise server doesn't use SSL for laziness reasons and pac auth create throws an error stating that URLs must use HTTPS).
When I try to import the solution (created using msbuild) I get the following error
and when I open up the solution.xml of the deployment solution file the first line is
-<ImportExportXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generatedBy="CrmLive" languagecode="1033" SolutionPackageVersion="9.1" version="22.214.171.1243">
So any ideas how you could import a PCF component into an on-premise environment?
PCF controls are not supported in on-prem and this is something which is being evaluated for future.
@ben-thompson just a wild guess. Have you tried to unpack solution, change versions to 9.0 and 126.96.36.199 (or something similar), re-pack and import it? That's obviously not supported but... should work 🙂
The Super User program for 2022 - Season 2 has kicked off!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.