Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with one of the samples
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00774216
Message ID:
00779956
Vues:
13
>>Compiler Error Message: CS1595: 'System.IO.StringWriter' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'
>
>Sorry for the late reply, haven't been checking agent messages lately, I guess. Anyway, this happens when the C# compiler doesn't have permissions for the folders in the path to mscorlib.dll. You can do one of two things to fix it:
>
>1. Open machine.config and look for "< compilers >" (no quotes, and in brackets that the UT will strip out). Look for, or add, "compilerOptions =", and tack on "/nodist" (in quotes).

I added the spaces above< g >.

On each of the lines beginning with: compiler language= (preceded by a left bracket), I added: compilerOptions="/nodist" and the required /> closing the attribute. As far as I can determine the tag is syntacally correct. However, when I run the project I get the following error:

Compiler Error Message: CS2007: Unrecognized command-line option: '/nodist'

>2. Grant "List Folder/Read Data" permissions to the ASPNET account for the path listed in your message, and folders underneath it.

Oh great, another learning experience.:-) Don't you know I'm "Web Challenged".< g > I'll dig around and find out how to do this.

BTW, did you write the VB.NET project? I know you do C#.

Thanks for the time and feedback.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform