File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,13 @@ assembly_info:
7878 assembly_file_version : $(VERSION_SIMPLE)
7979 assembly_informational_version : $(VERSION_INFORMATIONAL)
8080
81- build_script :
81+ # Run scripts below before
82+ before_build :
8283 - cmd : where dotnet
84+ - cmd : dotnet clean
85+
86+ # Run scripts below before
87+ build_script :
8388 - cmd : dotnet build
8489
8590# NuGet files qualified as artifacts
Original file line number Diff line number Diff line change 5252 <Compile Remove =" IProgress.cs" />
5353 <None Include =" IProgress.cs" />
5454 </ItemGroup >
55-
55+
56+ <Target Name =" CleanNuGetFiles" AfterTargets =" Clean" >
57+ <ItemGroup >
58+ <NuGetFilesBin Include =" $(OutputPath)\..\*.nupkg" />
59+ </ItemGroup >
60+ <Message Text =" Deleting NuGet files from $(OutputPath)\..\*.nupkg" Importance =" high" />
61+ <Delete Files =" @(NuGetFilesBin)" />
62+ <Delete Files =" @(NuGetFilesProject)" />
63+ </Target >
5664</Project >
You can’t perform that action at this time.
0 commit comments