Skip to content

Commit 9ec1af5

Browse files
committed
update
1 parent c5430da commit 9ec1af5

File tree

6 files changed

+10
-17
lines changed

6 files changed

+10
-17
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name: $(SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.r)
1111
variables:
1212
solution: 'apidoctools.sln'
1313
buildConfiguration: 'Release'
14-
mdocPath: 'bin/$(buildConfiguration)-net6.0'
14+
mdocPath: 'bin/$(buildConfiguration)'
1515

1616
stages:
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:

mdoc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ cleanup:
5959
-rm -Rf Test/en.actual Test/html.actual
6060

6161
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
6363

6464
dotnet-test:
65-
dotnet test mdoc.Test/bin/$(CONFIGURATION)-net6.0/mdoc.Test.dll
65+
dotnet test mdoc.Test/bin/$(CONFIGURATION)/mdoc.Test.dll
6666

6767
Test/DocTest-VB-Eii.dll:
6868
$(VBCOMPILE) -out:Test/DocTest-VB-Eii.dll Test/ClassEnumerator.vb

mdoc/compareXmlFiles.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Write-Host "$nugetPath install $mdocPackageId -Version $lastVersion -Source $mdo
257257

258258
$releaseMdocPath = Join-Path $binPath "mdoc.$lastVersion"
259259
dir $releaseMdocPath
260-
$releaseMdocPath = Join-Path $releaseMdocPath "tools\net471\mdoc.exe"
260+
$releaseMdocPath = Join-Path $releaseMdocPath "tools\net6.0\mdoc.exe"
261261
Write-Host "Download $mdocPackageId to path: $releasemdocPath"
262262

263263

mdoc/mdoc.Test/mdoc.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
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

mdoc/mdoc.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
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

mdoc/mdoc.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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>

0 commit comments

Comments
 (0)