Skip to content

Commit

Permalink
Merge pull request #7 from pboyd04/BuildAction
Browse files Browse the repository at this point in the history
Create dotnet-desktop.yml
  • Loading branch information
pboyd04 authored Mar 30, 2022
2 parents 7a94ce6 + a3b284b commit 7b7fbe8
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest
env:
Solution_Name: Moto.Net.sln
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Restore Packages
run: nuget restore $env:Solution_Name
- name: Use NoXNL app.config with default settings
run: copy .\MotoMond\App.config.noxnl .\MotoMond\App.config
- name: Build
run: msbuild $env:Solution_Name /p:platform="Any CPU" /p:configuration="${{ matrix.configuration }}"
45 changes: 45 additions & 0 deletions MotoMond/App.config.noxnl
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="dbConnectionString" value="server=localhost;userid=root;password=admin;database=radios" />
<add key="systemId" value="65000" />
<add key="systemType" value="CapacityPlus" />
<!--
Create these values if you want to use the built in XNL encrypting
<add key="XNLConst1" value="0" />
<add key="XNLConst2" value="0" />
<add key="XNLConst3" value="0" />
<add key="XNLConst4" value="0" />
<add key="XNLConst5" value="0" />
<add key="XNLConst6" value="0" />
<add key="XNLControlConst1" value="0" />
<add key="XNLControlConst2" value="0" />
<add key="XNLControlConst3" value="0" />
<add key="XNLControlConst4" value="0" />
<add key="XNLControlConst5" value="0" />
<add key="XNLControlConst6" value="0" />-->
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

0 comments on commit 7b7fbe8

Please sign in to comment.