Reputation: 199
I changed the project from classic to extended support (as recommended). Now there are 4 configuration files required when importing via azure portal. These files are *.cspkg, *.cscfg and *.csdef zip
How to generate from VS2022?
I know I can directly deploy to the azure service but looking for manual process
Upvotes: 0
Views: 263
Reputation: 7347
I didn't find an option to create classic project in VS 2022.I can only see the Extended support.
To manually create the configuration files, right click on the project folder and select Package
.
Build configuration specifies the folder to create the configuration files.
The configuration files will be generated in the bin
=> Debug/Release
folder.
Here I have selected the below settings
Service configuration - local
Build configuration Debug
I got the below error
WAT001 : At least one web or worker role is required but none could be found
Now Iam able to generate the configuration files.
You can see the 3 files .cspkg
,.cscfg
and .csdef
are generated in the bin
=> Debug
=> app.publish
folder.
Upvotes: 0