Answered by:
How to precompile in VS 2019?

Question
-
User259881276 posted
When I used to use Visual studio 2008, I would always publish in a "precompiled" format. Then I would upload my precompiled website via FTP. I don't see the option for clicking to precompile it now when I click the publish option.
How do I get it to precompile on my local machine so that I can upload it?
Thank you,
Rachel
Monday, June 10, 2019 3:17 AM
Answers
-
User283571144 posted
Hi RaeKC,
If you want to publish your web application in a precomplied mode, I suggest you could modify the publish setting as below steps:
1.Right click the solution, click publish and click create profile
2.Select the setting and select the procompiled check box.
Best Regards,
Brando
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, June 10, 2019 6:11 AM -
User259881276 posted
Between yours and this: https://www.youtube.com/watch?v=OUac0nYFUwg&t=250s
I figured it out.
Thank you.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, June 11, 2019 11:41 PM
All replies
-
User283571144 posted
Hi RaeKC,
If you want to publish your web application in a precomplied mode, I suggest you could modify the publish setting as below steps:
1.Right click the solution, click publish and click create profile
2.Select the setting and select the procompiled check box.
Best Regards,
Brando
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, June 10, 2019 6:11 AM -
User259881276 posted
Thank you so much. I will try that.
Monday, June 10, 2019 2:07 PM -
User259881276 posted
When I get to the second screen, I don't have Release - Any CPU in that configuration drop box. I only have Debug.
How do I get Release - Any CPU in my drop box?
Tuesday, June 11, 2019 4:00 PM -
User259881276 posted
Between yours and this: https://www.youtube.com/watch?v=OUac0nYFUwg&t=250s
I figured it out.
Thank you.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, June 11, 2019 11:41 PM