Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behaviour change between Source Code and Nuget Package #41

Open
Fungusware opened this issue Oct 15, 2020 · 0 comments
Open

Behaviour change between Source Code and Nuget Package #41

Fungusware opened this issue Oct 15, 2020 · 0 comments

Comments

@Fungusware
Copy link

I have an interesting issue. When using a Project Reference to the Westwind.RazorHosting source code my application gives me Intellisense in my cshtml files and works perfectly.

If I reference the compiled DLL or the NuGet package, the cshtml file shows an error on

@inherits Westwind.RazorHosting.RazorTemplateFolderHost<DemoModel>

The error is

The type or namespace name 'Westwind' could not be found (are you missing a using directive or an assembly reference?)

Simply switching back the the Project Reference solves the issue an I cannot find any way to make the Nuget package or DLL work.

In both cases, the final application runs fine, I just lose the intellisense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant