Skip to content

Commit

Permalink
Common package build
Browse files Browse the repository at this point in the history
  • Loading branch information
strawberryfield committed Dec 17, 2023
1 parent 8d57e11 commit f41ebd1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Common/README.md
Expand Up @@ -90,7 +90,7 @@ having to manually add pages and images, I forgot to insert references
for the cut.

So I dusted off ImageMagick, but instead of driving it in javascript
I decided to take advantage of the brand new Net 6.0
I decided to take advantage of the brand new Net 6.0 (and from december 2023 also Net 8.0)
and the Magick.NET library which already incorporates
ImageMagick and therefore allows you to create ready-to-use executables.

Expand Down Expand Up @@ -230,15 +230,15 @@ to help in writing and testing custom scripts

### .net

The library is compiled for .net 6.0
The library is compiled for .net 6.0 and .net 8.0

### Packages

The following packages are required:

- Microsoft.CodeAnalysis.Common Version >= 4.5.0
- Magick.NET-Q16-AnyCPU Version >= 12.3.0
- Magick.NET.SystemWindowsMedia >= 6.1.3
- Microsoft.CodeAnalysis.CSharp Version >= 4.5.0
- Microsoft.CodeAnalysis.Common Version >= 4.8.0
- Magick.NET-Q16-AnyCPU Version >= 13.5.0
- Magick.NET.SystemWindowsMedia >= 7.2.1
- Microsoft.CodeAnalysis.CSharp Version >= 4.8.0
- Mono.Options Version >= 6.12.0.148
- Casasoft.Xaml.Controls >= 22.4.13
2 changes: 1 addition & 1 deletion Contemporary_CDV.sln
Expand Up @@ -55,7 +55,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{BE17CE64-B
docs\Scatola.1 = docs\Scatola.1
EndProjectSection
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "WindowsInstaller", "WindowsInstaller\WindowsInstaller.wixproj", "{D1091528-75F5-4E8A-A081-80409EB09361}"
Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "WindowsInstaller", "WindowsInstaller\WindowsInstaller.wixproj", "{D1091528-75F5-4E8A-A081-80409EB09361}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test", "Test", "{9D6B5EF5-AD86-4F3A-BC04-F5AED9993F3B}"
ProjectSection(SolutionItems) = preProject
Expand Down
11 changes: 10 additions & 1 deletion build_tools/publish.cmd
Expand Up @@ -33,7 +33,13 @@ set winrar="C:\Program Files\WinRAR\winrar.exe"
set version=23.12.17

@del /S /Q %build%
@del /S /Q %bin%\build\
@del /Q %bin%%pkgname%*.*

set prj=Common
@dotnet build -c Release -o %build% -p:version="%version%" %repo%%prj%\%prj%.csproj
@copy %bin%build\*.nupkg %bin%

set prj=Cartella
@dotnet publish -c Release -o %build% -p:version="%version%" --no-self-contained %repo%%prj%\%prj%.csproj
set prj=CreditCard
Expand Down Expand Up @@ -88,4 +94,7 @@ wix build ^
%repo%WindowsInstaller\product.wxs

dotnet pack %repo%Templates\ScriptTestTemplatesPack.csproj -p:PackageVersion=%version%
dotnet pack %repo%ProjectTemplate\CCDV_ProjectTemplate.csproj -p:PackageVersion=%version%
dotnet pack %repo%ProjectTemplate\CCDV_ProjectTemplate.csproj -p:PackageVersion=%version%

rem only for debug
:end

0 comments on commit f41ebd1

Please sign in to comment.