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

Omnisharp net451 not compiling #555

Closed
jtbm37 opened this issue May 16, 2016 · 3 comments
Closed

Omnisharp net451 not compiling #555

jtbm37 opened this issue May 16, 2016 · 3 comments

Comments

@jtbm37
Copy link
Contributor

jtbm37 commented May 16, 2016

dotnet build

Project OmniSharp.Abstractions (.NETFramework,Version=v4.5.1) will be compiled because expected outputs are missing
Compiling OmniSharp.Abstractions for .NETFramework,Version=v4.5.1
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(19,16): error DOTNET1011: Framework not installed: .NETFramework,Vn=v4.5.1 in
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(21,29): error NU1001: The dependency System.Runtime could not be red.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(22,31): error NU1001: The dependency System.Threading could not belved.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(23,37): error NU1001: The dependency System.Threading.Tasks could e resolved.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(24,33): error NU1001: The dependency System.Collections could not solved.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(25,26): error NU1001: The dependency System.Linq could not be reso

C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(26,35): error NU1001: The dependency System.Text.Encoding could noresolved.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(27,32): error NU1001: The dependency System.Reflection could not bolved.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(28,30): error NU1001: The dependency System.Security could not be ved.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(29,35): error NU1001: The dependency System.Globalization could noresolved.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(30,25): error NU1001: The dependency System.Xml could not be resolC:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(31,30): error NU1001: The dependency System.Xml.Linq could not be ved.
C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(12,67): error NU1001: The dependency mscorlib could not be resolveC:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(12,67): error NU1001: The dependency mscorlib could not be resolveC:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(8,56): error NU1001: The dependency System could not be resolved. C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(12,67): error NU1001: The dependency System could not be resolved.C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(8,56): error NU1001: The dependency System could not be resolved. C:\Users\jtbm37\Github\omnisharp-roslyn\src\OmniSharp.Abstractions\project.json(12,67): error NU1001: The dependency System could not be resolved.

Compilation failed.
    0 Warning(s)
    18 Error(s)

Time elapsed 00:00:00.1099775

dotnet --info

.NET Command Line Tools (1.0.0-preview1-002700)

Product Information:
 Version:     1.0.0-preview1-002700
 Commit Sha:  0336f6bb34

Runtime Environment:
 OS Name:     Windows
 OS Version:  6.1.7601
 OS Platform: Windows
 RID:         win7-x64

.net version installed: 4.5.2
selection_031

@jtbm37
Copy link
Contributor Author

jtbm37 commented May 16, 2016

.net 4.5.1 cannot be installed after 4.5.2.

@hal-ler
Copy link
Contributor

hal-ler commented May 17, 2016

You need to have the reference assemblies installed. I posted a hack to get them without installing Visual Studio here: #418

@jtbm37
Copy link
Contributor Author

jtbm37 commented May 18, 2016

@hal-ler Thanks. I ended up copying
c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\
to
c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\

@jtbm37 jtbm37 closed this as completed May 18, 2016
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

2 participants