Error Microsoft SharePoint is not supported in 32-bit process

Error An unhandled exception of type 'System.PlatformNotSupportedException' occurred in Microsoft.SharePoint.dll Additional information: Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable. Explicación Se trata de un proyecto que se esta ejecutando en modo 32 bits y la librería de SharePoint no está soportada, debe ser en …

Sigue leyendo Error Microsoft SharePoint is not supported in 32-bit process

Firmar DLLs (Microsoft IL Disassembler-Assembler)

Debemos crear un fichero BAT (.bat) en la misma ruta de la DLL que queremos firmar. DEL .\SIGNED_LIBRARY.* /F "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\ildasm.exe" .\LIBRARY.dll /output:.\SIGNED_LIBRARY.il "C:\Windows\Microsoft.NET\Framework\v2.0.50727\ilasm.exe" .\SIGNED_LIBRARY.il /dll /key=.\LIBRARY_KEY.snk /output=.\SIGNED_LIBRARY.dll PAUSE LIBRARY = Nombre de la DLL SIGNED_LIBRARY = Nombre de la DLL firmada LIBRARY_KEY = Key que usaremos para firmar la librería (La podéis …

Sigue leyendo Firmar DLLs (Microsoft IL Disassembler-Assembler)

Recuperar ficheros .package en Visual Studio con TFS (9 Pasos)

Si tenemos nuestro código en Visual Studio utilizando TFS puede ocurrir lo siguiente: De repente he perdido el fichero "Package.package" de mi proyecto, pero si entro en el TFS sigue estando. Solución: 1. Abrimos el Team Explorer en Visual Studio y conectamos con nuestro TFS. 2. Vamos a Source Control Explorer. 3. Navegamos hasta el …

Sigue leyendo Recuperar ficheros .package en Visual Studio con TFS (9 Pasos)

Borrar DLL de la GAC

El método correcto de borrar DLLs de la GAC es el siguiente: 1. Abrimos la consola de Visual Studio (Developer Command Prompt for VS2013 en el caso de Visual Studio 2013). 2. Navegamos hasta el directorio donde están nuestras DLL (cd C:WindowsMicrosoft .NETassemblyGAC_MSIL). 3. Ejecutamos el siguiente comando: gacutil -u NOMBRE_DE_MI_DLL Ejemplo (Borrar la DLL …

Sigue leyendo Borrar DLL de la GAC

Add WebService to my project (ASMX + CS) in Visual Studio

I've never found on my Visual Studio an option to directly add a new WebService file so I looked for a solution and I got this one, I hope it'll help you:1. From anywhere in your Solution Explorer (where you want to add the WebService), create a "New Item".2. In the "New Item" Window, select …

Sigue leyendo Add WebService to my project (ASMX + CS) in Visual Studio

Find Public Key Token of my Project in Visual Studio 2012

In order to find the public key token of your project you need to follow this: 1. Open the Developer Command Prompt fot VS2012. 2. Write this command (Use full path of your DLL file): sn -T C:MyDLLdirectoryMyDLLfile.dll 3. Automatically it shows you your token: Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.17929 Copyright …

Sigue leyendo Find Public Key Token of my Project in Visual Studio 2012