Skip to content

Instantly share code, notes, and snippets.

@FranLsz
FranLsz / RunMultipleHoloLensEmulator.txt
Last active October 26, 2018 21:02
Direct command line to run multiple the HoloLens Emulator instances
"C:\Program Files (x86)\Microsoft XDE\10.0.17134.0\XDE.exe" /name "HoloLens Emulator 10.0.17134.0.fran" /displayName "HoloLens Emulator 10.0.17134.0" /vhd "C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.17134.0\flash.vhd" /video "1268x720" /memsize 2048 /language 409 /creatediffdisk "C:\Users\Fran\AppData\Local\Microsoft\XDE\10.0.17134.0\dd.1268x720.2048.vhd" /fastShutdown /sku HDE
- Modify 'C:\Users\Fran' with the respective user
- Modify '10.0.17134.0' with the respective version of the emulator
- Execute the command on the CMD
- To run multiple emulator instances:
1. Copy the folder "C:\Users\Fran\AppData\Local\Microsoft\XDE\10.0.17134.0"
2. Paste on the same parent folder with different name like "10.0.17134.0.vm2"
3. Update the command line with that folder name
4. Run the command
@FranLsz
FranLsz / Deploying Extra Files
Last active July 4, 2016 20:41
Añadir en el fichero .pubxml justo antes del cierre de <Project></Project>
<Target Name="node_modules">
<ItemGroup>
<_node_modules Include="node_modules\**\*" />
<FilesForPackagingFromProject Include="%(_node_modules.Identity)">
<DestinationRelativePath>node_modules\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
</ItemGroup>
</Target>
<Target Name="js_files">
<ItemGroup>
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$url = "http://pruebassp2"
$assemblyPath = "C:\Users\ericame\Documents\Visual Studio 2015\Projects\Modelos\Modelos\bin\Debug\Modelos.dll"
$lobSystem = "Alumnos"
$serviceContext = Get-SPServiceContext $url
$lobSystem = Get-SPBusinessDataCatalogMetadataObject -ServiceContext $serviceContext -BdcObjectType lobsystem -Name $lobSystem
Import-SPBusinessDataCatalogDotNetAssembly -LobSystem $lobSystem -Path $assemblyPath