Questions tagged [vbc]

Microsoft's Visual Basic .NET (VB.NET) compiler

Microsoft's Visual Basic .NET (VB.NET) compiler

39 questions
1
vote
1 answer

'Type "Global.Microsoft.VisualBasic..." is not defined' - after upgrading project to NET 8.0

I'm using latest version of VS 2022 preview, and I'm suffering these four compiler errors after using Net Upgrade Assistant to upgrade a .NET 4.8.1 project to .NET 8.0 preview: BC30002 Type…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
1
vote
1 answer

.NET: Resgen Tutorial

First off I have RFM and RFM and I have tried to follow a few sites but I cannot grasp the concept of the Resource Manager. Can someone please explain to me how to generate a resource manager similar to that of the VS IDE. For example if I compile…
user295190
1
vote
1 answer

Compiler Error Message: The compiler failed with error code -1073741511

I have a dedicated server: Windows Server 2008 RS2 with IIS7.0 Last friday one of the sites crashed with that error, but no significant change was made either on the server or on the site. And today, another site crashed with the same…
epaezr
  • 454
  • 2
  • 6
  • 15
1
vote
1 answer

MSBuild 3.5 produces different IL than MSBuild 4 for the same code

Edited to indicate the VS'08 cannot compile a working dll, though I original said it could We have a piece of VB code that compiles differently depending on what tools are used to compile it. I have tried compiling this code on several different…
ScottS
  • 8,455
  • 3
  • 30
  • 50
1
vote
3 answers

Does VS2010 use csc.exe / vbc.exe (directly or indirectly) to compile relevant projects?

Pretty much as the title suggests. I can't find any proof that DevEnv.exe actually calls these at any point.
Rory Becker
  • 15,551
  • 16
  • 69
  • 94
1
vote
1 answer

How to create optional arguments in Visual Basic generated through CodeDom?

This is a cousin of the question "Can CodeDom create optional arguments when generating a c# method?" And I tried the answer given there. Still, when I attempt to compile, I get the following error: error BC30455: Argument not specified for…
devrelm
  • 326
  • 1
  • 13
1
vote
1 answer

How to save strings into a Visual Basic Array?

I am wondering how I would go about saving a string into an array.Its a beginner question , but i really need help. Thanks in advance.
user1683391
  • 79
  • 1
  • 1
  • 12
0
votes
0 answers

Availability of mono vbc.exe on RH9 family

I need to run a Mono app that requires vbc.exe (the VB compiler). I was able to find a Fedora38 package (mono-basic) which included vbnc.exe, but no RH compatible RPM's with vbc.exe. I've been told that vbnc.exe is the old (deprecated) VB…
TSG
  • 4,242
  • 9
  • 61
  • 121
0
votes
1 answer

VBC compiler only support visual basic 2012

I am trying to run a debug instance of web service, I am running in windows 2012 server, however it have the following error. I have download the iis express 10 again from microsoft. However it is not work. I found I can run the web service in…
want_to_be_calm
  • 1,477
  • 3
  • 23
  • 41
0
votes
1 answer

From Vonage video API to Vonage Business Communications app

Goodmorning, I need to build a simple web app in which an user push a button, after pressing it a video call starts and I am trying to find the easyest solution. In few minutes I was able to embed a video call on a test web page using Vonage Video…
0
votes
0 answers

VBC.exe to build standalone dlls in "newer" .net frameworks. (4.6 specifically)

I am working on upgrading an older "compiler" we have, which basically converts a spreadsheet into a .vb file, and then compiles it into a .net library. It uses vbc.exe to compile the .vb file. Right now it seems the latest version of dll I can…
Jake
  • 19
  • 1
  • 1
  • 7
0
votes
1 answer

Visual basic compiler error: Type 'SCU' is not defined

I am trying to compile a VB class into .netmodule, it refers to a motor control ActiveX file with namespace SCU My command is: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Vbc.exe /t:module motorFunc.vb But the compiler shows those errors: Any…
benkyou
  • 45
  • 9
0
votes
0 answers

TypeLoadException only in VS2013 and only for VB.NET

I've tried everything in my knowledge to fix this but as I can't here I am asking for help. Basically I have an issue with some VB.NET code that throws a TypeLoadException. This is code that was written ages ago and has always worked without a…
0
votes
1 answer

TFS 2015 reference required to assemby

I've a problem with a build with TFS 2015. I've a simple project that reference B.dll . B.dll use A.dll . The project don't reference A.dll as it don't use it itself. A.dll & B.dll bothe are company Framework dll stored in the…
Vitelize
  • 23
  • 3
0
votes
2 answers

Command Line Compiling Settings.settings using VBC

To an earlier question of mine, invovling VBC and NAnt with WinForms, I have since come up with a better way of stating this. Within vbproj file, you have the following:
MagicKat
  • 9,695
  • 6
  • 32
  • 43