Value of ‘null’ is not valid for ‘stream’

Visual Studio

Route Cause :

You might have add new image file in resource.resx file of your visual studio projects, and the file property Build Action is “Content”

Image File –>Right Click –> Properties –> Build Action = Content

Solution :

Right click on the image file you added, and change the file property to Embedded Resource

Image File –>Right Click –> Properties –> Build Action = Embedded Resource

Published by arjunpremier

Software Engineer, Blogger,

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Design a site like this with WordPress.com
Get started