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
{{ message }}
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.
The is a problem nesting embedded resources. I was experimenting with nesting .cshtml files using the existing rules and did this:
Modal.cs (bootstrap modal web component)
-> Modal.cs.cshtml (it's view file)
Modal.cs.cshtml is set to Embedded Resource, and clearly shows it, but is completed IGNORED by the build process (simply open the DLL in a text editor [such as Notepad++] and scroll to the bottom and look for text). If I rename the file to "Modal.cshtml" instead it works perfectly fine! :/ I don't think whether or not a file is embedded should have and role in excluding a file from being embedded so this seems like a bug to me.
Yes, I'm aware of upcoming nesting controls in v15.6, but I'm not able to install it yet, and regardless, this should work fine, so it should be looked into nonetheless.
Just to add: I'm using wild-cards to include the file. If I explicitly add it I get this:
Duplicate 'EmbeddedResource' items were included. ...
So it's clearly found. It's obviously something up with the build process not finding the nested file.
The text was updated successfully, but these errors were encountered:
To report new issues, use the Report a Problem tool. The GitHub Issue Tracker for the aspnet/Tooling repo is now deprecated in favor of the Report a Problem tool.
If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See here for more details.
The is a problem nesting embedded resources. I was experimenting with nesting .cshtml files using the existing rules and did this:
Modal.cs (bootstrap modal web component)
-> Modal.cs.cshtml (it's view file)
Modal.cs.cshtml
is set to Embedded Resource, and clearly shows it, but is completed IGNORED by the build process (simply open the DLL in a text editor [such as Notepad++] and scroll to the bottom and look for text). If I rename the file to "Modal.cshtml" instead it works perfectly fine! :/ I don't think whether or not a file is embedded should have and role in excluding a file from being embedded so this seems like a bug to me.Yes, I'm aware of upcoming nesting controls in v15.6, but I'm not able to install it yet, and regardless, this should work fine, so it should be looked into nonetheless.
Just to add: I'm using wild-cards to include the file. If I explicitly add it I get this:
Duplicate 'EmbeddedResource' items were included. ...
So it's clearly found. It's obviously something up with the build process not finding the nested file.
The text was updated successfully, but these errors were encountered: