Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Running an app with desktop CLR on a machine without VS throws exception #669

Closed
Praburaj opened this issue Sep 27, 2014 · 3 comments
Closed
Assignees
Milestone

Comments

@Praburaj
Copy link
Contributor

System.InvalidOperationException: Failed to resolve the following dependencies for target framework 'Asp.Net,Version=v5.0':
   mscorlib
   System
   System.Core

Searched Locations:
  C:\Users\prabht\Documents\GitHub\MusicStore\src\{name}\project.json
  C:\Users\prabht\.kpm\packages\{name}\{version}\{name}.nuspec
  C:\WINDOWS\Microsoft.NET\assembly\GAC_32\{name}\{version}\{name}.dll
  C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\{name}\{version}\{name}.dll

Try running 'kpm restore'.

   at Microsoft.Framework.Runtime.DefaultHost.GetEntryPoint(String applicationName)
   at Microsoft.Framework.ApplicationHost.Program.ExecuteMain(DefaultHost host, String applicationName, String[] args)
   at Microsoft.Framework.ApplicationHost.Program.Main(String[] args)
@Praburaj Praburaj added the bug label Sep 27, 2014
@davidfowl davidfowl added this to the 1.0.0-beta1 milestone Sep 27, 2014
@davidfowl davidfowl self-assigned this Sep 27, 2014
davidfowl added a commit that referenced this issue Sep 27, 2014
- This will make the "not having VS installed" work the default, implicit
references. But it won't work generally. This fix is good enough since
new code will require the frameworkAssemblies section.

#669
@Praburaj
Copy link
Contributor Author

/CC @troydai @jhawk42 @BrennanConroy. This is fixed now.

@colemickens
Copy link

Was this fixed before or after the alpha4 release?

@davidfowl
Copy link
Member

I believe the bug was introduced and fixed after alpha4

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

No branches or pull requests

3 participants