A través de la terminal de VS Code debemos navegar a la carpeta donde esta situado el proyecto en el que queremos añadir el paquete Nuget. Una vez ahí, ejecutamos: dotnet add package Newtonsoft.Json Nota: Debéis instalar la extension de C# para VS Code. Mas información aquí: https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio-code
Etiqueta: Project
Your web part will not appear in the toolbox. Please make sure «gulp serve» is running in a web part project. Please refresh the page once «gulp serve» is running.
Error: Your web part will not appear in the toolbox. Please make sure "gulp serve" is running in a web part project. Please refresh the page once "gulp serve" is running. Este error suele aparecer la primera vez que intentamos probar nuestra solución SPFx. La mayoría de las veces ocurre porque no hemos instalado el …
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
Project Professional: Get Current Project Resource Rates with VBA
You can obtain the Current Project Resource Rates by the following code in Visual Basic for Applications: Public Sub UpdateCostRates() Dim ProjectName As Project Set ProjectName = ActiveProject Dim N As Assignment Dim Names As String For Each T In ProjectName.Tasks For Each I In T.Resources For Each P In I.Assignments Set N = P …
Sigue leyendo Project Professional: Get Current Project Resource Rates with VBA
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 …
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' …