Buenas tardes al momento de aplicar winlicence a mi aplicacion.exe se genera correctamente. El detalle esta que al momento de ejecutar la aplicacion generada me marca el siguiente error. Mi aplicacion esta realizada en c#.net.
Estoy utilizando la version de winlicence 2.4
No se puede generar una clase temporal (result=1).
error CS0009: No se puede abrir el archivo de metadatos 'c:\Users\Desktop\soft\prueba.exe' -- 'Se ha intentado cargar un programa con un formato incorrecto. '
A que se debera. Alguien a tenido el mismo problema?. Gracias.
Aqui cacho el error
try
{
servicio_php.miservicioweb cJef = new servicio_php.miservicioweb();
}
Anexo codigo
namespace dasBoard.servicio_php {
using System;
using System.Web.Services;
using System.Diagnostics;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
using System.ComponentModel;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3056.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="miserviciowebBinding", Namespace="http://sistemajef.x10.mx/wsoft")]
public partial class miservicioweb : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback enviar_respuestaOperationCompleted;
private System.Threading.SendOrPostCallback registrar_datosOperationCompleted;
private System.Threading.SendOrPostCallback buscar_datosOperationCompleted;
private System.Threading.SendOrPostCallback buscar_idsOperationCompleted;
private System.Threading.SendOrPostCallback mostrar_datos_cedulaOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public miservicioweb() {
this.Url = global::dasBoard.Properties.Settings.Default.dasBoard_servicio_php_miservicioweb;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}