Forum: ASP.NET2.0 |
Thema:
AW: AW: VB und C## in App_Code verwenden |
Von:
Armin Stockner (
21.09.2006 12:07) |
Also zwei Sprachen gleichzeitig im app_code funktioniert folgendermaßen:
Step 1: Add the following lines to the web.config
<configuration>
<system.web>
<compilation>
<codeSubDirectories>
<add directoryName="VB_Code"/>
<add directoryName="CS_Code"/>
</codeSubDirectories>
</compilation>
</system.web>
</configuration>
Step 2: Create a sub-folder in the App_Code folder for each language you want to support.
For Example:
/App_Code/VB_Code
/App_Code/CS_Code
Step 3: Place your VB.NET code in the VB_Code folder and place C# code in the CS_Code folder.
SIEHE: http://pietschsoft.com/Blog/Post.aspx?PostID=1287
Armin Stockner
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!