找不到图像文件夹的路径

时间:2015-02-17 10:04:25

标签: asp.net-mvc

我想在我的一个视图中显示图像。我已经设置了图像的路径如下:

imSettings.ImageUrl = "~/Content/images/AquaHeader.png";   

但是在浏览器中我得到了一个" ressource not found" -error。这是因为运行应用程序时内容文件夹中没有images-folder。那么为什么这个文件夹不可用?我做错了什么?

enter image description here

提前致谢!

0 个答案:

没有答案
相关问题