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

"RuntimeIdentiifer must be set for .NETFramework executables" #1333

Closed
davkean opened this issue Jan 25, 2017 · 2 comments
Closed

"RuntimeIdentiifer must be set for .NETFramework executables" #1333

davkean opened this issue Jan 25, 2017 · 2 comments

Comments

@davkean
Copy link
Member

davkean commented Jan 25, 2017

  • Target net45 from a SDK-based Console App.

Get:

Severity	Code	Description	Project	File	Line	Suppression State
Error		RuntimeIdentifier must be set for .NETFramework executables. Consider RuntimeIdentifier=win7-x86 or RuntimeIdentifier=win7-x64.	ConsoleApp95	C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.RuntimeIdentifierInference.targets	49	

Why? I can target .NET Framework from a legacy project without needing anything here - why do I need one in this case?

@dsplaisted
Copy link
Member

Closing this one in favor of dotnet/sdk#730, as this error is coming from the SDK

@srivatsn
Copy link
Contributor

Which in turn was closed in favour of dotnet/sdk#357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants