-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vb.net -> C# *.aspx files #175
Comments
and Language="VB" to Language="C#" |
Yep, seems sensible to me. I haven't really tested aspx conversion so far. If you see any other changes related to aspx feel free to add them here too. |
The aspx template can also contain VB/C# code within tags |
Also *.ascx files please!) |
When I investigated ".asp" files I can't remember if I checked for aspx/ascx. But just linking to my comment at the time for reference: In particular: https://docs.microsoft.com/en-us/dotnet/api/system.web.compilation.buildprovider?redirectedfrom=MSDN&view=netframework-4.7.2 may be useful in some way perhaps |
I've just had a brief look into this. It turns out that Roslyn creates a separate project within the solution object for each aspx file. #ExternalSource("C:\Users\gph77\source\repos\CodeConverterTests\VbAspNetWebApplication1\Contact.aspx",1)
__o = Title.ToLower() + "2"
#End ExternalSource Assigning to the __o object seems to just mean it was in an "output" tag like So we'll need to:
|
Few things from what I noticed:
|
1) Yep we'd definitely need to check/refine the behaviour there. I think it's possible to get the nested files, and the menu may even already correctly appear because of them. |
Few more observations:
|
Good finds - not great news for an already difficult feature, but good to know in advance |
.aspx files should change CodeBehind tag vale from ".vb" -> "*.cs"
The text was updated successfully, but these errors were encountered: