Compare commits

...

1 Commits
master ... main

Author SHA1 Message Date
008e22709a Initial Commit 2025-11-28 08:21:18 +01:00
4 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@ name: default
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:9.0
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- dotnet build --configuration Release SlucovaniRozpisek.csproj
@ -11,7 +11,7 @@ steps:
image: git.ivasoft.cz/sw/docker-wine-dotnet
commands:
- wine tlbexp.exe bin/Release/net472/SlucovaniRozpisek.dll /out:bin/Release/net472/SlucovaniRozpisek.tlb
- wine Eazfuscator.NET.exe bin/Release/net9.0-windows/SlucovaniRozpisek.dll -k key.snk -n --newline-flush
- wine Eazfuscator.NET.exe bin/Release/net10.0-windows/SlucovaniRozpisek.dll -k key.snk -n --newline-flush
# HACK Second build is success as first invocation fails
# dotnet exec <wix.dll> msi validate <path to SpravceDS.msi
# with error

View File

@ -15,8 +15,8 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<!--Variable for SlucovaniRozpisek Directory-->
<?define SlucovaniRozpisek_TargetDir=bin/Release/net9.0-windows/?>
<?define SlucovaniRozpisek_AdditionalTargetDir=bin/Release/net9.0-windows/de/?>
<?define SlucovaniRozpisek_TargetDir=bin/Release/net10.0-windows/?>
<?define SlucovaniRozpisek_AdditionalTargetDir=bin/Release/net10.0-windows/de/?>
<?define SlucovaniRozpisek_tlbDir=bin/Release/net472/?>
<!-- Versions for binaries -->

View File

@ -1,6 +1,6 @@
<Project Sdk="WixToolset.Sdk/5.0.1">
<PropertyGroup>
<TargetFrameworks>net9.0-windows</TargetFrameworks>
<TargetFrameworks>net10.0-windows</TargetFrameworks>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
@ -18,12 +18,12 @@
<SuppressValidation>true</SuppressValidation>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug\net9.0-windows</OutputPath>
<OutputPath>bin\Debug\net10.0-windows</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>Debug;</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release\net9.0-windows</OutputPath>
<OutputPath>bin\Release\net10.0-windows</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>
</DefineConstants>

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<OutputType Condition="$(TargetFramework.StartsWith('net4'))">Library</OutputType>
<TargetFrameworks>net9.0-windows;net472</TargetFrameworks>
<TargetFrameworks>net10.0-windows;net472</TargetFrameworks>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<RootNamespace>SlucovaniRozpisek</RootNamespace>
<Nullable>enable</Nullable>