create an executable for window 10

1

I have finished one of my several projects in c# the question is that when I created the executable to install it on my final client I never thought that it had windows 10 of 64bits ... I did it in the simplest way intuitive possible with the same VS2015 do not use a tool like installshield my question is :

What should I do to make it work in win10 of 64bit ?

Well, I have the following problem when I execute it:

detail of the problem:

    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.6.79.0 built by: NETFXREL2
    Código base: file:///C:/windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Data.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.6.79.0 built by: NETFXREL2
    Código base: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.6.79.0 built by: NETFXREL2
    Código base: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.
    
asked by Gilberto Asuaje 27.11.2016 в 03:48
source

2 answers

3

I solved that problem by installing Visual Studio on Windows 10 and compiled it from there.

But according to the ScreenShot that you publish, it says that the exception is of type NullReferenceException and that type of exceptions occur when you are not trying to access an object that has not been initialized.

I recommend debugging the application on Windows 10 so you will have more precision when it comes to finding the error.

    
answered by 12.12.2016 в 21:23
1

I've never had that problem in specific but you can collect your project, you go to project properties - > Compile - > Platform destination brings 3 options "any CPU", "x86" and "x64" by default this any (I want to think that it is any processor) but you know that x86 refers to 32 bits. Personally I do not think the error because of that.

    
answered by 07.12.2016 в 00:06