You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a file such as an image to a resources file contained within a project sub-folder using the new editor, the .resx file is generated with an incorrect path.
Steps to Reproduce
Create a new class library project.
Add a new folder inside the project.
Add a resources file inside the folder.
Add an existing file or image to the resource file.
The project will not build due to an error finding the file.
Expected Behavior
The file should be referenced from the root Resources folder and available to use when referencing the resource file.
Actual Behavior
The project now fails to build, as the path within the .resx file is relative to the sub-folder the resources file is in, but the actual file is placed in a "Resources" folder in the project root.
User Impact
Requires manually editing the generated resx.
The text was updated successfully, but these errors were encountered:
Visual Studio Version
17.12.3
Summary
When adding a file such as an image to a resources file contained within a project sub-folder using the new editor, the .resx file is generated with an incorrect path.
Steps to Reproduce
Expected Behavior
The file should be referenced from the root Resources folder and available to use when referencing the resource file.
Actual Behavior
The project now fails to build, as the path within the .resx file is relative to the sub-folder the resources file is in, but the actual file is placed in a "Resources" folder in the project root.
User Impact
Requires manually editing the generated resx.
The text was updated successfully, but these errors were encountered: