Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

using shared package in multiple webapi projects at runtime at production server (net 7)

$
0
0

I've already followed thisto setup a runtime store at deployed server, but i can't make package store at runtime environment that reference assembly to that, in other word when i browse my webapi i get 500.30 error and event log show me that IIS AspNetCore Module V2 cant find the assembly this Error:

> Application '/LM/W3SVC/14/ROOT/webapi' with physical root 'D:\webapi\' hit unexpected managed exception, exception code = '0xe0434352'. First 30KB characters of captured stdout and stderr logs:> Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'CSTR, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.> File name: 'CSTR, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'> at Program.<Main>$(String[] args)> > ```the host uses [In-process hosting with IIS and ASP.NET Core](https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/in-process-hosting?view=aspnetcore-7.0).i appreciate your help.we used GAC (Global Assembly GAC) before, for .net framework projects and try to migrate it to .net project but it fails.

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>