Given I have a post build process that generates files in \bin\out
how can I use a MSBuild targets file to state that all files (recursively) in that directory should be published during web deploy?
相关问题
- Visual Studio 2019 - error MSB8020: The build tool
- ClickOnce updates all files. Why?
- Is It possible to build asp.net core project using
- Delete files older 6 months
- msbuild: build as to a appxbundle (AppxBundle=Alwa
相关文章
- Override env values defined in container spec
- Build errors of missing packages in Visual Studio
- Copy different file to output directory for releas
- What is a good way to deploy a Perl application?
- Why doesn't AutogenerateBindingRedirects work
- Deploying C++ game in Linux
- MSBuild - How to build multiple files AND projects
- Visual Studio Solution — Any way to create a “spec
Let's split this in two parts:
First, build the web project:
Then use this to publish to the local IIS (you might need to adjust the msdeploy command to suit your needs)
Common pitfalls:
Note that the $(Environment) variable is the build configuration. I have several, but run the first target and check the folder structure created. Then adjust the script.