mcintyre321 / EmbeddedResourceVirtualPathProvider

A custom VirtualPathProvider for IIS - load views and assets from Embedded Resources in referenced assemblies
http://www.adverseconditionals.com/2011/07/portable-aspnet-code-using.html
MIT License
63 stars 42 forks source link

Trying to get working with MVC 4 #15

Closed allenwilson-innovativednd closed 9 years ago

allenwilson-innovativednd commented 9 years ago

Hello....not sure if this is an issue...more of a request for assistance. Trying to use the library to use as part of a MVC Contrib portalable area.

I set your library up in the DLL for the portable area and put the JS files in the scripts directory. When I try adding the MVC Portable area DLL to the main MVC project (in an Area)...i am get a error with the following test JQuery ($ is undefinded)

@model dynamic

Click on this paragraph.

``` ```

Any help is appreciated

mcintyre321 commented 9 years ago

Have you set the scripts to be embedded resources? On 11 May 2015 18:24, "allenwilson-innovativednd" notifications@github.com wrote:

Hello....not sure if this is an issue...more of a request for assistance. Trying to use the library to use as part of a MVC Contrib portalable area.

I set your library up in the DLL for the portable area and put the JS files in the scripts directory. When I try adding the MVC Portable area DLL to the main MVC project (in an Area)...i am get a error with the following test JQuery ($ is undefinded)

@model https://github.com/model dynamic

Click on this paragraph.

Any help is appreciated

— Reply to this email directly or view it on GitHub https://github.com/mcintyre321/EmbeddedResourceVirtualPathProvider/issues/15 .

allenwilson-innovativednd commented 9 years ago

Yes....I have......trying to pull in jquery-1.8.2.js

allenwilson-innovativednd commented 9 years ago

i can zip up my sample and send it...if you want to take a look

allenwilson-innovativednd commented 9 years ago

From what i can tell by stepping through things...it has the file but it does not allow it to work correctly (i.e. making function calls, loading JQuery functions)

allenwilson-innovativednd commented 9 years ago

Please close this issue....I found out what it was.....the name assigned to the assembly

mcintyre321 commented 9 years ago

No problem, glad you figured it out. If you have the time, it would be great if you could update the rename or wiki with something to help others avoid your issue.