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.

5,399 thoughts on “VB.NET and project imports

  1. Матовая металлочерепица под терракоту. Профиль 72 мм создаёт красивую игру света и тени. Покрытие не выгорает 30 лет. Сосед уже интересуется где брал. металлочерепица для Сибири

  2. Хорошее полное руководство по SEO и интернет-маркетингу в 2026 году. Автор разбирает ключевые компоненты современного SEO (контент, ориентированный на пользователя, техническое SEO, UX), важность естественного использования ключевых слов и семантического ядра. Отдельные блоки — про тренды интернет-маркетинга (видеоконтент, персонализация, автоматизация), локальное SEO и аналитику. Есть раздел про будущие тренды: голосовой поиск, VR/AR, экологическая устойчивость. Почитайте: https://autopark55.ru/prodvizhenie-sajtov-polnoe-rukovodstvo-po-seo-i-internet-marketingu-v-2026-godu/

  3. Hey! I’m at work surfing around your blog from
    my new apple iphone! Just wanted to say I love reading through
    your blog and look forward to all your posts!

    Carry on the excellent work!

  4. Консультация жилищного юриста — это быстрый и эффективный способ разобраться в сложных вопросах, связанных с недвижимостью. Переходите по запросу сколько стоит консультация юриста по жилищным вопросам в Москве цена. Специалист оценит вашу ситуацию, разъяснит нормы законодательства, расскажет о правах собственников и предложит оптимальный план действий для защиты ваших интересов.

  5. Admiring the time and effort you put into your site and
    detailed information you present. It’s awesome to come
    across a blog every once in a while that isn’t the same old rehashed material.

    Wonderful read! I’ve saved your site and I’m including your RSS feeds to my Google account.

  6. Коллеги — решил попробовать что-то новое и подсказали alteja-kpk.ru. Стартовый пакет до 200 230 FS — условия читал заранее отыгрыш не дикий. Форма лаконичная без лишних полей — оценил. Вывод по ощущениям от 15 минут до суток — у меня уложилось в несколько часов. На мобиле в браузере всё открывается без танцев; приложение тоже есть по ссылке с главной. Беру ссылку только из поддержки или рассылки — из поиска не качаю. Поддержка 24/7: чат почта Telegram — ответили по зеркалу за пару минут. В целом площадка ровная без цирка.

  7. Ahaa, its fastidious conversation about this paragraph at this place at this website, I have read all
    that, so now me also commenting at this place.

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>