Questions tagged [buildprovider]
10 questions
11
votes
2 answers
Visual Studio, Razor, BuildProviders and Intellisense
I'm trying to get Intellisense working for razor views in a non-ASP.NET project and would like to understand the relationship between VisualStudio's Razor editor and BuildProviders.
For background, I'm writing a framework on top of Manos (mono web…

Brad Robinson
- 44,114
- 19
- 59
- 88
4
votes
1 answer
.NET - Razor outside MVC application - Problems with removing @inherits and providing @model
Sorry for the long question. I broke it up into three problems which can be read separately. If you're able to help me with one problem, please do!
I have a custom implementation of a Razor engine in place. All works and templates are compiled and…

Ropstah
- 17,538
- 24
- 120
- 194
1
vote
2 answers
Why can BuildProvider be used only with ASP.NET website projects?
I was going to try Subsonic, you can generate DAL with buildProvider element in an ASP.NET website project. But I get curious why Web applications or windows applications do not support BuildProvider.
PS: I know for Subsonic there is one other…

yusuf
- 3,596
- 5
- 34
- 39
1
vote
1 answer
Load Web.Config as embedded resource inside a DLL in ASP.NET MVC
Following on from my earlier question around loading views from DLLs under ASP.NET MVC, I've come across the issue of having Views and Controls be strongly typed. An exception is thrown indicating that the type cannot be resolved.
I found this…

jmcd
- 4,269
- 5
- 36
- 36
1
vote
2 answers
Build Providers in .net 2.0
How can I determine the actual filename (App_Code_xxx.dll) of the types (classes) which is being built by my build provider.
For instance I have a build provider which injects classes based on some configuration. Say MyNameSpace.MyClass. When this…

humblecoder
- 499
- 2
- 5
- 15
0
votes
1 answer
Alternatives to Using BuildProviders with Web Applications
I've read that you cannot use a BuildProvider with Web Applications in Visual Studio (or more specifically, you can use it, but your code isn't part of the project)
Are there any other ways to generate code on the fly using a Web Application…

hugoware
- 35,731
- 24
- 60
- 70
0
votes
1 answer
what does AWS CodePipeline build provider do?
I am beginner at using AWS .so i want to ask some questions about CodePipeline.
so all i know about CodePipeline ,that i can connect it to github repo to let my app updated automatically ... then when i am doing the steps something called build…

Zeyad Alaa Eldin
- 9
- 1
- 5
0
votes
1 answer
URL Routing in ASP.Net for non aspx file extensions
I'm trying to Use URL Routing in ASP.Net for non aspx file extensions
As i started playing around with asp.net my code got messy and was structured in alot of folders
To hide my Directory paths and get meaningful comprimated URLS i used
URL Routing…

Paul Pascher
- 317
- 2
- 14
0
votes
1 answer
BuildProvider: Is it possible to specify the name of the assembly to be generated?
I created a custom virtual path provider and build provider and was wondering if it was possible to somehow specify the name of the assembly that get's generated, rather then letting asp.net come up with a name?

epitka
- 17,275
- 20
- 88
- 141
0
votes
1 answer
How to test a BuildProvider
I have created a simple BuildProvider as a starting point, and althogh I get no errors, I don't have access to the generated class either. In fact, i don't know if my BuildProvider was even invoked. Is there a way to debug a BuildProvider? How do I…

Michiel van Oosterhout
- 22,839
- 15
- 90
- 132