VB Web App解决方案中的C#程序集

时间:2015-01-07 19:19:44

标签: c# .net vb.net jenkins .net-assembly

我有一个用C#编写的程序集,并作为项目添加到VB(Framework 4.5)Web App解决方案中。一切都在本地很好用,但是当Jenkins构建sln时,它永远不会将我的DLL部署到bin。有任何想法吗?我的程序集被标记为依赖项,Copy Local为True。

当它在DEV(使用Jenkins)中构建并且我转到引用它的页面时,我得到了这个:

Parser Error Message: Could not load file or assembly 'TronixUIControls' or one of its dependencies. The system cannot find the file specified.

Source Error: 


Line 3:  <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="ajaxasp" %>
Line 4:  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
Line 5:  <%@ Register Assembly="TronixUIControls" Namespace="CustomButtons" TagPrefix="btb" %>
Line 6:  
Line 7:  <asp:Content ID="Content2" ContentPlaceHolderID="SubHeader" Runat="Server"> 

Source File: /Contract/ContractLookup.aspx    Line: 5 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'TronixUIControls' could not be loaded.


=== Pre-bind state information ===
LOG: User = NT AUTHORITY\LOCAL SERVICE
LOG: DisplayName = TronixUIControls
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: TronixUIControls | Domain ID: 3
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/inetpub/wwwroot/TRONIX/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\TRONIX\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\TRONIX\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

0 个答案:

没有答案