Setup Development for NETBase
Purpose
This guide is used to set up a computer to work on the NETBase.
Prerequisites
-
VS Workloads: ASP.NET, Azure, Node.js, Mobile dev., .NET Desktop, Desktopdev. w/ C++, Dev. for universal Windows, Visual Studio Ext., Office Dev. (ALL workloads from remos config)
-
VS Plugins: Resharper
From dotUltimate, download webinstaller. Then install: ReSharper, ReSharper C++, Rider, dotTrace, dotCover, dotMemory, dotPeek.
Login with account
extensions, resharper, options, manage, this computer +, netbase/src/osisa.dotSettings
OR New because of license: after installing vs code workloads:
-
ensure dotnet sdk from global json install + all workloads and manifest
-
install aspire cli (attention to version matching our, not newest)
-
isntall jetbrains rider
-
powershell:
-
mkdir C:/tools/dotnet
choco install ruby
gem install asciidoctor
install same .NET SDK as in NETBase / global.json
Start-Process powershell -Verb runAs -ArgumentList "-NoExit [System.Environment]::SetEnvironmentVariable('DOTNET_ENVIRONMENT','Development',[System.EnvironmentVariableTarget]::Machine); exit"; refreshenv
Start-Process powershell -Verb runAs -ArgumentList "-NoExit [System.Environment]::SetEnvironmentVariable('MSBuildEnableWorkloadResolver','true',[System.EnvironmentVariableTarget]::Machine); exit"; refreshenv
Start-Process powershell -Verb runAs -ArgumentList "-NoExit [System.Environment]::SetEnvironmentVariable('MSDOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLE','false',[System.EnvironmentVariableTarget]::Machine); exit"; refreshenv
Start-Process powershell -Verb runAs -ArgumentList "-NoExit [System.Environment]::SetEnvironmentVariable('GITVERSION_EXE','C:\tools\dotnet\dotnet-gitversion.exe',[System.EnvironmentVariableTarget]::Machine); exit"; refreshenv
Get from Keepass DB "USER_SECRETS_ENV_TEMPLATE.ps1", modify with your credentials (replace the TODOS) and run it as admin.
dotnet nuget add source --name nuget.org "https://api.nuget.org/v3/index.json"
dotnet nuget add source --name github "https://nuget.pkg.github.com/osisa/index.json" -u YOUREMAIL -p YOURPAT --store-password-in-clear-text
dotnet tool install --global GitVersion.Tool --version 6.4.0 ; dotnet tool install --tool-path C:\tools\dotnet GitVersion.Tool --version 6.4.0
dotnet tool install --global netbase.build ; dotnet tool install --tool-path C:\tools\dotnet netbase.build
# go inside netbase repo where nuget.exe is and run
./nuget setapikey YOURPAT -source https://nuget.pkg.github.com/osisa/index.json
Ensure Service: 'SQL Server VSS Writer' is running
Run the installer in: $NETBaseRepo / src / osisa.EFCore.Repositories.Jet / docs / AccessDatabaseEngine_X64.exe - Leave install location as: C:\Program Files\Microsoft Office\
Copy the C:\osisaTest Directory to your local machine
Check out "invoices / invoices.adoc"
-
Ability to compile NETBase and NETSetup without Error. Proof:
-
Enter Email in Readme of NETBase/ModelFeature and check in. This runs GitAction
-
Compile locally with DotNET Nuke. powershell:
netbase-build build --solution src/osisa.test.sln
-
infragistics:
"Dropbox (osisa)\NETSetup\Software\Development\Visual Studio 2013 Ultimate\packages\Silverlight\5.0_SDK\silverlight_sdk.msi"
"Dropbox (osisa)\NETSetup\Software\System Center\2016\Configuration Manager\prerequisites\Silverlight.exe"
also install with choco, infoniqa (production version for osisa careful), asciidoctor via gem, plantuml, putty, netscan, vscode,
docker desktop with containers type linux
wsl ubuntu newest and wsl distro NixOS from Dropbox .wsl image
claude-code install and desktop