build: Copy configuration profiles to publish dir
This commit is contained in:
1 parent
5da807b5f0
commit
922cf3170b
1 file changed
+9
@@ -45,6 +45,15 @@
|
||||
<Copy SourceFiles="%(ConfigurationProfile.FullPath)" DestinationFolder="%(ConfigurationProfile.OutDir)" />
|
||||
</Target>
|
||||
|
||||
<Target
|
||||
Name="CopyConfigurationProfilesToPublish"
|
||||
AfterTargets="Publish"
|
||||
Condition="'@(ConfigurationProfile)'!=''"
|
||||
Inputs="%(ConfigurationProfile.Identity)"
|
||||
Outputs="%(ConfigurationProfile.PublishOutDir)%(ConfigurationProfile.Identity)">
|
||||
<Copy SourceFiles="%(ConfigurationProfile.FullPath)" DestinationFolder="%(ConfigurationProfile.PublishOutDir)" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
Run this after GetAssemblyVersion because it happens after the Xaml compiler
|
||||
and exists in both xaml and non-xaml projects. One of the (many) xaml compile
|
||||
|
||||
Reference in new issue
Block a user