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)
11
11
variables :
12
12
solution : ' apidoctools.sln'
13
13
buildConfiguration : ' Release'
14
- mdocPath : ' bin/$(buildConfiguration)-net6.0 '
14
+ mdocPath : ' bin/$(buildConfiguration)'
15
15
16
16
stages :
17
17
- stage : SDLCheck
@@ -173,13 +173,6 @@ stages:
173
173
}
174
174
]
175
175
176
- - task : DotNetCoreCLI@2
177
- displayName : dotnet build
178
- inputs :
179
- command : ' build'
180
- projects : ' $(solution)'
181
- arguments : ' -c $(BuildConfiguration)'
182
-
183
176
- task : ArchiveFiles@2
184
177
displayName : Archive mdoc Files
185
178
inputs :
Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ cleanup:
59
59
-rm -Rf Test/en.actual Test/html.actual
60
60
61
61
nunit :
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
63
63
64
64
dotnet-test :
65
- dotnet test mdoc.Test/bin/$(CONFIGURATION ) -net6.0 /mdoc.Test.dll
65
+ dotnet test mdoc.Test/bin/$(CONFIGURATION ) /mdoc.Test.dll
66
66
67
67
Test/DocTest-VB-Eii.dll :
68
68
$(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
257
257
258
258
$releaseMdocPath = Join-Path $binPath " mdoc.$lastVersion "
259
259
dir $releaseMdocPath
260
- $releaseMdocPath = Join-Path $releaseMdocPath " tools\net471 \mdoc.exe"
260
+ $releaseMdocPath = Join-Path $releaseMdocPath " tools\net6.0 \mdoc.exe"
261
261
Write-Host " Download $mdocPackageId to path: $releasemdocPath "
262
262
263
263
Original file line number Diff line number Diff line change 10
10
<ProduceReferenceAssembly >false</ProduceReferenceAssembly >
11
11
</PropertyGroup >
12
12
13
- <PropertyGroup Condition =" '$(TargetFramework)' = = 'net471' " >
13
+ <PropertyGroup Condition =" '$(TargetFramework)' ! = 'net471' " >
14
14
<OutputPath >bin\$(Configuration)</OutputPath >
15
15
</PropertyGroup >
16
16
17
- <PropertyGroup Condition =" '$(TargetFramework)' ! = 'net471' " >
17
+ <PropertyGroup Condition =" '$(TargetFramework)' = = 'net471' " >
18
18
<OutputPath >bin\$(Configuration)-$(TargetFramework)</OutputPath >
19
19
</PropertyGroup >
20
20
Original file line number Diff line number Diff line change 9
9
<AutoGenerateBindingRedirects >false</AutoGenerateBindingRedirects >
10
10
</PropertyGroup >
11
11
12
- <PropertyGroup Condition =" '$(TargetFramework)' = = 'net471' " >
12
+ <PropertyGroup Condition =" '$(TargetFramework)' ! = 'net471' " >
13
13
<OutputPath >$(MSBuildThisFileDirectory)..\bin\$(Configuration)</OutputPath >
14
14
</PropertyGroup >
15
15
16
- <PropertyGroup Condition =" '$(TargetFramework)' ! = 'net471' " >
16
+ <PropertyGroup Condition =" '$(TargetFramework)' = = 'net471' " >
17
17
<OutputPath >$(MSBuildThisFileDirectory)..\bin\$(Configuration)-$(TargetFramework)</OutputPath >
18
18
</PropertyGroup >
19
19
Original file line number Diff line number Diff line change 14
14
<tags >mdoc documentation ecmaxml dotnet .net C# F# VB.NET</tags >
15
15
</metadata >
16
16
<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\" />
19
19
</files >
20
20
</package >
You can’t perform that action at this time.
0 commit comments