Skip to content

Commit

Permalink
chore: Removed file path in warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Igel committed Apr 30, 2024
1 parent ab38e85 commit 084949a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions examples/32bit/scripts/msbuild-acceptance-test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -98,62 +98,62 @@ SET EXITCODE=0

IF NOT "%ERRUNTIMEX64_NET48%" == "0" (
SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\comtestdotnet.csproj::Runtime specific acceptance test for platform x64 using .NET FullFramework 4.8 failed."
ECHO "::warning::Runtime specific acceptance test for platform x64 using .NET FullFramework 4.8 failed."
)

IF NOT "%ERRUNTIMEX64_NET60%" == "0" (
SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\comtestdotnet.csproj::Runtime specific acceptance test for platform x64 using .NET 6.0 failed."
ECHO "::warning::Runtime specific acceptance test for platform x64 using .NET 6.0 failed."
)

IF NOT "%ERRUNTIMEX64_NET80%" == "0" (
SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\comtestdotnet.csproj::Runtime specific acceptance test for platform x64 using .NET 8.0 failed."
ECHO "::warning::Runtime specific acceptance test for platform x64 using .NET 8.0 failed."
)

IF NOT "%ERRUNTIMEX86_NET48%" == "0" (
::SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\comtestdotnet.csproj::Runtime specific acceptance test for platform x86 using .NET FullFramework 4.8 failed."
ECHO "::warning::Runtime specific acceptance test for platform x86 using .NET FullFramework 4.8 failed."
)

IF NOT "%ERRUNTIMEX86_NET80%" == "0" (
::SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\comtestdotnet.csproj::Runtime specific acceptance test for platform x86 using .NET 8.0 failed."
ECHO "::warning::Runtime specific acceptance test for platform x86 using .NET 8.0 failed."
)

IF NOT "%ERRUNTIMEX86_NET60%" == "0" (
::SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\bin\x64\Release\net6.0\comtestdotnet.tlb::Runtime specific acceptance test for platform x64 using .NET 6.0 failed."
ECHO "::warning::Runtime specific acceptance test for platform x64 using .NET 6.0 failed."
)

IF NOT EXIST %~dp0\..\comtestdotnet\bin\x64\Release\net6.0\comtestdotnet.tlb (
SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\bin\x64\Release\net6.0\comtestdotnet.tlb::Could not find exported TLB file for .NET 6 (x64)"
ECHO "::warning::Could not find exported TLB file for .NET 6 (x64)"
)

IF NOT EXIST %~dp0\..\comtestdotnet\bin\x86\Release\net6.0\comtestdotnet.tlb (
::SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\bin\x86\Release\net6.0\comtestdotnet.tlb::Could not find exported TLB file for .NET 6 (x86)"
ECHO "::warning::Could not find exported TLB file for .NET 6 (x86)"
)

IF NOT EXIST %~dp0\..\comtestdotnet\bin\x64\Release\net48\comtestdotnet.tlb (
SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\bin\x64\Release\net48\comtestdotnet.tlb::Could not find exported TLB file for .NET 4.8 (x64)"
ECHO "::warning::Could not find exported TLB file for .NET 4.8 (x64)"
)

IF NOT EXIST %~dp0\..\comtestdotnet\bin\x86\Release\net48\comtestdotnet.tlb (
::SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\bin\x86\Release\net48\comtestdotnet.tlb::Could not find exported TLB file for .NET 4.8 (x86)"
ECHO "::warning::Could not find exported TLB file for .NET 4.8 (x86)"
)

IF NOT EXIST %~dp0\..\comtestdotnet\bin\x64\Release\net8.0\comtestdotnet.tlb (
SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\bin\x64\Release\net8.0\comtestdotnet.tlb::Could not find exported TLB file for .NET 8 (x64)"
ECHO "::warning::Could not find exported TLB file for .NET 8 (x64)"
)

IF NOT EXIST %~dp0\..\comtestdotnet\bin\x86\Release\net8.0\comtestdotnet.tlb (
::SET EXITCODE=1
ECHO "::warning file=%~dp0\..\comtestdotnet\bin\x86\Release\net8.0\comtestdotnet.tlb::Could not find exported TLB file for .NET 8 (x86)"
ECHO "::warning::Could not find exported TLB file for .NET 8 (x86)"
)

IF "%EXITCODE%" == "0" (
Expand Down
4 changes: 2 additions & 2 deletions examples/outproc/scripts/msbuild-acceptance-test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ SET EXITCODE=0

IF NOT "%ERRUNTIME%" == "0" (
SET EXITCODE=1
ECHO "::warning file=%~dp0\..\server\common\contract.csproj::Runtime specific acceptance test failed."
ECHO "::warning::Runtime specific acceptance test failed."
)

IF NOT "%ERSTANDARD%" == "0" (
SET EXITCODE=1
ECHO "::warning file=%~dp0\..\server\common\contract.csproj::.NET Standard 2.0 specific acceptance test failed."
ECHO "::warning::.NET Standard 2.0 specific acceptance test failed."
)

IF "%EXITCODE%" == "0" (
Expand Down

0 comments on commit 084949a

Please sign in to comment.