简体   繁体   中英

Unable to build an .EXE for .NET version 1.1.4322 using vbc?

I have installed Microsoft .NET Framework 1.1 in my laptop. I want to build an .exe file for my VB.NET application sample.vb .

i tried to build an .EXE using visual basic compiler(vbc) then i changed my command prompt path to C:\\Windows\\Microsoft.NET\\Framework\\v1.1.4322 and executed following command

  vbc /r:System.dll /t:exe "D:\sample.vb"

i got the output as below:

Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (c) Microsoft Corporation 1987-2002. All rights reserved.

vbc : Command line error BC2012 : can't open 'sample.vb' for writing

i don't know why it is giving me the command line error BC2012 error and what am i missing. i have checked the vbc and system.dll files in the C:\\Windows\\Microsoft.NET\\Framework\\v1.1.4322 directory, they are existing.

Any one please help me to build an .EXE to target .NET version 1.1

尝试

vbc /r:System.dll "D:\sample.vb" /out:"D:\sample.exe"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM