cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
d365clubnet
New Member

Build optimized for production PCF control with unmanaged solution

Hi,

I'm wondering if it's possible to build optimized version of control to bundle.js (file size should be optimal) and include this version in unmanaged generated solution. Something like use msbuild /t:build /restore /p:configuration=Release just to output to unmanaged solution?

 

Cheers,
Eryk

1 ACCEPTED SOLUTION

Accepted Solutions
DianaBirkelbach Advocate V
Advocate V

Re: Build optimized for production PCF control with unmanaged solution

Hi  @d365clubnet ,

You need to uncomment some lines in your "cdsproj": <SolutionPackageType>Unmanaged</SolutionPackageType> and then use "msbuild /p:configuration=Release".

I've wrote a blog about this: 

https://dianabirkelbach.wordpress.com/2020/04/28/pcf-solution-packaging-unmanaged-production-release...

 

Best regards,

Diana

View solution in original post

2 REPLIES 2
DianaBirkelbach Advocate V
Advocate V

Re: Build optimized for production PCF control with unmanaged solution

Hi  @d365clubnet ,

You need to uncomment some lines in your "cdsproj": <SolutionPackageType>Unmanaged</SolutionPackageType> and then use "msbuild /p:configuration=Release".

I've wrote a blog about this: 

https://dianabirkelbach.wordpress.com/2020/04/28/pcf-solution-packaging-unmanaged-production-release...

 

Best regards,

Diana

View solution in original post

d365clubnet
New Member

Re: Build optimized for production PCF control with unmanaged solution

Hi @DianaBirkelbach,

Thank you for your response. This is exactly what I need. I missed that commented part of .cdsproj file, perhaps due to dark theme of vscode . Old me 🤣

 

Thanks for your input. 

 

Cheers,

Eryk

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Users online (6,100)