views:

24

answers:

0

Hi

I have the following Problem. In a Assembly there are Ressources which are exported via "WebRessource" Attribute

Ok. I know that the through the Method GetWebRessourceUrl i can find out the Ressource Url but this happens basically at Runtime.

I need this Resource Url at Compiletime.

Why?

Because i have a Javascript which calls some of the the WebRessource Urls. The Tricky Part is, this Javascript is also in a assembly embedded (The same Assembly as the other Resources) and is Generated and embedded at compile Time with the other Ressources.

I am grateful for every help.