Questions tagged [aspnet-compiler]

165 questions
0
votes
1 answer

Unable to bind model in ajax.beginform() or ajax.actionLink() postback

when I am posting the form back using Ajax.ActionLink() I am getting null values for all the properties. I have also tried the same using @ajax.beginform(). But i ended up with an error "Unexpected token u" in the console. Please help. My class goes…
0
votes
1 answer

Precompile an ASP.NET application - i am getting Errors

When i build my project targeting .NET 4.0 in visual Studio 2010, i get the following Warning but with no any other error or warning, so the projects runs. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning…
StackTrace
  • 9,190
  • 36
  • 114
  • 202
0
votes
1 answer

asp.net pages can use class library but site won't compile

I am using VS2012 Update 3 and have a solution containing three visual basic projects a class library, a conosole app, and an IIS website. The website has a reference to the library project. The library compiles fine and automatically places the…
eric1825
  • 405
  • 3
  • 13
0
votes
1 answer

ASP.global_asax is missing from compiled Assembly

I am using aspnet___compiler.exe to compile my asp.net 3.5SP1 websites, then aspnet_merge.exe to merge the assemblies into a single one. The assembly is then uploaded to the production server. This usually works pretty well but sometimes when…
Peter Hahndorf
  • 10,767
  • 4
  • 42
  • 58
0
votes
1 answer

ASP_Merge resulting dll Default Namespace

I'm trying to merge all my aspx and ascx in a single dll with ASP_Merge.exe... it is working, and i did create the dll. My problem is, this merger creates a default namespace with the name "ASP" and inside are all the compiled ascx and aspx. What i…
Juanda
  • 49
  • 1
  • 9
0
votes
2 answers

aspnet_compiler can not see my class

I have a web application project, which compiles fine using VS2008. However each time, I try to compile it with aspnet_compiler it fails and is not able to see my class, which I have placed in my code folder. Why is the aspnet_compiler not able to…
vikasde
  • 5,681
  • 10
  • 45
  • 62
0
votes
1 answer

How can I compile a C# solution without involving Visual Studio?

I'm someone who does not particularly like Visual Studio at all and would much, much rather use my highly configured gvim to edit code than be fenced into an IDE. As such, I'm aiming for a way to compile C# code for web applications without the need…
user798080
0
votes
2 answers

Error running aspnet_compiler on websites user controls

My builds and runs fine in Visual Studio, however when I run a Nant task to compile the website, it gives me an error: [path]\ContactView.ascx error CS0117: 'System.Web.UI.Usercontrol' does not contain a definition for 'Name' I have a…
Brandon
  • 68,708
  • 30
  • 194
  • 223
0
votes
3 answers

ASP.NET Compilation And Code Visibility

How ASP.NET compiles its assemblies generally confuses me. It seems that I cannot program against anything outside the App_Code folder. In the application I am working on I have several server side controls and a few user controls. The user controls…
smaclell
  • 4,568
  • 7
  • 41
  • 49
0
votes
1 answer

asp.net localized resources dll not created in temporary asp.net internet files

We are storing our localized resources in a separate assembly from our web application. After using xcopy deployment to our web server, the localized satellite resources.dll files are not being generated (in temporary asp.net files) by the…
0
votes
2 answers

MVC3 .Net precompile issue in IIS 6

I have an MVC3 C# .Net web app and I am running aspnet_compiler on my app in order to precompile. I am running this command: aspnet_compiler -v /dev/boe Boe is the app in the dev structure under "Default Web Site". The above command is producing…
MikeTWebb
  • 9,149
  • 25
  • 93
  • 132
0
votes
1 answer

Compile ascx files into DLL at runtime

In our ASP.NET application we allow other developers to write asp.net code and we compile their code into in-memory dll. As part of this we would like to be able to compile ASCX controls into DLL at runtime and then later on load them into Aspx…
sam360
  • 1,121
  • 3
  • 18
  • 37
0
votes
1 answer

aspnet_merge causing dll not found error

I use aspnet_compiler to precompile an asp.net website. Then, I run aspnet_merge to merge the precompiled assemblies into one. Unfortunately, aspnet_merge does not include one of the assemblies in its merge process. Therefore, this assembly…
Ben Schwehn
  • 4,505
  • 1
  • 27
  • 45
0
votes
2 answers

.NET Compiler Output

I'm attempting to resolve source problems and I'm attempting to figure out which version is which. The other problem I'm running into is the output the .NET compiler generates is very unintelligible and a little frustrating. In my bin folder i…
Chris
  • 6,702
  • 8
  • 44
  • 60
-1
votes
1 answer

Aspnet Core Action request fails but everything works

Why does the request fail even if everything works correctly? public async Task DeleteUser(String Cod) { var User = await _context.AwsmAppusers.AsNoTracking().SingleOrDefaultAsync(m => m.Username == Cod); if (User == null) { …
Cristian
  • 43
  • 8
1 2 3
10
11