Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7563803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:45:29+00:00 2026-05-30T13:45:29+00:00

I have given an alias name to a dll which I am referencing from

  • 0

I have given an alias name to a dll which I am referencing from Visual studio by going to the property of that dll and specifing the alias and using the same in my code file.

extern alias toolkitalias;
using toolkitalias::System.Windows;
using toolkitalias::System.Windows.Controls;

But still it gives error saying The extern alias ‘toolkitalias’ was not specified in a /reference option”

Am I missing something. Please help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:45:30+00:00Added an answer on May 30, 2026 at 1:45 pm

    I have done some research and what I found is giving alias to a dll from Visual studio doesnt work as expected and is reported as a bug.

    http://connect.microsoft.com/VisualStudio/feedback/details/615953/reference-aliases-are-ignored-on-projects-containing-some-xaml-files.

    Also the above solution only works in case code behind files and not in case of xaml. For xaml, what Marc suggested is correct with alias name given from visual studio property window as global,toolkitalias.

    Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have given a table background image using css background-image property. The cells are
A given location (city), can have a name and also other aliases by which
Many thanks for the advice you have given me thus far. Using testbenches is
I have a <table/> in a ViewUserControl that I have given the tag a
I have been given two different Microsoft Word document that my virus scanner has
I have first_name , last_name & alias (optional) which I need to search for.
I have produced a custom attribute which simply marks a classes property as being
I have a web application that is trying to access images from a shared
I have a DLL which I have included in my C# project. Let's call
I have a CLR UDT that would benefit greatly from table-valued methods , ala

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.