File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 43
43
</Target >
44
44
<Target Name =" BeforeBuild" >
45
45
<!-- Fetch the assembly version from the built file. -->
46
- <GetAssemblyIdentity AssemblyFiles =" ..\VDrumExplorer.Gui\bin\$(Configuration)\net472 \VDrumExplorer.Gui.exe" >
46
+ <GetAssemblyIdentity AssemblyFiles =" ..\VDrumExplorer.Gui\bin\$(Configuration)\net48 \VDrumExplorer.Gui.exe" >
47
47
<Output TaskParameter =" Assemblies" ItemName =" AssemblyVersion" />
48
48
</GetAssemblyIdentity >
49
49
<!-- Take the assembly version from the result of the above. -->
50
50
<PropertyGroup >
51
- <DefineConstants >BuildVersion=%(AssemblyVersion.Version);BasePath=..\VDrumExplorer.Gui\bin\$(Configuration)\net472 </DefineConstants >
51
+ <DefineConstants >BuildVersion=%(AssemblyVersion.Version);BasePath=..\VDrumExplorer.Gui\bin\$(Configuration)\net48 </DefineConstants >
52
52
</PropertyGroup >
53
53
<!-- Generate components for all files -->
54
- <HeatDirectory OutputFile =" ComponentsGenerated.wxs" DirectoryRefId =" INSTALLFOLDER" ComponentGroupName =" PublishedComponents" SuppressCom =" true" Directory =" ..\VDrumExplorer.Gui\bin\$(Configuration)\net472 " SuppressFragments =" true" SuppressRegistry =" true" SuppressRootDirectory =" true" AutoGenerateGuids =" false" GenerateGuidsNow =" true" ToolPath =" $(WixToolPath)" PreprocessorVariable =" var.BasePath" />
54
+ <HeatDirectory OutputFile =" ComponentsGenerated.wxs" DirectoryRefId =" INSTALLFOLDER" ComponentGroupName =" PublishedComponents" SuppressCom =" true" Directory =" ..\VDrumExplorer.Gui\bin\$(Configuration)\net48 " SuppressFragments =" true" SuppressRegistry =" true" SuppressRootDirectory =" true" AutoGenerateGuids =" false" GenerateGuidsNow =" true" ToolPath =" $(WixToolPath)" PreprocessorVariable =" var.BasePath" />
55
55
</Target >
56
56
<Target Name =" AfterBuild" >
57
57
</Target >
Original file line number Diff line number Diff line change 17
17
# Build executables
18
18
dotnet build -c Release -v quiet VDrumExplorer.Gui
19
19
# Sign executable in-place
20
- signtool sign -a -fd SHA256 -f $PFX_PATH -p $PFX_PASSWORD -t http://timestamp.comodoca.com/authenticode VDrumExplorer.Gui/bin/Release/net472 /VDrumExplorer.Gui.exe
20
+ signtool sign -a -fd SHA256 -f $PFX_PATH -p $PFX_PASSWORD -t http://timestamp.comodoca.com/authenticode VDrumExplorer.Gui/bin/Release/net48 /VDrumExplorer.Gui.exe
21
21
22
22
version=$( grep \< Version\> VDrumExplorer.Gui/VDrumExplorer.Gui.csproj | sed s/\< [^\> ]* \> //g | sed ' s/ //g' )
23
23
30
30
# Desktop
31
31
release_dir=VDrumExplorer-$version
32
32
mkdir $release_dir
33
- cp ../VDrumExplorer.Gui/bin/Release/net472 /* $release_dir
33
+ cp ../VDrumExplorer.Gui/bin/Release/net48 /* $release_dir
34
34
cp ../td17.vdrum $release_dir
35
35
cp ../LICENSE* $release_dir
36
36
cp ../README.md $release_dir
You can’t perform that action at this time.
0 commit comments