File tree Expand file tree Collapse file tree 6 files changed +10
-17
lines changed Expand file tree Collapse file tree 6 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ name: $(SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.r)
1111variables :
1212 solution : ' apidoctools.sln'
1313 buildConfiguration : ' Release'
14- mdocPath : ' bin/$(buildConfiguration)-net6.0 '
14+ mdocPath : ' bin/$(buildConfiguration)'
1515
1616stages :
1717- stage : SDLCheck
@@ -173,13 +173,6 @@ stages:
173173 }
174174 ]
175175
176- - task : DotNetCoreCLI@2
177- displayName : dotnet build
178- inputs :
179- command : ' build'
180- projects : ' $(solution)'
181- arguments : ' -c $(BuildConfiguration)'
182-
183176 - task : ArchiveFiles@2
184177 displayName : Archive mdoc Files
185178 inputs :
Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ cleanup:
5959 -rm -Rf Test/en.actual Test/html.actual
6060
6161nunit :
62- mono ../packages/NUnit.ConsoleRunner.3.6.0/tools/nunit3-console.exe mdoc.Test/bin/$(CONFIGURATION ) /mdoc.Test.dll
62+ mono ../packages/NUnit.ConsoleRunner.3.6.0/tools/nunit3-console.exe mdoc.Test/bin/$(CONFIGURATION ) -net471 /mdoc.Test.dll
6363
6464dotnet-test :
65- dotnet test mdoc.Test/bin/$(CONFIGURATION ) -net6.0 /mdoc.Test.dll
65+ dotnet test mdoc.Test/bin/$(CONFIGURATION ) /mdoc.Test.dll
6666
6767Test/DocTest-VB-Eii.dll :
6868 $(VBCOMPILE ) -out:Test/DocTest-VB-Eii.dll Test/ClassEnumerator.vb
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ Write-Host "$nugetPath install $mdocPackageId -Version $lastVersion -Source $mdo
257257
258258$releaseMdocPath = Join-Path $binPath " mdoc.$lastVersion "
259259dir $releaseMdocPath
260- $releaseMdocPath = Join-Path $releaseMdocPath " tools\net471 \mdoc.exe"
260+ $releaseMdocPath = Join-Path $releaseMdocPath " tools\net6.0 \mdoc.exe"
261261Write-Host " Download $mdocPackageId to path: $releasemdocPath "
262262
263263
Original file line number Diff line number Diff line change 1010 <ProduceReferenceAssembly >false</ProduceReferenceAssembly >
1111 </PropertyGroup >
1212
13- <PropertyGroup Condition =" '$(TargetFramework)' = = 'net471' " >
13+ <PropertyGroup Condition =" '$(TargetFramework)' ! = 'net471' " >
1414 <OutputPath >bin\$(Configuration)</OutputPath >
1515 </PropertyGroup >
1616
17- <PropertyGroup Condition =" '$(TargetFramework)' ! = 'net471' " >
17+ <PropertyGroup Condition =" '$(TargetFramework)' = = 'net471' " >
1818 <OutputPath >bin\$(Configuration)-$(TargetFramework)</OutputPath >
1919 </PropertyGroup >
2020
Original file line number Diff line number Diff line change 99 <AutoGenerateBindingRedirects >false</AutoGenerateBindingRedirects >
1010 </PropertyGroup >
1111
12- <PropertyGroup Condition =" '$(TargetFramework)' = = 'net471' " >
12+ <PropertyGroup Condition =" '$(TargetFramework)' ! = 'net471' " >
1313 <OutputPath >$(MSBuildThisFileDirectory)..\bin\$(Configuration)</OutputPath >
1414 </PropertyGroup >
1515
16- <PropertyGroup Condition =" '$(TargetFramework)' ! = 'net471' " >
16+ <PropertyGroup Condition =" '$(TargetFramework)' = = 'net471' " >
1717 <OutputPath >$(MSBuildThisFileDirectory)..\bin\$(Configuration)-$(TargetFramework)</OutputPath >
1818 </PropertyGroup >
1919
Original file line number Diff line number Diff line change 1414 <tags >mdoc documentation ecmaxml dotnet .net C# F# VB.NET</tags >
1515 </metadata >
1616 <files >
17- <file src =" ..\bin\Release\*.*" target =" tools\net471\" />
18- <file src =" ..\bin\Release-net6.0 \*.*" target =" tools\net6.0\" />
17+ <file src =" ..\bin\Release-net471 \*.*" target =" tools\net471\" />
18+ <file src =" ..\bin\Release\*.*" target =" tools\net6.0\" />
1919 </files >
2020</package >
You can’t perform that action at this time.
0 commit comments