-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* NetCore: added integration of the NET-Core setup project with NET-Fx UI projectVS infrastructure. * Issue #1464: Installer crashes when using custom UIs with Features * Issue #1460: Add -sw1026 to default Wix4 argument options? * Added `Compiler.SuppressAotWarnings` property * Issue #1459: ShortCut Icon Tooltip
- Loading branch information
1 parent
ff9528d
commit 776b5d8
Showing
13 changed files
with
111 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
//css_args | ||
using System.Threading.Tasks; | ||
using System.Threading; | ||
using System; | ||
using System.Diagnostics; | ||
|
||
// using System.Windows.Forms; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Reflection; | ||
using System.Text; | ||
|
||
class app | ||
{ | ||
static void Main() | ||
{ | ||
string version = File.ReadAllLines(@".\..\src\WixSharp\Properties\AssemblyInfo.version.cs") | ||
.First(x => x.Contains("[assembly: AssemblyFileVersion")) | ||
.Split('"')[1]; | ||
|
||
Console.WriteLine("Current Release: " + version); | ||
|
||
version = string.Join(".", version.Split('.').Take(3).ToArray()); | ||
|
||
Console.WriteLine("NuGet: " + version); | ||
patch_proj_file(@".\..\src\NET-Core\WixSharp.Core\WixSharp.Core.csproj", version); | ||
patch_proj_file(@".\..\src\NET-Core\WixSharp.Msi.Core\WixSharp.Msi.Core.csproj", version); | ||
} | ||
|
||
static void patch_proj_file(string file, string version) | ||
{ | ||
var lines = File.ReadAllLines(file).Select(x => | ||
{ | ||
if (x.Contains("<PackageVersion>")) | ||
return " <PackageVersion>" + version + "</PackageVersion>"; | ||
else | ||
return x; | ||
}).ToArray(); | ||
File.WriteAllLines(file, lines); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.