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

Files from nuget package used in .Net core Web Api not accessed from Debug folder, instead accessed from project location

$
0
0

I have created a .netstandard nuget package which I am using in Asp.NetCoreWebApi. When I install the nuget packages, some fonts and images that are present in a folder named 'Resources' are downloaded into the .net core project. This is not physically available in the project root, but available as a shortcut link which is denoted by small arrow icon in the solution explorer.

enter image description here

When I build the project, this 'Resources' folder is available in the bin\Debug folder.

Now, when I run the WebApi project, and debug, I am getting an exception which says,

"Cannot find the path \Resources\Fonts."

Why isnt my WebApi searching in the Debug folder?

How to change this ?


Viewing all articles
Browse latest Browse all 3196

Trending Articles



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