1

Closed

Links namespace cannot be used in bundles

description

Hi!

I tried to be clever and us the Links namespace for creating my css and javascript bundles. The problem is that the strings that are in this namespace don't contain ~ at the start. This causes the site to fail at runtime.

Is there a way to change the strings in the Links namespace to be bundle-compatible?

Thanks,
gligoran
Closed Jan 28 at 4:12 PM by KevinKuszyk
As part of our move to GitHub, we are closing all the outstanding issues on CodePlex.

If your issue is still valid, please re-open it on GitHub:
https://github.com/T4MVC/T4MVC/issues

Thanks for contributing!

comments

davidebbo wrote Feb 21, 2013 at 11:21 PM

Look at ProcessVirtualPathDefault in your T4MVC.tt.hooks.t4. It deliberately avoids the ~/, so if you want it, you can just yank the VirtualPathUtility.ToAbsolute call.