Open rainersigwald opened 2 weeks ago
We have https://learn.microsoft.com/visualstudio/msbuild/msbuild-targets#sdk-and-default-build-targets but it's not super clear, I think it'd be helpful to have more clear documentation for common use cases.
(https://mastodon.social/@mcc/112451423829765088)
Some examples
BeforeTargets="BeforeBuild"
AfterTargets="ResolveReferences"
BeforeTargets="BeforeCompile"
Content
None
BeforeTargets="AssignTargetPaths"
AfterTargets="AfterBuild"
Added
"I have some files that I would want to add to Content or None to get copied to the output, but I generate them during the build"
thanks to https://mastodon.social/@mcc/112452180875718741
We have https://learn.microsoft.com/visualstudio/msbuild/msbuild-targets#sdk-and-default-build-targets but it's not super clear, I think it'd be helpful to have more clear documentation for common use cases.
(https://mastodon.social/@mcc/112451423829765088)
Some examples
BeforeTargets="BeforeBuild"
AfterTargets="ResolveReferences"
BeforeTargets="BeforeCompile"
Content
orNone
to get copied to the output, but I generate them during the build"BeforeTargets="AssignTargetPaths"
AfterTargets="AfterBuild"