Este error aparece tras algún fallo en la instalacion de software en Web Platform Installer. Solución: Borrar en el navegador (sí, en el navegador) caché, ficheros temporales, etc... y volver a abrir el Web Platform Installer.
Categoría: Visual Studio
Cambiar el nombre de un WSP
En Visual Studio vamos al Solution Explorer y localizamos dentro de nuestro proyecto de SharePoint la carpeta Package. Dentro hacemos doble click en Package.package, se nos abrira una ventana con la información. En la pestaña "Design" vemos el campo "Name" que es el que aparecera al publicar el WSP y el que debemos cambiar.
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)
Añadir NuGet en Visual Studio 2010
Visual Studio 2010 -> Tools -> Extension Manager... -> Online Gallery -> NuGet Package Manager Paso a paso: Abrimos Visual Studio 2010. En el menú superior, vamos a Tools. Abrimos Extension Manager. En el menú de la izquierda vamos a Online Gallery (Puede tardar un poco en cargar). Utilizamos el buscador de la derecha (si …
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 …
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
Force TFS Check-In / Undo in TFS 2012
Sometimes we could have some problems to access to a specific machine where we have some of our code checked out. Maybe the person who was programming those files left, or maybe for some reason we lost connection with that environment. That's when we have to force TFS to check-in the files, or if we …