Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open .slns in VS #44991

Closed
stephentoub opened this issue Nov 20, 2020 · 4 comments
Closed

Unable to open .slns in VS #44991

stephentoub opened this issue Nov 20, 2020 · 4 comments
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner

Comments

@stephentoub
Copy link
Member

stephentoub commented Nov 20, 2020

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

@Dotnet-GitSync-Bot
Copy link
Collaborator

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.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Nov 20, 2020
@ShreyasJejurkar
Copy link
Contributor

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!

@ghost
Copy link

ghost commented Nov 20, 2020

Tagging subscribers to this area: @ViktorHofer
See info in area-owners.md if you want to be subscribed.

Issue Details

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

Author: stephentoub
Assignees: -
Labels:

area-Infrastructure, untriaged

Milestone: -

@ViktorHofer
Copy link
Member

ViktorHofer commented Nov 20, 2020

Fixed by #44998

@ghost ghost locked as resolved and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

5 participants