vbc

VBC + NAnt. Error compiling WinForm

It should first be noted that I am trying to avoid rewriting all my scripts to use msbuild. I have noticed that there are several problems when using NAnt with the VBC task and compiling a WinForms application. The main problem seems to be that VBC can't find Sub Main. This is odd, since from within VS, there is no indication that the...

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: <ItemGroup> <None Include="My Project\Settings.settings"> <Generator>SettingsSingleFileGenerator</Generator> <CustomToolNamespace>My</CustomToolNamespace> ...

Can MonoDevelop (2.2b2) running on Windows use the Microsoft compilers?

I've installed MonoDevelop 2.2b2 on my Windows workstation, which has the .NET 3.5 SDK installed and running fine (I can use VS Express and command-line compilation without a problem). Apparently MonoDevelop defaults to calling the Mono VB.NET compiler (vbcnc.exe) rather than the Microsoft compiler (vbc.exe) when building a project. (I ...

Does anyone know of a way to view all compiler warnings for a VB.NET project?

VB.NET has this rather annoying limitation which caps compiler warnings reported at 100. vbc : warning BC42206: Maximum number of warnings has been exceeded. This makes things rather frustrating when trying to size up the amount of effort that would be required to comply with VB.NET best practices, such as enabling Option Strict. Is ...

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. ...

Strong Naming an assembly using command line compile

I am trying to use NAnt in order to compile and sign an assembly using the vbc compiler. I have a project set up and am able to successfully sign the assembly compiling with VS2010. When I try to sign it using the command line I get this error: vbc : error BC30140: Error creating assembly manifest: Error signing assembly -- The parame...

ASP.NET: Parser error message with vbc.exe

Here's the scenario: We have an ASP.NET powered Content Management System running on a server, which is built by a third-party and so unfortunately has to be considered a 'black box' for the purposes of this question. I don't know much about how it works. Its Windows 2008 with IIS 7. For weeks it will work fine, and then suddenly it wi...

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 computers using Visual Studio '08, '10, and MSBuild 3.5 and 4. MSBuild 3.5 (which our bu...

.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 with VBC from the commandline I can see all my resource files. vbc /t:exe myfile.vb /...