I have a vb.net 2010 web form application that I want to convert to Visual Studio 2012 which has been successful.
The problem is when I want to do publish the website, the code has been precompiled and the website cannot be pulbished.
It is saying it cannot access a folder that previously existed.
Thus would you tell me what I can do probably to unprecompile and compile (build) the website again?
As far as I know, the precomplied is happened when you want to publish the application. You could modify the setting by changing the publish setting. It seems it is not related with the precompiled.
Could you please post the details error message?
Is there any error when building your web application?
Which folder couldn't access?
Best Regards,
Brando
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
However I would like to mention the following additional items:
This is a file system update where I changed the setting to: 'delete all existing files prior to publish' and exclude files from the App_Data folder.
When the published application is placed into production by the admin people at my company, will it make a difference to these people that the application was already compiled? I am placing the application in the same location? If so, what would these people
be concerned about?
When publishing using this method, an additional file called 'website.publishproj' is created. With this file being created is this something that I need to keep for the admin people that move the application to production or should I just delete the file?
Do you mean you convert a asp.net web form web site to a asp.net web application i VS2012?
Could you please tell me which way you used to publish the application? Directly publish to web server or generate a package or using filesystem?
Best Regards,
Brando
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
10 Points
16 Posts
publish problem for precompiled web form application
Oct 02, 2019 08:29 PM|dcofomaha|LINK
I have a vb.net 2010 web form application that I want to convert to Visual Studio 2012 which has been successful.
The problem is when I want to do publish the website, the code has been precompiled and the website cannot be pulbished.
It is saying it cannot access a folder that previously existed.
Thus would you tell me what I can do probably to unprecompile and compile (build) the website again?
Star
9831 Points
3120 Posts
Re: publish problem for precompiled web form application
Oct 03, 2019 01:43 AM|Brando ZWZ|LINK
Hi dcofomaha,
As far as I know, the precomplied is happened when you want to publish the application. You could modify the setting by changing the publish setting. It seems it is not related with the precompiled.
Could you please post the details error message?
Is there any error when building your web application?
Which folder couldn't access?
Best Regards,
Brando
Member
10 Points
16 Posts
Re: publish problem for precompiled web form application
Oct 03, 2019 05:13 PM|dcofomaha|LINK
Thank you for your answer so far!
However I would like to mention the following additional items:
Star
9831 Points
3120 Posts
Re: publish problem for precompiled web form application
Oct 04, 2019 02:47 AM|Brando ZWZ|LINK
Hi dcofomaha,
Do you mean you convert a asp.net web form web site to a asp.net web application i VS2012?
Could you please tell me which way you used to publish the application? Directly publish to web server or generate a package or using filesystem?
Best Regards,
Brando
Member
10 Points
16 Posts
Re: publish problem for precompiled web form application
Oct 04, 2019 02:19 PM|dcofomaha|LINK
In answer to your questions: