Assembly not found: Microsoft.CSharp
See original GitHub issueAfter publishing my .net web app throws an exception when I try to start it:
Error: assembly specified in the dependencies manifest was not found -- package: 'Microsoft.CSharp', version: '4.0.1-rc3-24209-08', path: 'lib/netstandard1.3/Microsoft.CSharp.dll'
I use the ‘latest’ cli from github dotnet/cli on Debian 8.2: 1.0.0-preview2-003032
This seems to be the same issue @GuardRex has: https://github.com/dotnet/cli/issues/3379
I am using the https://www.myget.org/F/aspnetcidev/api/v3/index.json
feed. My dependencies in project.json are -rc3-*
. I use the same dotnet version to publish and start the application.
In the dotnet folder, there is a Microsoft.CSharp.dll at ./shared/Microsoft.NETCore.App/1.0.0-rc3-004449-00/Microsoft.CSharp.dll
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
dotnet core : Can not find assembly file Microsoft.CSharp.dll
Expand your project, right click on References , click Add Reference , search Microsoft.CSharp , check the box, click OK . Select Microsoft....
Read more >MSB3644: The reference assemblies for 'version' were not ...
The reference assemblies for 'version' were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework ...
Read more >Could Not Load File Or Assembly 'System.Runtime, ...
Could Not Load File Or Assembly 'System.Runtime, Version=6.0.0.0 · Right-click on the project and select Properties. · In the Properties window, ...
Read more >Could not load file or assembly class library " ...
First, I am creating for the first time a C# class library in .Net 6 that is a data access layer for other...
Read more >Cannot add assembly in VS 2022 C# - Microsoft Q&A
I get this error CS1069 The type name 'SqlConnection' could not be found in the namespace 'System.Data.SqlClient'. This type has been forwarded ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is now fixed with dotnet/cli#3574.
@pakrym let me know if we can help. It would be great to get a first pass at this change today… it’ll probably be a bit destabilizing.