File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4+
45 <OutputType >WinExe</OutputType >
56 <TargetFramework >net9.0-windows</TargetFramework >
67 <RootNamespace >CompactGUI</RootNamespace >
7273 <ProjectReference Include =" ..\CompactGUI.Watcher\CompactGUI.Watcher.vbproj" />
7374 </ItemGroup >
7475
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+
7597</Project >
You can’t perform that action at this time.
0 commit comments