File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
+
4
5
<OutputType >WinExe</OutputType >
5
6
<TargetFramework >net9.0-windows</TargetFramework >
6
7
<RootNamespace >CompactGUI</RootNamespace >
72
73
<ProjectReference Include =" ..\CompactGUI.Watcher\CompactGUI.Watcher.vbproj" />
73
74
</ItemGroup >
74
75
76
+ <Target Name =" RenamePublishedExe" AfterTargets =" Publish" Condition =" '$(IsMonolithic)' == 'true'" >
77
+ <Move SourceFiles =" $(PublishDir)CompactGUI.exe"
78
+ DestinationFiles =" $(PublishDir)CompactGUI.mono.exe" />
79
+
80
+ </Target >
81
+
82
+ <PropertyGroup >
83
+ <FinalPublishDir >$(ProjectDir)bin\publish\FinalOutput\</FinalPublishDir >
84
+ </PropertyGroup >
85
+
86
+ <Target Name =" MovePublishedFiles" AfterTargets =" Publish" >
87
+ <Message Text =" Moving published files to FinalOutput..." Importance =" high" />
88
+
89
+ <ItemGroup >
90
+ <PublishedFiles Include =" $(PublishDir)**\*" />
91
+ </ItemGroup >
92
+
93
+ <Copy SourceFiles =" @(PublishedFiles)" DestinationFolder =" $(FinalPublishDir)" SkipUnchangedFiles =" true" />
94
+ </Target >
95
+
96
+
75
97
</Project >
You can’t perform that action at this time.
0 commit comments