Repository navigation
Unable to open .slns in VS #44991
Copy link
Copy link
Closed
Labels
area-InfrastructureuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
I get errors like these when loading:
D:\repos\runtime\src\libraries\Microsoft.Extensions.DependencyModel\ref\Microsoft.Extensions.DependencyModel.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\Microsoft.Extensions.DependencyModel\src\Microsoft.Extensions.DependencyModel.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\Microsoft.Extensions.DependencyModel\tests\Microsoft.Extensions.DependencyModel.Tests.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\Microsoft.Extensions.DependencyModel\tests\nonentrypointassembly\nonentrypointassembly.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\Microsoft.Win32.Registry\ref\Microsoft.Win32.Registry.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\System.Runtime.CompilerServices.Unsafe\ref\System.Runtime.CompilerServices.Unsafe.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\System.Security.AccessControl\ref\System.Security.AccessControl.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\System.Security.Principal.Windows\ref\System.Security.Principal.Windows.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\System.Text.Encodings.Web\src\System.Text.Encodings.Web.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\System.Text.Json\src\System.Text.Json.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\Common\tests\TestUtilities\TestUtilities.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\Microsoft.Bcl.AsyncInterfaces\ref\Microsoft.Bcl.AsyncInterfaces.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
D:\repos\runtime\src\libraries\Microsoft.Bcl.AsyncInterfaces\src\Microsoft.Bcl.AsyncInterfaces.csproj : error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order. D:\repos\runtime\eng\Configurations.props
cc: @ViktorHofer
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-InfrastructureuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Activity
Dotnet-GitSync-Bot commentedon Nov 20, 2020
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
ShreyasJejurkar commentedon Nov 20, 2020
Yeah, getting the same error. I thought it might be due too some build errors. But I build the entire runtime repo, it succeeded. But VS is not able to open any solution!
Am using latest preview of VS!
ViktorHofer commentedon Nov 20, 2020
Fixed by #44998