Is it possible to build a project with errors

danny devito 1 Reputation point
2021-10-10T23:33:58.707+00:00

Hi so I have a visual studio project that has a bunch of errors, I wanted to build into a dll and try to run it anyways, can anyone help me?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,191 Reputation points
    2021-10-11T11:08:13.09+00:00

    Without knowing specifics the best course of actions are

    • Errors can come from the settings for Option Strict and Option Infer, the compiler will throw out more errors when coding in old style VB6 than if done as pure VB.NET
    • With the Error List window open first look at each error and if there are errors indicating a type can not be found e.g. Are you missing a using directive, tackle these first as in many cases will resolve other issue. Missing a using directive may come from either a developer removed a needed using statement.
    • Look at dependencies for a project, are they compatible with the .NET Framework being used in your project
    • Scope of variables can lead to errors

    Even if the above are helpful or semi-helpful and still have errors, come back here with specifics for each error written out rather than providing screenshot. You can select an error from the error list window copy and paste here.

    0 comments No comments