Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support extern aliases in DNX

See original GitHub issue

From @PinpointTownes on August 8, 2015 20:9


Though not very popular, extern aliases are useful to work around CS0433 Type 'X' already exists in both 'A.dll' and 'B.dll' compilation errors, specially since we can’t exclude transitive dependencies yet.

Copied from original issue: aspnet/dnx#2445

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:4
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

PavelSafronovcommented, May 25, 2016


Any updates on this issue or if there is a way to accomplish the same with the current releases?

fubar-codercommented, Jul 19, 2016

I found a hack that worked for me by (ab)using NuGet.Config and additionalArguments in project.json.

First, add a NuGet.Config with the following content:

<?xml version="1.0" encoding="utf-8"?>
    <add key="globalPackagesFolder" value="../../packages" />

Now, use buildOptions/additionalArguments in your project.json:

    "additionalArguments": [

This is a lousy hack, but it works as long as you explicitly specify the package version in the package dependency.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature request: support dns aliases for service #39792
FEATURE REQUEST I'd like to be able to set custom hostnames in Kubernetes for a service besides the default my-service, and ...
Read more >
extern alias - C# Reference
This creates the external aliases GridV1 and GridV2 . To use these aliases from within a program, reference them by using the extern...
Read more >
Managing DNS aliases - Amazon FSx for Windows File Server
To use DNS aliases on a file system created before 12:00 pm ET on November 9, 2020, do the following: Take a backup...
Read more >
domain name system - DNS alias to external subdomain
DNS alias to external subdomain ... I have a homepage with a subdomain. For example "". Now I want to redirect another domain...
Read more >
Can I use an email alias, distribution list, or Google Group ...
Answer. Zendesk doesn't support the use of aliases, distribution lists, shared mailboxes, Google groups, or any non-standard email clients or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found