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

Windows Server 2012: Configure Active Directory in 14 Steps

1. Add Role from Server Manager 2. Role-based or feature-based installation 3. Select a server from the server pool 4. Select Active Directory Domain Services and DNS Server. 5. Once installed, from Notifications Menu, select Promote this server to a domain controller 6. Add a new Forest 7. Write a password 8. Next 9. Check …

Sigue leyendo Windows Server 2012: Configure Active Directory in 14 Steps

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

SharePoint 2013 + Visual Studio 2012: File «.g.cs» dissapeared

Sometimes, when you're developing a visual web part, the designer file (with .g.cs extension) dissapears in front of your eyes. After finding nothing in the internet, we've just discovered why it is happening: You've to add the "Site URL" property in the Project properties. That's beacuse it is a web part for sharepoint, and Visual …

Sigue leyendo SharePoint 2013 + Visual Studio 2012: File «.g.cs» dissapeared

ERROR: Retrieving the COM class factory for component with CLSID {‘XXX…’} failed due to the following error: 80040154

ERROR Retrieving the COM class factory for component with CLSID {'XXX...'} failed due to the following error: 80040154. CAUSE You're trying to build your project in x86 and you've to do it in x64. SOLUTION 1. Go To Your Project Properties. 2. Select 'Build' (Left Tabs). 3. Change the property 'Platform Target' to 'Any CPU' …

Sigue leyendo ERROR: Retrieving the COM class factory for component with CLSID {‘XXX…’} failed due to the following error: 80040154