VB.NET and project imports

Much to my displeasure, I’ve recently inherited an ASP.NET 1.1 website. After a bit of a wrestle they eventually handed over the source code (Why are .NET developers so precious over their code?). Unfortunately they didn’t hand over the Visual Studio project or solution files as well.

Fair enough, I can easily create a new solution and import all the code…no problem. Except there were problems, 104 of them. If you’ve used Visual Studio before you’re likely to know what that means. It means: a shit load of errors, except I’m only going to show you 104 of them.

The kind of stuff I was getting was:

Type 'Control' is not defined.

…and there were no error messages for missing imports. I scratched my head for ages until I thought of the notion of “automatic imports”. What if, these guys have somehow specified a set of imports that get appended automatically to each file…which I haven’t defined?

Turns out, you friggin can do exactly that. In Visual Studio 2003 it is: Right click on project > properties > project properties > imports.

Who the hell thought of that? Surely it is a completely ludicrous idea! It means that if the code gets separated from the project (which is exactly what happened) it won’t work correctly. Not only that, but how the hell am I supposed to know if MyClassName belongs to com.companyX.package or com.companyY.package???

So I’m just totally guessing at the moment, and I’m down to 18 errors. Man I hope it eventually runs.

3,629 thoughts on “VB.NET and project imports

  1. Нашёл материал, где подробно разбирается, как строить SMM-стратегию с нуля: от аудита и анализа аудитории до запуска рекламных кампаний и оптимизации. Есть раздел про контент-план и работу с UGC. Рекомендую: https://foto-videomontaz.ru/smm-prodvizhenie-v-soczialnyh-setyah-princzipy-instrumenty-i-pokazateli-effektivnosti/

  2. Отличный разбор SMM-продвижения! Автор подробно объясняет, почему для бизнеса в крупных городах важно не просто присутствовать в соцсетях, а выстраивать системную работу с аудиторией. Особенно полезен блок про KPI и оценку эффективности. Сохранил себе: https://foto-videomontaz.ru/smm-prodvizhenie-v-soczialnyh-setyah-princzipy-instrumenty-i-pokazateli-effektivnosti/

  3. Старый паркет? https://shlifovka-parketa.ru профессиональное восстановление деревянного пола без пыли и лишних затрат. Удаляем царапины потемнения и старое покрытие возвращаем гладкость и естественный цвет. Используем современное оборудование выполняем циклевку шлифовку и лакировку паркета под ключ с гарантией качества и точным соблюдением сроков.

  4. Старый паркет? https://shlifovka-parketa.ru профессиональное восстановление деревянного пола без пыли и лишних затрат. Удаляем царапины потемнения и старое покрытие возвращаем гладкость и естественный цвет. Используем современное оборудование выполняем циклевку шлифовку и лакировку паркета под ключ с гарантией качества и точным соблюдением сроков.

  5. Лицензия «Битрикс: Управление сайтом – Старт» — оптимальное решение для создания небольшого сайта, лендинга или корпоративной страницы. Переходите по запросу 1C Bitrix Старт. Редакция включает базовые инструменты для управления контентом, готовые модули, защиту сайта и удобную административную панель. Подходит для быстрого запуска проекта на CMS 1C-Битрикс с возможностью дальнейшего масштабирования и перехода на более функциональные редакции.

  6. Старый паркет? шлифовка паркета без пыли профессиональное восстановление деревянного пола без пыли и лишних затрат. Удаляем царапины потемнения и старое покрытие возвращаем гладкость и естественный цвет. Используем современное оборудование выполняем циклевку шлифовку и лакировку паркета под ключ с гарантией качества и точным соблюдением сроков.

  7. Старый паркет? шлифовка паркета профессиональное восстановление деревянного пола без пыли и лишних затрат. Удаляем царапины потемнения и старое покрытие возвращаем гладкость и естественный цвет. Используем современное оборудование выполняем циклевку шлифовку и лакировку паркета под ключ с гарантией качества и точным соблюдением сроков.

  8. Ребята, кто ищет информацию по модерации сообществ и работе с негативом, в статье есть полезный раздел. Автор рассказывает, как выстраивать службу поддержки в соцсетях, готовить скрипты ответов и действовать в кризисных ситуациях. Актуально: https://sksensation.ru/smm-prodvizhenie-v/

  9. Ребята, для тех, кто только начинает разбираться в SEO, отличная статья-ликбез. Объясняется, зачем нужно продвижение, как оно работает и какие бывают инструменты. Рекомендую: https://radschool3.ru/2026/01/seo-prodvizhenie-sajta-chto-jeto-takoe-i-zachem-nuzhno/

  10. Great explanation in this post.
    I appreciate how the content clearly explains
    online casino features and betting concepts.

    Many players often jump into online casinos without understanding
    how betting systems actually operate,
    so content like this is very helpful.
    I have been reading similar guides on
    Panaloko,
    and I find that the explanations there are also very clear and easy to follow.

    What I like most about articles from panaloko.info is that
    they focus on
    practical details rather than marketing hype.
    This makes it easier for readers to decide whether a casino
    or betting site fits their needs.

    It is also good to see more content that talks about
    platform reliability,
    because these topics are often ignored.
    For anyone who wants to learn more about online casinos, live dealer games, or sports betting in the Philippines,

    I think combining posts like this with resources from panaloko.info
    can give a clearer picture of the industry.

    Looking forward to reading more posts like this in the future.

  11. Pretty nice post. I just stumbled upon your weblog and wished to say that I’ve
    truly enjoyed browsing your blog posts.
    In any case I will be subscribing to your rss feed and I hope you
    write again very soon!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>