Questions tagged [aspnet-merge]

20 questions
6
votes
2 answers

Are there size limitations to the .NET Assembly format?

We ran into an interesting issue that I've not experienced before. We have a large scale production ASP.NET 3.5 SP1 Web App Project in Visual Studio 2008 SP1 which gets compiled and deployed using a Website Deployment Project. Everything has…
mckamey
  • 17,359
  • 16
  • 83
  • 116
5
votes
2 answers

“Bad binary signature” in ASP.NET MVC application

I'm experiencing the same issue reported here: "Bad binary signature" in ASP.NET MVC application The ASP.Net MVC site works fine on the local machine, but when deployed using a combination of aspnet_compiler, aspnet_merge, and msdeploy, loading any…
Daniel Crowe
  • 321
  • 3
  • 9
4
votes
0 answers

Web Deployment Project - specify version of aspnet_merge to use

we are having some problems with our WDP, which is deploying a ASP.NET 4.0 site. It seems to all go fine but when its deployed we are getting the System.BadImageFormatException: Bad binary signature. (Exception from HRESULT: 0x80131192) error, when…
nat
  • 2,185
  • 5
  • 32
  • 64
2
votes
0 answers

installing aspnet_merge.exe on build machine without visual studio installed

The new aspnet_merge 5.00 beta is only installable from nugget. to install on our build machine that doesn't have visual studio I want to use nugget.exe directly to get the package. Anyone know if I can just replace the .EXE in the windows SDK ? I…
MikeJ
  • 14,430
  • 21
  • 71
  • 87
2
votes
1 answer

TFS The process cannot access the file because it is being used by another process

I have created an automated build process using TFS which builds a web application. As part of this process a batch file is used to call ASP Merge to merge my web pages into one dll. I'm using the TFS activity, Invoke Process to do this. The…
2
votes
2 answers

Duplicate type 'master' found in assembly

Previously, we were on .net 2.0 and aspnet_merge build was working fine. Now after upgrading to .net 4.0, when we are trying to build our code using aspnet_merge, it throws following error Duplicate type 'master' found in assembly. It is a master…
1
vote
1 answer

Tricky problem with ASP.NET web forms resources and localization

I've got the following nonstandard setup (VS2008, .NET 3.5 SP1): There is a main web project called MainSite and There are several "plugin" web projects with different names. When building these plugins I have a custom build step that calls…
Vilx-
  • 104,512
  • 87
  • 279
  • 422
1
vote
1 answer

ASP.Net Web Deployment Project Merge Errors

I get this error: Duplicate type 'powerstats_Admin_control' found in assembly 'App_Web_ssek9ymk'. aspnet_merge 1 1 Release3 I know that its unique to my system but how do I fix it? What does it…
cdub
  • 24,555
  • 57
  • 174
  • 303
1
vote
1 answer

OutOfMemoryException from aspnet_merge when trying to publish WebSite as single DLL

I thought this was going to be a simple thing to fix, but after trying several solutions I found on Google (clearing temp for the system, running build through 64-bit IIS Express, and building in release mode instead of debug), I'm still getting the…
1
vote
1 answer

aspnet_merge(0,0): Error occurred: An error occurred when merging assemblies: Unresolved assembly reference not allowed: [Custom.Assembly]

I'm a long time Stack Overflow lurker, and this is my first question so please go easy on me. I develop custom eCommerce ASP.NET Web Forms applications, and during publishing we merge all outputs to a single assembly. I've been scouring the web…
Ryan Boken
  • 453
  • 4
  • 11
1
vote
1 answer

Getting aspnet_merge error after converting VS 2008 project to VS 2010

I am getting an error "aspnet_merge: error 1023: The assemblies cannot be merged because some assemblies have inconsistent attributes: System.Runtime.CompilerServices.ExtensionAttribute. Use -a option to force merge. Use -allowattrs to specify the…
0
votes
1 answer

Can you precompile and merge part of an ASP.NET website and then continue development?

A big part of the web site is precompiled and merged, since it's almost never going to change. The precompiled bits can be replaced in case of updates to the original. I want to continue development of new pages, but when I browse to a new page I…
Michiel van Oosterhout
  • 22,839
  • 15
  • 90
  • 132
0
votes
1 answer

Visual Studio - aspnet_merge.exe error when publishing

I've had this issue over VS 2015, 2017 and 2019, so I believe this is not specific to my setup. aspnet_merge(0,0): Error occurred: An error occurred when merging assemblies: Object reference not set to an instance of an object This happens after the…
Aleks
  • 1
0
votes
1 answer

aspnet_merge single assembly not using latest DLL code

I have a web site created in VS2010 that I merge into a single assembly using aspnet_merge. I recently made a small change to one of the compiled ascx pages, but the merged single assembly doesn't reflect that change. To test further, I manually…
0
votes
2 answers

AspNetMerge Task using MSBuild 2015

I'm migrating a project in Visual Studio 2010 up to use newer 2015 tooling and have no idea how to solve this one. During the build via TeamCity on a new build agent with Visual Studio 2015 installed, the following error occurs: error MSB4062: The…
GlacialSpoon
  • 277
  • 3
  • 13
1
2