Skip to content

assemblies-valid fails with .NET 10 #370

Open
@tmds

Description

@tmds
: Executing /tmp/tmp.7RHfirdF6s/.dotnet/dotnet with arguments build -p:UseRazorBuildServer=false -p:UseSharedCompilation=false -m:1 in working directory /tmp/tmp.7RHfirdF6s/dotnet-regular-tests/assemblies-valid
Welcome to .NET 10.0!
---------------------
SDK Version: 10.0.100-alpha.1.25077.1
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Determining projects to restore...
Restored /tmp/tmp.7RHfirdF6s/dotnet-regular-tests/assemblies-valid/assemblies-valid.csproj (in 3.95 sec).
/tmp/tmp.7RHfirdF6s/.dotnet/sdk/10.0.100-alpha.1.25077.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(3265): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/tmp/tmp.7RHfirdF6s/dotnet-regular-tests/assemblies-valid/assemblies-valid.csproj]
assemblies-valid -> /tmp/tmp.7RHfirdF6s/dotnet-regular-tests/assemblies-valid/bin/Debug/net10.0/assemblies-valid.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:15.97
Process Exit Code: 0
Executing /tmp/tmp.7RHfirdF6s/.dotnet/dotnet with arguments test --no-restore --no-build in working directory /tmp/tmp.7RHfirdF6s/dotnet-regular-tests/assemblies-valid
Test run for /tmp/tmp.7RHfirdF6s/dotnet-regular-tests/assemblies-valid/bin/Debug/net10.0/assemblies-valid.dll (.NETCoreAppVersion=v10.0)
VSTest version 17.14.0-preview-25073-07 (x64)
Starting test execution please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.55]     AssembliesValid.AssembliesValid.ValidateAssemblies [FAIL]
Failed AssembliesValid.AssembliesValid.ValidateAssemblies [203 ms]
Error Message:
Assert.True() Failure
Expected: True
Actual:   False
Stack Trace:
at AssembliesValid.AssembliesValid.ValidateAssemblies() in /tmp/tmp.7RHfirdF6s/dotnet-regular-tests/assemblies-valid/AssembliesValid.cs:line 120
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj IntPtr* args) in /_/src/runtime/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj BindingFlags invokeAttr) in /_/src/runtime/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
Failed!  - Failed:     1 Passed:     0 Skipped:     0 Total:     1 Duration: 203 ms - assemblies-valid.dll (net10.0)
Process Exit Code: 1

The failing assert is:

cc @omajid @nicrowe00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions