You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.
}
In above code in project.json file, i have tried to load MVC 5.but it doesn't load in reference instead of that, it will show like with corrupted symbol. Even these assemblies are available in GAC. i have tried with some other assemblies. Am getting the same error only.
In case if i load without version details. it will automatically load the lowest version of MVC. i.e., MVC 3 is the lowest version in my machine. that was loaded in reference.
this is not with MVC assembly alone. we can reproduce it any assembly by following the below scenario.
Am having an assembly named as 'EssentialASP" which was available in GAC in two version like 1.0.0.0 , 2.0.0.0. If i refer without assembly version it will automatically load the lowest version. but if i try to refer some other version other than lower i.e., 2.0.0.0 then it couldn't load in the project (showing with corrupted symbol) in the reference section.
The text was updated successfully, but these errors were encountered:
@gurunathancs1991 I believe frameworkAssemblies section is for specifying .NET Framework assemblies. Instead of using GAC, I recommend using dnu wrap to wrap the particular assembly you'd like with your project. This would give you the option to use CoreCLR in the future, and also potentially go cross platform.
That being said @davidfowl do we support version info for frameworkAssemblies? Should we just throw if there's anything specified there?
I can load the assembly from GAC in ASP.Net 5 application. but i couldn't load the specific version. please have a look on my codes.
[project.json]
}
In above code in project.json file, i have tried to load MVC 5.but it doesn't load in reference instead of that, it will show like with corrupted symbol. Even these assemblies are available in GAC. i have tried with some other assemblies. Am getting the same error only.
In case if i load without version details. it will automatically load the lowest version of MVC. i.e., MVC 3 is the lowest version in my machine. that was loaded in reference.
this is not with MVC assembly alone. we can reproduce it any assembly by following the below scenario.
Am having an assembly named as 'EssentialASP" which was available in GAC in two version like 1.0.0.0 , 2.0.0.0. If i refer without assembly version it will automatically load the lowest version. but if i try to refer some other version other than lower i.e., 2.0.0.0 then it couldn't load in the project (showing with corrupted symbol) in the reference section.
The text was updated successfully, but these errors were encountered: