fix(codegen): Fixes codegen on VS2019 (#629)
- [X] Fixes code gen on VS2019 - [X] Fixes schema generator not iterating through all nodes - [X] Fixes errors with building the actual code gen
This commit is contained in:
parent
b6779a7c09
commit
ac3958a0b8
13 changed files with 198 additions and 45 deletions
|
|
@ -27,11 +27,14 @@ if [[ $os == *'centos'* || $os == *'rhel'* ]]; then
|
|||
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
|
||||
fi
|
||||
|
||||
echo dotnet clean --verbosity quiet
|
||||
dotnet clean --verbosity quiet
|
||||
echo dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
|
||||
echo dotnet publish ${config} ${os} --no-restore --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.csproj
|
||||
dotnet publish ${config} ${os} --no-restore --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.csproj
|
||||
|
||||
echo dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||
dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||
echo Generating serialization schemas
|
||||
|
|
@ -57,11 +60,14 @@ IF "%~2" == "" (
|
|||
SET os=-r %~2-x64
|
||||
)
|
||||
|
||||
echo dotnet clean --verbosity quiet
|
||||
dotnet clean --verbosity quiet
|
||||
echo dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
|
||||
echo dotnet publish %config% %os% --no-restore --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.csproj
|
||||
dotnet publish %config% %os% --no-restore --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.csproj
|
||||
|
||||
echo dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||
dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||
echo Generating serialization schemas
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue